{"name":"find-node-modules","version":"2.0.0","description":"Return an array of all parent node_modules directories","main":"index.js","scripts":{"test":"node ./test | faucet"},"repository":{"type":"git","url":"git+https://github.com/callumacrae/find-node-modules.git"},"author":{"name":"Callum Macrae","email":"callum@macr.ae"},"license":"MIT","bugs":{"url":"https://github.com/callumacrae/find-node-modules/issues"},"homepage":"https://github.com/callumacrae/find-node-modules","dependencies":{"findup-sync":"^3.0.0","merge":"^1.2.1"},"devDependencies":{"faucet":"0.0.1","tape":"4.6.0"},"gitHead":"73a6a52fc95e2c48ddcc055e337d6d74ba3f94e8","_id":"find-node-modules@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"callumacrae","email":"callum@macr.ae"},"dist":{"integrity":"sha512-8MWIBRgJi/WpjjfVXumjPKCtmQ10B+fjx6zmSA+770GMJirLhWIzg8l763rhjl9xaeaHbnxPNRQKq2mgMhr+aw==","shasum":"5db1fb9e668a3d451db3d618cd167cdd59e41b69","tarball":"http://registry-npm.ywwl.com/find-node-modules/download/find-node-modules-2.0.0.tgz","fileCount":8,"unpackedSize":4575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbsjOCRA9TVsSAnZWagAAiVoP/2D3YiJI18Hw1Cd748r9\ndvpXvqyiFJabdkj/p4GQYYcuZ89gFWc4RuXC6CL8e9/PhE3W5mR5WOVBdIx6\nPDiizVT7GB4RFNaug+6d+Fh0mut9fKjALG7x1iZQ3ECV0/I6cS5TGgQXanU6\nSRFjWKN/xfUq9gEagrF1nJCTIIQZDeGUuKoAwNa2ewGw66nYaXEOhEkXm7Pu\nRFCYmoHCbBhTq8PWvScjJXgiFrlx6+LQbN/uhl0NKcsW++Yr2d9zF9nYD6ea\nwdtMBui3n9n0rlvuGmEXLOCNcywWDSwUuBqBnlj14bMauG7rIgT71SBttxGR\nlE+CeKHhTV/zfz0Di9Zc3QomEcT1H3iJAvKnm1COfrUKp/TI8Z5XSjo+FTzl\nucqC+qupL3QkYFJoMclXtqMN0gK4QQOjxnEvrQu+8RNxKlNeivlb0kYsoKV5\nt4DI1Pw2UH0AEVIMuAmrj5v8rglE6P8AQroubin6BHCm65YYRhJr8V5fNJJt\nUxV5mdTbCjAHHXQa1LN7u6OsGBbmShWOwk30tIjnRK+WG05TrRAp6lPR8qAT\n9KoTh80+qvyygBYHWOmIqjw1s7UH3WWZ4vm9LbCLS9aozHbnvUlJnb3htGn5\nU6RDBeam2l4c7gdH+AROgPORQQpTVcR5Sg2l8VX49EHEwYNFuoWPlaZzfdBU\n4GCI\r\n=VSgr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6nJbdHsM2vUPtps03F5Uft9J2SXZ54gQyVuwg+nbckAiBYp0fhTvzF3ssGbWN8AACnI99yRIqQEpZV+oN0i1PpoQ=="}],"size":1882,"noattachment":false,"key":"/find-node-modules/-/find-node-modules-2.0.0.tgz"},"maintainers":[{"name":"callumacrae","email":"callum@macr.ae"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-node-modules_2.0.0_1550764237621_0.9283474419022779"},"_hasShrinkwrap":false,"readme":"# find-node-modules\n\nThis is a little node module to find the path of every parent node_modules\ndirectory. It's useful for things like Sass, where you can't specify the exact\npath to individual modules (in which case [findup-sync] would be sufficient),\nand you can't just give an array of parent node_modules which might exist,\nbecause it will error if they don't.\n\nIn most cases you're trying to find node_modules directories, findup-sync\nshould be sufficient. This library is specifically for if you want an array\ncontaining all the parent node_modules paths. If you loop through the output\nof this library, you should be using findup-sync instead.\n\n## Install\n\n```\n$ npm install --save find-node-modules\n```\n\n## Usage\n\n```js\nvar findNodeModules = require('find-node-modules');\n\nfindNodeModules();\n//=> ['node_modules', '../../node_modules']\n\nfindNodeModules({ cwd: './someDir' });\n//=> ['../node_modules', '../../../node_modules']\n\nfindNodeModules('./someDir');\n//=> ['../node_modules', '../../../node_modules']\n\nfindNodeModules({ cwd: './someDir', relative: false });\n//=> ['/path/to/something/node_modules', '/path/node_modules']\n```\n\n## License\n\nThis is released under the MIT license.\n\n\n\n[findup-sync]: https://www.npmjs.com/package/findup-sync","publish_time":1550764237747,"_cnpm_publish_time":1550764237747,"dist-tags":{"latest":"2.1.3"}}