{"_id":"load-pkg","_rev":"24-6eb302b9ca5b9d6062427e46af7a2e59","name":"load-pkg","description":"Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.","dist-tags":{"latest":"4.0.0"},"versions":{"0.1.0":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project. ","version":"0.1.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE-MIT"}],"keywords":["package","load","pkg","config","package.json"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"verb":"~0.2.0","mocha":"*"},"dependencies":{"cwd":"~0.3.3"},"_id":"load-pkg@0.1.0","dist":{"shasum":"5910061fc132e4fdfb17b92ab3708543075e9c7b","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-0.1.0.tgz","integrity":"sha512-XhErz93E4eND1CWGIQ7DKhaAW6SQ0vSQvYu88WvLARbJeBKMpX54sJB1cc6tC4f8x5HiDcGVf72vYLakjTWpng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhu/0MM6m8i+51bm8BSS9vA3LmqArDYdhjykDi9PDKjAiEA0owSt8yqK+dBXACr/tlTVBK9pxrgkUMEYVvqSDQjXpc="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{}},"0.2.0":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"dependencies":{"cwd":"^0.4.0"},"keywords":["package","load","pkg","config","package.json"],"_id":"load-pkg@0.2.0","_shasum":"3b4280f8d6a01c522a3f65acdf6527f68e9335f6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3b4280f8d6a01c522a3f65acdf6527f68e9335f6","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-0.2.0.tgz","integrity":"sha512-xAHi9tiLX8Ca437YSz9SSkVSbFDL0VOlM4KtsIKCEjpYBEaEyGsUaILsbuOJ+wyREe/LgMRsE6qKrciI90twLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnXmKBuEJ0K7+zsSyy0weHG1pHkQUPmaWRv5dLHUR9WAIgK+Ij/PYs67C5QkWNxO9bwZBX7BKUVcgMXHolBgoBc24="}]},"directories":{}},"1.0.0":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"dependencies":{"cwd":"^0.4.0"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"db041bc58e66e6431c47d7022b339e7987642ce2","_id":"load-pkg@1.0.0","_shasum":"85a55140be9d4cfe6ff6110cb9be9ad4ee29e6aa","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"85a55140be9d4cfe6ff6110cb9be9ad4ee29e6aa","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.0.0.tgz","integrity":"sha512-5uV5yC3YTtEAjwb96j/GgGNAmedkA5QtJy6N7L6MpF3jdjDikC51sTNEpGUBGhUZpltsBL30KArYg/NeXssO/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV6CpN3ysFFUh3sHkNh6zfe98iRcaiPhvSd80ltU1tXAIgVw9OH+61lMcBIRVi3rv+qyWr/O2wwwMykI8ErPPuJco="}]},"directories":{}},"1.1.0":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.5.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"12e622fe1fe1e395a00687a86c16c615d8501c06","_id":"load-pkg@1.1.0","_shasum":"d4cf67c7d52cd1258ee4b73a107c6bc4ea82fea1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d4cf67c7d52cd1258ee4b73a107c6bc4ea82fea1","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.1.0.tgz","integrity":"sha512-GvViCd7/HiK6pE47517a+u486jMee3UQPtP7umUVvPGxGwXPup3k+UpNtccC4d+Cezyy6L68w1hoVl3vhAUrWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEoYZVIEICJrDc95O06oc3xZX+YVueTTArEZuO1Uqy6AiEArAwpGaZKLw3luIweKT3wt7qhc9XKMhECnCuH9kFjVIE="}]},"directories":{}},"1.1.1":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.1.1","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.5.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"e95060663e8f069aae95b0f9a499bc58cb4aa738","_id":"load-pkg@1.1.1","_shasum":"ada90101cc17a42a98b3c2ab0d63f41af2ba880d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ada90101cc17a42a98b3c2ab0d63f41af2ba880d","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.1.1.tgz","integrity":"sha512-ffq909FxQ5JnxpcVf2XtU62qVZj2F4OjtxYzWioxtGMInCI8pEHznim7hz9bisWENmYgyognBZGtd11NmVN/rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7kHmISHd7LNp+lhZ2vOU8ICrUiFYX9aaiC/mT5gwZgAIgLnBhxwsNvsXz/rX0RXrhGGXIWHALmUu4FSaJQV9ni6A="}]},"directories":{}},"1.1.2":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.1.2","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.5.0","helper-related":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"e95060663e8f069aae95b0f9a499bc58cb4aa738","_id":"load-pkg@1.1.2","_shasum":"194a852052edb847a2151cf4fa7262f688837764","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"194a852052edb847a2151cf4fa7262f688837764","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.1.2.tgz","integrity":"sha512-3UYRbylua6zr0Kl6U7/hTyXlMUnsKrgbRlhFKvJNUJs2Vrq2WYWrCTFb+43B9MqDW2XnzGRygEsHjUFVBIjc7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwzjFh3lo3K8bbRlo1aDlUm4RFEX5DVs+89WnMhCxDIAIgRJKolBlIZtY+DRstCB7L8tbipvXiY0bm0kVQjKMGebU="}]},"directories":{}},"1.1.3":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.1.3","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.5.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"a4c24a70604aa1a641d49babe39fccd643ae664b","_id":"load-pkg@1.1.3","_shasum":"6a474383aac51a133fc0dd6d5ee5e7b4c0191a4d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6a474383aac51a133fc0dd6d5ee5e7b4c0191a4d","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.1.3.tgz","integrity":"sha512-CCoPaoChp9k7hGKatxb68s/w0ba62mYH+CMF2SLEwOHKVGzqFkvfGQP/XNicwtb7RgiGtOMEfFQRBoYrvMLAHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnp5ZnSmBJnLdfpw05hBXAnXHJawpjx3nubZf84dfzZAIgPmB8qREoicmducwrDtyp8QkB0kWh0ZTxMSynBiQaqMo="}]},"directories":{}},"1.2.0":{"name":"load-pkg","description":"Load the package.json in the base of the user's current project.","version":"1.2.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/load-pkg/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.6.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"gitHead":"c0603fbcc014a499abbbb7667b6799038d77e263","_id":"load-pkg@1.2.0","_shasum":"2877b02c9d921cfd035432b041511b4a6b78a048","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2877b02c9d921cfd035432b041511b4a6b78a048","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.2.0.tgz","integrity":"sha512-c6SJuHinecbGv1U/4DhqBQDdCy50/Hi5rJn4incn5vBXQdFkXSOB5ukQOaCbj2GYaqJhwJXbOLNWmC/vpFUF2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmZbm1/kqTccNSFOdUvFRCZdhVQmYShfp3FbkJ/bdnXAiEA5D6Ud5Nw85RccwrXoi+m3ehgSW8z0MQEPEqO0NS9orQ="}]},"directories":{}},"1.3.0":{"name":"load-pkg","description":"Loads the package.json from the root of the user's current project.","version":"1.3.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.7.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"verb":{"related":{"list":["list-deps","resolve-dep","look-up","load-plugins"]}},"gitHead":"01d7c4519611fa2a30f3614081f7717244048f66","_id":"load-pkg@1.3.0","_shasum":"756dcfb4589b9167134ed9be70c23d28ad52853f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"756dcfb4589b9167134ed9be70c23d28ad52853f","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-1.3.0.tgz","integrity":"sha512-NywsSvGXZ6uzqokhyHaM25mv3OX344whOM/SM7POso7dfklluwR8pO1K+kCxuWjXQSbdaw0LqOQW+vTHEI7M/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ6f8lt+ybM9C17AG6uijye7jktB1dMZAqBVsqfBOZeQIgRlApj85ZZVwSV8pYxcDoDZ1BRiZiDNTtdpW2aODg4pk="}]},"directories":{}},"2.0.0":{"name":"load-pkg","description":"Loads the package.json from the root of the user's current project.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.8.3"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"verb":{"related":{"list":["list-deps","resolve-dep","look-up","load-plugins"]}},"gitHead":"a9ed595d6c742effe2b2cb0e5a7f3e3445b91b1b","_id":"load-pkg@2.0.0","_shasum":"725c00da40dd69963255bb0a0534a1c051c3a2a2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"725c00da40dd69963255bb0a0534a1c051c3a2a2","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-2.0.0.tgz","integrity":"sha512-X88A6dJqjzTEYtpamvv4N8ZS4wDtPhwe9L+XJS4ytMr69wphs0yIfsVx9gZHu/7AIAwJWo3CmpH9IImK7ipvag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWKSu3rxViqT7pGdicWrP0Odhtw/iG8OLSV+ndFY0NTQIhANfi/dZKvREx6SSTkkawOf+WdvGmUDFr64G0Q5vuKfGG"}]},"directories":{}},"2.0.1":{"name":"load-pkg","description":"Loads the package.json from the root of the user's current project.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.8.3"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"verb":{"related":{"list":["list-deps","resolve-dep","look-up","load-plugins"]}},"gitHead":"1bc687a69daead1f4a17eb86fdd28c9b6581106a","_id":"load-pkg@2.0.1","_shasum":"3dd369d77ae453a89479a9f50a875b6f9da03ef5","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3dd369d77ae453a89479a9f50a875b6f9da03ef5","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-2.0.1.tgz","integrity":"sha512-UGB/QVPEOqmQH14406KgN7vb87YodbQiT2xlGbPELA+S/A9wF/JfWG02DPD3HYoSaLQHLIw3NgB4tUAJs+7Wog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQOmKf/sNtF8j79xqHOxsfaTQ7HmUZyWj4cdneKoHCXgIgJpeL19zh4hktXANFYDqX6vSiucp25So/xtR7yIWyI24="}]},"directories":{}},"3.0.0":{"name":"load-pkg","description":"Loads the package.json from the root of the user's current project.","version":"3.0.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"find-pkg":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"verb":{"related":{"list":["cwd","find-pkg","look-up"]}},"gitHead":"c84e4c7ce6f1329249d9f328d6e74e4bd2646c78","_id":"load-pkg@3.0.0","_shasum":"c8c66dc573e675b439130e7ef8a02fbf1db10f7c","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c8c66dc573e675b439130e7ef8a02fbf1db10f7c","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-3.0.0.tgz","integrity":"sha512-nYgo0iLFUTkJ4huYiyS/FdiLTx9u6FdQpHM1bwAp2O+ml4g6ai5PS889IV8IrMuZSjNHx6sTf04V3RkBcle3hQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVwpD4paDPlr6HbUzX18nUiRZJnHQgdVUJ/QIFjTrrJwIgdsH08JHLEjRHiQGTq2V3XkfuZL98sv0SoczX8s4zcSw="}]},"directories":{}},"3.0.1":{"name":"load-pkg","description":"Loads the package.json from the root of the user's current project.","version":"3.0.1","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"find-pkg":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["config","json","load","package","package-json","pkg"],"verb":{"plugins":["gulp-format-md"],"related":{"list":["cwd","find-pkg","look-up"]}},"gitHead":"c84e4c7ce6f1329249d9f328d6e74e4bd2646c78","_id":"load-pkg@3.0.1","_shasum":"9230b37ec04e569003060bc58951e3ed508d594f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9230b37ec04e569003060bc58951e3ed508d594f","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-3.0.1.tgz","integrity":"sha512-wW6PBOWKbPceeIamjHjoacmI0F7Q+JdHoYl1nYE3lGOQCmq+xAnfIp24dqhUSfsO6Y7YSlrmyi3JxvSiRnoivg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMzViQrKE9tRSpzX3886FDtaQlpYhd5lolNIx5diM3LQIhAJ+G7WwLsaqoyGead7CjqE74H52tctlL4S34ceK5mUME"}]},"directories":{}},"4.0.0":{"name":"load-pkg","description":"Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.","version":"4.0.0","homepage":"https://github.com/jonschlinkert/load-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"dependencies":{"find-pkg":"^2.0.0"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.2.0"},"keywords":["config","dir","directory","file","find","find-up","findup","findup-sync","folder","json","load","look","look-up","match","package","package-json","parent","parents","parse","path","pkg","read","resolve","search","up","walk","walking"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["cwd","find-pkg","look-up"]},"lint":{"reflinks":true}},"gitHead":"c331b17ce23324f0abc65b073215f25564a369db","_id":"load-pkg@4.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-xS6uYdbUzHbwO5bExhtM8RsU6Z/fVEfZE4uZpWQOwVygLSUfXz7J97nGzJfZ+FFCZc0Weabn/wA3y1k9Q7Y4mw==","shasum":"f80a29aec2f6d02aadde714099fda4eea1b611f1","tarball":"https://registry.npmjs.org/load-pkg/-/load-pkg-4.0.0.tgz","fileCount":4,"unpackedSize":8493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMyrvCRA9TVsSAnZWagAAgmUP/2RVnzpuorcK7Plwn0A9\nJeMJ2AOSb7U1IZVtbmyxA0ezTBPDPsFIBzUyqqzWrXMJTkQnxFbKAHy61/q0\n0QnPKk/MznlUE1jbrf5My2xQmQMDTSqu5CNdAFIClyp1XfPOgIHm72nRidtL\nd1nfmQFGFo2OloMYBGp0TNqfFy09YOFesnNg6SfSm/I0p4Zyj+IKsbQS1PVo\ng96tWst2oCOdQoUIxBchBhcl7ahPpRIyQpHwy/98WIJyUx6vKExvdzfBMw4r\nh/Dx8ps/itNvJU3L+XXmSjSPcLiGOToQMP0tydXuO+pcLMIxmvUmSenqUFLT\nfH6SyF4tfls1eA8yysKyuwZlyIBhHE4jGf8oLxNKwus7H4G/G4j9PoyapEpM\nVZp20hdD1ZDkorWfPBFHMe8HxFCUpKT6JPVhINmB+yRStAWNJZ2dLf+LgLtB\nAmzycX/J59NCRv96dwbz2gGJltQjV5eXBGMIVnuOka3MJ9KSnbVFaNFePrzL\nKPikzxsqm/WBQfTL91BKvLZieyQT6jZNmofNgXSi8cIvuzjiiulFmLmLTtiv\nL7m6ZL+EFNem1HhXDIPpeNMT9ywdoGk8vuNYir50idgzidy1STeIkunyxjkz\nhmrTPf4SpVAKhAbUOCtPJDBFLQQbx7hsNY9PD7dcdXOTt4B85ckt8NBO2ESb\nHZwk\r\n=CEoL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwl8o4F5PEjGIggdBxyYb4Bf+iEZMzHibYfrOTnaIbjAIgAnWSrNcsRxi1fMsuil/fPA31VW+YYZCNDcII3TT6cc8="}]},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-pkg_4.0.0_1530079983640_0.6086636434699118"},"_hasShrinkwrap":false}},"readme":"# load-pkg [![NPM version](https://img.shields.io/npm/v/load-pkg.svg?style=flat)](https://www.npmjs.com/package/load-pkg) [![NPM monthly downloads](https://img.shields.io/npm/dm/load-pkg.svg?style=flat)](https://npmjs.org/package/load-pkg) [![NPM total downloads](https://img.shields.io/npm/dt/load-pkg.svg?style=flat)](https://npmjs.org/package/load-pkg) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/load-pkg.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/load-pkg)\n\n> Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save load-pkg\n```\n\n## Usage\n\n### async\n\nBy default, if no callback is passed a promise is returned.\n\nThe following examples assume the code is inside an `async` function:\n\n```js\nconst load = require('load-pkg');\n\n// get the package.json from the cwd\nconst pkg = await load();\n\n// specify the starting directory to search from\nconst pkg = await load('foo/bar');\n```\n\n### async callback\n\n```js\nconst load = require('load-pkg');\n\n// get the package.json from the cwd\nload((err, pkg) => {\n  console.log(pkg); \n});\n\n// specify the starting directory to search from\nload('foo/bar', (err, pkg) => {\n  console.log(pkg); \n});\n```\n\n### sync\n\nLoads the package.json in `process.cwd()` by default:\n\n```js\nconst load = require('load-pkg');\n\n// the following are equivalent\nconst pkg = load.sync(process.cwd());\nconst pkg = load.sync();\n```\n\nSpecify a cwd or filepath to start from:\n\n```js\nconst pkg = require('load-pkg').sync('a/b/c');\n```\n\n## Release history\n\n### v3.0.0\n\n* The main export now returns a promise if no callback is passed. There should not be any breaking changes.\n\n### v2.0.0\n\n**Breaking changes**\n\n* The main export is now a function that must be called.\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [cwd](https://www.npmjs.com/package/cwd): Easily get the CWD (current working directory) of a project based on package.json, optionally starting… [more](https://github.com/jonschlinkert/cwd) | [homepage](https://github.com/jonschlinkert/cwd \"Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)\")\n* [find-pkg](https://www.npmjs.com/package/find-pkg): Find the first directory with a package.json, recursing up, starting with the given directory. Similar… [more](https://github.com/jonschlinkert/find-pkg) | [homepage](https://github.com/jonschlinkert/find-pkg \"Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.\")\n* [look-up](https://www.npmjs.com/package/look-up): Faster drop-in replacement for find-up and findup-sync. | [homepage](https://github.com/jonschlinkert/look-up \"Faster drop-in replacement for find-up and findup-sync.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 27, 2018._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-19T13:12:28.641Z","created":"2014-05-02T23:11:52.269Z","0.1.0":"2014-05-02T23:11:52.269Z","0.2.0":"2014-12-01T10:15:49.599Z","1.0.0":"2014-12-30T03:18:53.170Z","1.1.0":"2015-03-03T04:38:43.967Z","1.1.1":"2015-03-03T04:43:12.654Z","1.1.2":"2015-03-03T05:14:42.760Z","1.1.3":"2015-03-18T15:35:22.700Z","1.2.0":"2015-04-07T09:01:53.096Z","1.3.0":"2015-07-20T05:05:00.065Z","2.0.0":"2015-10-20T04:29:18.223Z","2.0.1":"2015-10-20T04:32:43.448Z","3.0.0":"2015-11-28T03:33:31.936Z","3.0.1":"2015-12-13T18:01:45.073Z","4.0.0":"2018-06-27T06:13:03.746Z"},"homepage":"https://github.com/jonschlinkert/load-pkg","keywords":["config","dir","directory","file","find","find-up","findup","findup-sync","folder","json","load","look","look-up","match","package","package-json","parent","parents","parse","path","pkg","read","resolve","search","up","walk","walking"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/load-pkg.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/load-pkg/issues"},"readmeFilename":"README.md","license":"MIT"}