{"_id":"witwip","_rev":"34-b46af0825d4e19bd10cac62f04a3ef88","name":"witwip","description":"Where in the world is package.json?","dist-tags":{"latest":"1.0.4"},"versions":{"0.0.1":{"name":"witwip","version":"0.0.1","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/mocha/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","_id":"witwip@0.0.1","dist":{"shasum":"acd3d70bcb3ac8ae66ee0767ae26e9fa4f29e1e9","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.1.tgz","integrity":"sha512-LFW8HfByP31Lk1nY54PgbTAuisup3eb7A6IGo7HUG4lBxr88nBwD7oQY8aQz0uZus6sQQMftWNkiKH8cr5QeEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfFG+tJ5MM+niwLhTlKyCbVRwPkmOGCnECHBImFrX+9gIgcwgZtzyFLfb/Pc9J3yROtUzQFHAUygKyKiuc55NUgY4="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"directories":{}},"0.0.2":{"name":"witwip","version":"0.0.2","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/mocha/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","_id":"witwip@0.0.2","dist":{"shasum":"caf9931c3cf3c68e01379d4d70d5c6bbc2ba9793","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.2.tgz","integrity":"sha512-ocEJlljEZEbARhcV+JJcORJzTcLAG0UiYtLYMI/LvG2BFzisRX2FPy3+Rv1Fo3/9pzDi9U0SiT8u4IP2vPWhVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxDz933BncNu7FHmJPhSJenBTrSu4kmWi9THqw3F9xOQIhAK+fmbsQNmqpvHpyNHSeuYENi5NrywIJmS+AjSCEV63l"}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"directories":{}},"0.0.3":{"name":"witwip","version":"0.0.3","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","_id":"witwip@0.0.3","dist":{"shasum":"8d37bbe75820eb91830494f767200a83f5746efd","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.3.tgz","integrity":"sha512-g+t8NOIPUa15US0yJVONGEyLmpdJbJQeU22z7eSP4zZZjJ4fQ861llCBXw/QbZuTEZ7nJqPdOp5gYIIbFsQRlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXGkQ7HeOT/b1S79ouiLmLyVcgfS2fnUVJ7HNPUfJIxAiEArhN5PDdlmiAurjFIT1tJlOeCNshvyRmqbl5NjTWInHc="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"directories":{}},"0.0.4":{"name":"witwip","version":"0.0.4","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@0.0.4","dist":{"shasum":"035465742a1e895897fdcbad1628a057860e5c13","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.4.tgz","integrity":"sha512-aP+LKlxMq9+9/JNPK+54j6LYVxEeei6Tn1RUetd5uJy8mrrBYD/cqu26pDjjDpHWwizzC/P8u7QOnPsepn5g5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQh5T8nCPiFAuJBzZeNcLxfSenbgD5BXtXsGDz3TDsqAIhANUFrFDDgTqWqvK+CIWEn3PXLtQDMJtyMypMIesBNJSn"}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"directories":{}},"0.0.5":{"name":"witwip","version":"0.0.5","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@0.0.5","dist":{"shasum":"86f8040f9d81dbcef14000a8854a8930d1b103b8","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.5.tgz","integrity":"sha512-CrdqdO49+zVoAGrkLIVuJFhYDvF6rykKpoxvFBnUc5yVC+vKGI8rQ6bGFFWHgG83/iSjdjkRAIMJrdN5e3Ng6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZsY7kLKPujipeBWevu1ETjNgSKCjJaR28qh+c6pTr4AIhANu1QGvzwSNTUEGoUkouw5Q9s/5FXLgKTzR5hDSFwinL"}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"0.0.6":{"name":"witwip","version":"0.0.6","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@0.0.6","dist":{"shasum":"dc46784a641cd2a8427f180d534ddac218acd2ab","tarball":"https://registry.npmjs.org/witwip/-/witwip-0.0.6.tgz","integrity":"sha512-sI0x2F2pIH+eOhEYwyvKxGNxp+2iEcf14KFhfVrU0uxy5kb2XfwAF7BqHb5wFFqXEF8hSeL8Q0TP6QIaEp1XYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5TFBy3BA4qUekTHLOaZrDRrtMlRbUMRgmuDeMlD7SPAiBaYDWHXpjWx7czbiKw3oGpsXvIbf3HjgZLh920eGHXOw=="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"1.0.0":{"name":"witwip","version":"1.0.0","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@1.0.0","dist":{"shasum":"6001846a67b74f7e5f98123029ee342dcf265039","tarball":"https://registry.npmjs.org/witwip/-/witwip-1.0.0.tgz","integrity":"sha512-GPg9n0ugajCsbHxtl+JiWvpU9sWCjavd/C7fbmIwmrC0qqFJBWmL22LB178r49GpvF8f91S3kYSkmrEQlGStuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaxlKL5CsVJi0ru77GIVB8EX+ynlK3A+VeTMKuZ1yiUAiEA2awcsuXtnIpxxzW6LV3eppabx/k3w+m3usGTYc+JXxs="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"1.0.1":{"name":"witwip","version":"1.0.1","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0","read-package-json":"~0.1.5"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@1.0.1","dist":{"shasum":"68eedebe3f2024138aa9201fa0f442684bc0624f","tarball":"https://registry.npmjs.org/witwip/-/witwip-1.0.1.tgz","integrity":"sha512-yrASxfms2rJpEq54x/5Sv9hp4SHzBc2NC94s0RpWWl9UlQwX06xRKg3HnUKWqNteXbMoTJJg0a0E8f5UglRNDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKmzTncQ9Ol15vqgEOM22UWR9dwOhZlvhT1i1x3p4dYgIgIms2lqGM58orDUVcKhev1hDUcn1yFA/LyDvmwKUlKxI="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"1.0.2":{"name":"witwip","version":"1.0.2","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0","read-package-json":"~0.1.5"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"_id":"witwip@1.0.2","dist":{"shasum":"a12320711cbf38cce51b10af49e66494328d82a3","tarball":"https://registry.npmjs.org/witwip/-/witwip-1.0.2.tgz","integrity":"sha512-osAE1lXgALzk9lrXnDXRiPvTTQMtSQsyet28f18jWk1bVVdN654U9N4TMoXF7ApTCZOI/KegBT6ve5nTsmCrPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFIpjFEGtM98Yg5IS90r6o98PooopgN49YN7xh2g+CbUAiEAzl31rt6gjfeY5YysQ3efUI9i7kNny4YiKvojpceAs6w="}]},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"1.0.3":{"name":"witwip","version":"1.0.3","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0","read-package-json":"~0.1.5"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"bugs":{"url":"https://github.com/cpsubrian/node-witwip/issues"},"_id":"witwip@1.0.3","dist":{"shasum":"ac03aa6b4a68d5fa9101dcbbaaeda61462aa1919","tarball":"https://registry.npmjs.org/witwip/-/witwip-1.0.3.tgz","integrity":"sha512-ZpeeRxpjeDaCnYHpIrL3pxq3VsY54zqc1ar2eAUIE5RCeyJ2Hla9Y8XlAn3/JV4AATYovuqMkP/CZr1fKu3iqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0NGBFAVF4BQP27ldzEexpeUY3dhXeb6m+KXxGnpMu6wIhAMoFRd9OAze8O5xISi2qxo5H9YV792SIKzGP/9V97XeV"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"cpsubrian","email":"cpsubrian@gmail.com"},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}]},"1.0.4":{"name":"witwip","version":"1.0.4","description":"Where in the world is package.json?","main":"witwip.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"keywords":["package.json"],"dependencies":{"debug":"~0.7.0","read-package-json":"~0.1.5"},"devDependencies":{"mocha":"~1.4.0"},"author":{"name":"Brian Link"},"license":"MIT","engines":{"node":">= 0.6.0"},"gitHead":"29ae0d95a225b722fd194f1b195eb49b11739985","bugs":{"url":"https://github.com/cpsubrian/node-witwip/issues"},"homepage":"https://github.com/cpsubrian/node-witwip","_id":"witwip@1.0.4","_shasum":"83af0905d4165be069db21a691189744670c2a7d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"cpsubrian","email":"cpsubrian@gmail.com"},"maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"dist":{"shasum":"83af0905d4165be069db21a691189744670c2a7d","tarball":"https://registry.npmjs.org/witwip/-/witwip-1.0.4.tgz","integrity":"sha512-AWuCRmENPDQnIDAiHyEzZJnPoza+VKrBT+3XwfScL0dtk1IxaEk23XfqYthi3WfWyFwJO0tnGpqQqDT4U6J9gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFyqE//gEKltDDSTK1cAsdDr0EzmYPYBSuFgeRILY1ZwAiA1/N6Yx3vM1RCLRJ9v2WsiPPM5z2zyzoh60eFmnLAvVQ=="}]}}},"readme":"witwip - Where in the world is package.json?\n============================================\n\n[![build status](https://secure.travis-ci.org/cpsubrian/node-witwip.png)](http://travis-ci.org/cpsubrian/node-witwip)\n\nFind package.json files relative to your current module or some other basepath.\nSearch for local modules, search for modules installed with npm, or just find\nthe closest package.json to the current file.\n\nInitial code for `witwip` was copied almost verbatim from [architect](https://github.com/c9/architect), so, thanks guys :)\n\n\nAPI\n---\n\n### witwip([base], [modulePath], callback)\n- **base** - The module object or path to start searching from (optional).\n- **modulePath** - The module name or local path to look for (optional).\n- **callback** - function (err, pkgPath, pkgData)\n\n### witwip.dir([base], [modulePath], callback)\nSame as `witwip()` but returns the directory instead of the filepath of the\nfound package.json.\n\n\nUsage\n-----\n\n```js\nvar findPkg = require('witwip');\n\n// Find the closest package.json to this module.\nfindPkg(function(err, pkgPath, pkgData) {\n\n});\n// or\nfindPkg(module, function(err, pkgPath, pkgData) {\n\n});\n// or\nfindPkg(__dirname, function(err, pkgPath, pkgData) {\n\n});\n\n// Look for the package.json of a dependency.\nfindPkg(module, 'optimist', function(err, pkgPath, pkgData) {\n\n});\n// or\nfindPkg(__dirname, 'optimist', function(err, pkgPath, pkgData) {\n\n});\n\n// Check if a local dir is a module (has a package.json).\nfindPkg(module, './local/dir/mymodule', function(err, pkgPath, pkgData) {\n\n});\n\n// Find the package.json of the parent module to this module.\nfindPkg(module.parent, function(err, pkgPath, pkgData) {\n\n});\n```\n\n\n- - -\n\n### Developed by [Terra Eclipse](http://www.terraeclipse.com)\nTerra Eclipse, Inc. is a nationally recognized political technology and\nstrategy firm located in Aptos, CA and Washington, D.C.\n\n- - -\n\n### License: MIT\nCopyright (c) 2012 ajax.org B.V\n\nCopyright (C) 2012 Terra Eclipse, Inc. ([http://www.terraeclipse.com](http://www.terraeclipse.com))\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","maintainers":[{"name":"cpsubrian","email":"cpsubrian@gmail.com"}],"time":{"modified":"2022-06-29T02:44:47.339Z","created":"2012-08-28T16:54:06.575Z","0.0.1":"2012-08-28T16:54:07.212Z","0.0.2":"2012-08-28T17:14:26.128Z","0.0.3":"2012-08-28T17:43:51.487Z","0.0.4":"2012-08-28T17:59:27.595Z","0.0.5":"2012-08-28T20:59:55.123Z","0.0.6":"2012-08-28T21:08:44.258Z","1.0.0":"2012-09-12T20:29:13.084Z","1.0.1":"2012-09-12T21:04:22.979Z","1.0.2":"2012-09-12T21:08:48.130Z","1.0.3":"2013-07-16T23:17:43.561Z","1.0.4":"2015-01-15T20:03:26.302Z"},"author":{"name":"Brian Link"},"repository":{"type":"git","url":"git://github.com/cpsubrian/node-witwip.git"},"users":{"carlos8f":true},"homepage":"https://github.com/cpsubrian/node-witwip","keywords":["package.json"],"bugs":{"url":"https://github.com/cpsubrian/node-witwip/issues"},"license":"MIT","readmeFilename":"README.md"}