{"_id":"sb-npm-path","_rev":"8-4082c8b311a7e3bf189c6c4567516109","name":"sb-npm-path","description":"Get PATH of your node runtime and modules","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"sb-npm-path","version":"1.0.0","description":"Get PATH of your node runtime and modules","main":"lib/index.js","scripts":{"test":"apm test","compile":"ucompiler go","lint":"eslint .","watch":"ucompiler watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/npm-path.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/npm-path/issues"},"homepage":"https://github.com/steelbrain/npm-path#readme","devDependencies":{"eslint":"^2.5.0","babel-eslint":"^6.0.0","babel-preset-steelbrain":"^2.0.1","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.2.1","ucompiler":"^3.1.8","ucompiler-plugin-babel":"^3.1.1"},"dependencies":{"sb-memoize":"^1.0.1","sb-promisify":"^1.2.0"},"gitHead":"81eaf3dcbc6256bc56e36291c03071b5812ce6d5","_id":"sb-npm-path@1.0.0","_shasum":"5d8295e73e26601a6b30bf3bc7720754c3f291ac","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"steelbrain","email":"de.steelbrain@gmail.com"},"dist":{"shasum":"5d8295e73e26601a6b30bf3bc7720754c3f291ac","tarball":"https://registry.npmjs.org/sb-npm-path/-/sb-npm-path-1.0.0.tgz","integrity":"sha512-fGnmpTcWB29wLlx8ByBQjsAfTzjxqU/hLdjFYt4eOxWfo0ka8n30+7ULqN1rq+4muPw8+fsgOPeuPE+jAu44pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg3VYRTugiU+a7cENWpJTwS3T3+Af5BQZXt15bmQEj+wIhAKNE5L+XLDR5qD5C5d50uGrnkgx/NQQnRSGYZh/lVBwX"}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sb-npm-path-1.0.0.tgz_1459263713008_0.29412122280336916"},"directories":{}},"1.0.1":{"name":"sb-npm-path","version":"1.0.1","description":"Get PATH of your node runtime and modules","main":"lib/index.js","scripts":{"test":"apm test","compile":"ucompiler go","lint":"eslint .","watch":"ucompiler watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/npm-path.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/npm-path/issues"},"homepage":"https://github.com/steelbrain/npm-path#readme","devDependencies":{"babel-preset-steelbrain":"^2.0.1","eslint-config-steelbrain":"^1.0.1","ucompiler":"^3.1.8","ucompiler-plugin-babel":"^3.1.1"},"dependencies":{"sb-memoize":"^1.0.1","sb-promisify":"^1.2.0"},"gitHead":"247ab55d527ea922a63351c69786c1f612de3855","_id":"sb-npm-path@1.0.1","_shasum":"939687fa997d0960d1103045ebfb1c4674af5691","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"steelbrain","email":"de.steelbrain@gmail.com"},"dist":{"shasum":"939687fa997d0960d1103045ebfb1c4674af5691","tarball":"https://registry.npmjs.org/sb-npm-path/-/sb-npm-path-1.0.1.tgz","integrity":"sha512-YWcTTcQDkeVjNEjAALn7bVp7Qtynyl7zF+2x1wMqzNpSTIeZ3rJPm/tnPguTxkuF8M8NAyrPSGEQmOkv4/r0zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvzz4xOeXi5vhvqj6aTJBlXYDMbxQra7ZmSjLvzEABmwIhAPem+9zxspvpeW++gXsNELOg2G4hqFWlHComAOkq7gDx"}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sb-npm-path-1.0.1.tgz_1468239819131_0.49820698029361665"},"directories":{}},"2.0.0":{"name":"sb-npm-path","version":"2.0.0","description":"Get PATH of your node runtime and modules","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check | grep -q '0 errors') && (eslint . )","clean":"rm -rf lib","compile":"npm run clean && babel src --out-dir lib","watch":"npm run clean && babel src --out-dir lib --watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/npm-path.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/npm-path/issues"},"homepage":"https://github.com/steelbrain/npm-path#readme","devDependencies":{"babel-cli":"^6.10.1","babel-plugin-for-of-efficient":"^1.0.0","babel-preset-steelbrain":"^4.0.1","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.31.1"},"dependencies":{"sb-memoize":"^1.0.2","sb-promisify":"^2.0.1"},"gitHead":"1f0a180875ee9b24772fb5d7f105db1e6d16afda","_id":"sb-npm-path@2.0.0","_shasum":"0f6cc2cf371debca7d936ed76b7d4c3cc1eb3d58","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"0f6cc2cf371debca7d936ed76b7d4c3cc1eb3d58","tarball":"https://registry.npmjs.org/sb-npm-path/-/sb-npm-path-2.0.0.tgz","integrity":"sha512-eEkuWf1rl1c+VD5irY7VsfnzS6b7KVY3Mzs4X9s2oLqidHCBz2+Zz9eHdPVAnEZ7SfYfmatWZuhrWcvObCH9Lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHR3SZoZh/3U9HCrLTttxrY/bCPaT0fsZlxC1rjljnK9AiA0VBXZrK0jva5NgA8dC32qfeO07St3vd2Wn6R1iLCRfQ=="}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-npm-path-2.0.0.tgz_1472095380656_0.9573639910668135"},"directories":{}},"3.0.0":{"name":"sb-npm-path","version":"3.0.0","description":"Get PATH of your node runtime and modules","main":"lib/index.js","scripts":{"test":"(ava spec/*-spec.js) && (flow check) && (eslint . )","prepare":"npm run compile","compile":"sb-babel-cli src -o lib","watch":"npm run compile -- --watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/npm-path.git"},"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/npm-path/issues"},"homepage":"https://github.com/steelbrain/npm-path#readme","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/preset-flow":"^7.0.0","ava":"^1.0.1","eslint-config-steelbrain":"^6.0.0","flow-bin":"^0.89.0","sb-babel-cli":"^1.0.2"},"dependencies":{},"gitHead":"0e0b89b83119c5b93a23dd6d466c75a86546eb6c","_id":"sb-npm-path@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"integrity":"sha512-OhDrjveaouINRH05qXqHjZOGwJPh3vPXairZUx+SoeevI68r3kJi9i52AAvWy3jMlDg80Fu2jlJgqVP5SDQIkA==","shasum":"90a5377323a24668387a0c4a177f2797db8b7f7a","tarball":"https://registry.npmjs.org/sb-npm-path/-/sb-npm-path-3.0.0.tgz","fileCount":12,"unpackedSize":9938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKSedCRA9TVsSAnZWagAAdnEP+QHwlBH91S2TZoNAA0yR\nvnQSHiWXMUqJ8yqUmmenOcfMvM3lFf0D83HJkX+r3eXOm+bEeOuEiBjjVgsj\npXyUcxFILnEh6JiAuxondL6YSLrxvU8n017lk6Sdg8hfNcuKWkASSQtHo7vq\ncblEbivyYLUhTqjUUBRDOzil4m0rQc+6xcz2LdZMZnRQRoxuOEoCfGvzz9m8\nP19cjIbaGi5UXZX913vSiIlNz90z3tpz4HkR0lUp9heqL0YNkd0HtjI3OceL\nrCZB6zYXw6jQufJGeBfHcwE6jcg3WMzzlMzIuTf+VZLqH2RImcSMK1O7ZJJA\nhJI5aWp5/m5RVgfhEuJMslZCdKMl0S5DcJx6ABKZ+62PTIblE/eB+MC80MeI\nbdIhOSRiptYy3LfwfrVN3N32vxMV5SFmpdW+RcxOJes6mOqoQEQ3SafelgoI\ngiNHdbGW5bQyfi/zoDB/AlzGaIJCKzvS3dHmmKHCkpQ9dXmP022PKnSz724T\n5VVdkZzP+CcYwfzx+litw5qug+21Lk8SqAkoI8Vtzu5hgporSi488NaUVb94\njXaXutj6/EYxBXvk+ZuNaIPfT4kbFqT2pLBKzUHLQDj4Gcqihu6xcAu+YPhe\nAzi3d5L0YizPpBsJT7u2cRZcW4BR2uR4XWbpMxVDfM2b8kG8ZhImk8JQSmIW\n3+Tk\r\n=f1sR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdKqEQ/K8ZMSCWehyADUsauKMgpaMVzSqp1kDyJWovcQIhALQ8FnawBP+V1Q8cd5YotDBo8L46RToGg1Hz5kIofYwv"}]},"maintainers":[{"email":"i@steelbrain.me","name":"steelbrain"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sb-npm-path_3.0.0_1546200989158_0.8731121752561068"},"_hasShrinkwrap":false}},"readme":"NPM-Path\n=========\n\n\nNPM-Path is a helper node module that gives you `PATH` value including all the locally installed npm bins.\n\n## Installation\n\n```sh\nnpm install --save sb-npm-path\n```\n\n## API\n\n```js\nfunction getPath(rootDirectory?: string): string\nfunction getPathAsync(rootDirectory?: string): Promise<string>\nfunction clearCache(): void\n\nexport default getPath\nexport { getPath, getPathAsync, clearCache }\n```\n\n## Examples\n```js\nimport { exec } from 'sb-exec'\nimport npmPath from 'npm-path'\n\nexport default async function run() {\n  const PATH = await npmPath.async(__dirname)\n  return await exec('mocha', { env: { PATH } })\n}\n```\n\n## License\n\nThis project is licensed under the terms of MIT License, see the LICENSE file for more info\n","maintainers":[{"email":"i@steelbrain.me","name":"steelbrain"}],"time":{"modified":"2022-06-26T16:17:02.382Z","created":"2016-03-29T15:01:54.016Z","1.0.0":"2016-03-29T15:01:54.016Z","1.0.1":"2016-07-11T12:23:40.671Z","2.0.0":"2016-08-25T03:23:02.188Z","3.0.0":"2018-12-30T20:16:29.247Z"},"homepage":"https://github.com/steelbrain/npm-path#readme","repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/npm-path.git"},"author":{"name":"steelbrain"},"bugs":{"url":"https://github.com/steelbrain/npm-path/issues"},"license":"MIT","readmeFilename":"README.md"}