{"_id":"npm-run-path","_rev":"3561321","name":"npm-run-path","description":"Get your PATH prepended with locally installed binaries","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2024-09-30T01:05:45.000Z","created":"2015-12-28T18:54:14.293Z","6.0.0":"2024-08-26T08:40:09.814Z","5.3.0":"2024-02-23T02:38:07.190Z","5.2.0":"2023-12-21T16:02:42.414Z","5.1.0":"2022-02-09T05:23:18.121Z","5.0.1":"2021-10-05T07:54:14.961Z","5.0.0":"2021-10-05T07:48:51.022Z","4.0.1":"2019-12-22T22:04:32.828Z","4.0.0":"2019-10-14T12:22:08.330Z","3.1.0":"2019-04-05T06:35:19.707Z","3.0.0":"2019-03-10T15:25:34.328Z","2.0.2":"2016-09-29T08:10:39.751Z","2.0.1":"2016-09-28T05:02:34.870Z","2.0.0":"2016-09-25T06:34:49.794Z","1.0.0":"2015-12-28T18:54:14.293Z"},"users":{"danielbayley":true,"aretecode":true,"yikuo":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"versions":{"6.0.0":{"name":"npm-run-path","version":"6.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0","unicorn-magic":"^0.3.0"},"devDependencies":{"ava":"^6.1.3","tsd":"^0.31.1","xo":"^0.59.3"},"_id":"npm-run-path@6.0.0","gitHead":"dbea877d781b7da037d3f89dfc921aae174feb28","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_nodeVersion":"18.20.4","_npmVersion":"10.6.0","dist":{"shasum":"25cfdc4eae04976f3349c0b1afc089052c362537","size":3007,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_6.0.0_1724661609638_0.11857341848677017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-26T08:40:09.814Z","publish_time":1724661609814,"_source_registry_name":"default","_cnpm_publish_time":1724661609814},"5.3.0":{"name":"npm-run-path","version":"5.3.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.45.0"},"gitHead":"92a572f0c39fe48467c9d294e3d6a27e301bcfb1","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@5.3.0","_nodeVersion":"21.6.2","_npmVersion":"9.2.0","dist":{"shasum":"e23353d0ebb9317f174e93417e4a4d82d0249e9f","size":2968,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-5.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-5.3.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_5.3.0_1708655887043_0.5454260993223214"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-23T02:38:07.190Z","publish_time":1708655887190,"_source_registry_name":"default","_cnpm_publish_time":1708655887190},"5.2.0":{"name":"npm-run-path","version":"5.2.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.45.0"},"gitHead":"8462fd251b08a18e5e77e94d6202963510f1403e","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@5.2.0","_nodeVersion":"21.2.0","_npmVersion":"9.2.0","dist":{"shasum":"224cdd22c755560253dd71b83a1ef2f758b2e955","size":2747,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-5.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_5.2.0_1703174562252_0.4742530686087243"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-21T16:02:42.414Z","publish_time":1703174562414,"_source_registry_name":"default","_cnpm_publish_time":1703174562414},"5.1.0":{"name":"npm-run-path","version":"5.1.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.45.0"},"types":"./index.d.ts","gitHead":"99c4be75df5f4bba6cde86c4397440681428eb8f","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@5.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.2","dist":{"shasum":"bc62f7f3f6952d9894bd08944ba011a6ee7b7e00","size":2905,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-5.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_5.1.0_1644384197963_0.8250067700723449"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-09T05:23:22.955Z","publish_time":1644384198121,"_cnpm_publish_time":1644384198121},"5.0.1":{"name":"npm-run-path","version":"5.0.1","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.45.0"},"gitHead":"d44e51582c1c66321cc0d3811396d0e6fc44a92c","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@5.0.1","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"shasum":"748dd68ed7de377bb1f7132c7dafe657be5ab400","size":2848,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_5.0.1_1633420454843_0.3625301046160667"},"_hasShrinkwrap":false,"publish_time":1633420454961,"_cnpm_publish_time":1633420454961},"5.0.0":{"name":"npm-run-path","version":"5.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^4.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.45.0"},"gitHead":"d3b7b900d0f706a308c0675a2ffa935fe107460a","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"shasum":"428f70be83e4bf600318e4389e11f46e52afa741","size":2847,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_5.0.0_1633420130853_0.5974753006149274"},"_hasShrinkwrap":false,"publish_time":1633420131022,"_cnpm_publish_time":1633420131022},"4.0.1":{"name":"npm-run-path","version":"4.0.1","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^3.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"09c9017b77591ced1723bd71ef9f3b5e72349268","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@4.0.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea","size":2984,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-4.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_4.0.1_1577052272701_0.6308620576315229"},"_hasShrinkwrap":false,"publish_time":1577052272828,"_cnpm_publish_time":1577052272828},"4.0.0":{"name":"npm-run-path","version":"4.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^3.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"879ba920b0c06aed2c6c4952aa54aa7d2684fece","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@4.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d644ec1bd0569187d2a52909971023a0a58e8438","size":2988,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_4.0.0_1571055728173_0.006643689593938573"},"_hasShrinkwrap":false,"publish_time":1571055728330,"_cnpm_publish_time":1571055728330},"3.1.0":{"name":"npm-run-path","version":"3.1.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^3.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"1f745c451448a8bbf2044211071793a1444edc31","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@3.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7f91be317f6a466efed3c9f2980ad8a4ee8b0fa5","size":2599,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_3.1.0_1554446119558_0.8857482387067892"},"_hasShrinkwrap":false,"publish_time":1554446119707,"_cnpm_publish_time":1554446119707},"3.0.0":{"name":"npm-run-path","version":"3.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^3.0.0"},"devDependencies":{"ava":"^1.3.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"74fca6345b0ddc06c8e4e9e5587e1e2594a28e06","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@3.0.0","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9bbd1824407d510ef3576c5ebc8b418dead140d9","size":2483,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-run-path_3.0.0_1552231534136_0.9456079331176104"},"_hasShrinkwrap":false,"publish_time":1552231534328,"_cnpm_publish_time":1552231534328},"2.0.2":{"name":"npm-run-path","version":"2.0.2","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"4d956312d5da324c4eff435af7d80797f04f09e1","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@2.0.2","_shasum":"35a9232dfa35d7067b4cb2ddf2357b1871536c5f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"35a9232dfa35d7067b4cb2ddf2357b1871536c5f","size":2221,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-2.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/npm-run-path-2.0.2.tgz_1475136638037_0.6285470693837851"},"directories":{},"publish_time":1475136639751,"_cnpm_publish_time":1475136639751,"_hasShrinkwrap":false},"2.0.1":{"name":"npm-run-path","version":"2.0.1","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"3bce80f6128d30bd75e7fd7123d72b62c5e1f0e7","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@2.0.1","_shasum":"0c89ba91d4b4c3e3f3f9579a9b733cc9ab429d90","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0c89ba91d4b4c3e3f3f9579a9b733cc9ab429d90","size":2224,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/npm-run-path-2.0.1.tgz_1475038953258_0.8133386990521103"},"directories":{},"publish_time":1475038954870,"_cnpm_publish_time":1475038954870,"_hasShrinkwrap":false},"2.0.0":{"name":"npm-run-path","version":"2.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/npm-run-path.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"3511ae423a6e89fe381aa602b92b36e2630740c1","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","_id":"npm-run-path@2.0.0","_shasum":"b860993b6c0d2a243f370d8d24dba198899648bf","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b860993b6c0d2a243f370d8d24dba198899648bf","size":2209,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/npm-run-path-2.0.0.tgz_1474785287361_0.8598830895498395"},"directories":{},"publish_time":1474785289794,"_cnpm_publish_time":1474785289794,"_hasShrinkwrap":false},"1.0.0":{"name":"npm-run-path","version":"1.0.0","description":"Get your PATH prepended with locally installed binaries","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/npm-run-path"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["npm","run","path","package","bin","binary","binaries","script","cli","command-line","execute","executable"],"dependencies":{"path-key":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8565fe56a35dd58bde38d20409339ba2e0200bd0","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"homepage":"https://github.com/sindresorhus/npm-run-path","_id":"npm-run-path@1.0.0","_shasum":"f5c32bf595fe81ae927daec52e82f8b000ac3c8f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f5c32bf595fe81ae927daec52e82f8b000ac3c8f","size":2030,"noattachment":false,"key":"/npm-run-path/-/npm-run-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-run-path/download/npm-run-path-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1451328854293,"_cnpm_publish_time":1451328854293,"_hasShrinkwrap":false}},"readme":"# npm-run-path\n\n> Get your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) prepended with locally installed binaries\n\nIn [npm run scripts](https://docs.npmjs.com/cli/run-script) you can execute locally installed binaries by name. This enables the same outside npm.\n\n## Install\n\n```sh\nnpm install npm-run-path\n```\n\n## Usage\n\n```js\nimport childProcess from 'node:child_process';\nimport {npmRunPath, npmRunPathEnv} from 'npm-run-path';\n\nconsole.log(process.env.PATH);\n//=> '/usr/local/bin'\n\nconsole.log(npmRunPath());\n//=> '/Users/sindresorhus/dev/foo/node_modules/.bin:/Users/sindresorhus/dev/node_modules/.bin:/Users/sindresorhus/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/bin'\n\n// `foo` is a locally installed binary\nchildProcess.execFileSync('foo', {\n\tenv: npmRunPathEnv()\n});\n```\n\n## API\n\n### npmRunPath(options?)\n\n`options`: [`Options`](#options)\\\n_Returns_: `string`\n\nReturns the augmented PATH string.\n\n### npmRunPathEnv(options?)\n\n`options`: [`Options`](#options)\\\n_Returns_: `object`\n\nReturns the augmented [`process.env`](https://nodejs.org/api/process.html#process_process_env) object.\n\n### options\n\nType: `object`\n\n#### cwd\n\nType: `string | URL`\\\nDefault: `process.cwd()`\n\nThe working directory.\n\n#### execPath\n\nType: `string | URL`\\\nDefault: [`process.execPath`](https://nodejs.org/api/process.html#processexecpath)\n\nThe path to the current Node.js executable.\n\nThis can be either an absolute path or a path relative to the [`cwd` option](#cwd).\n\n#### addExecPath\n\nType: `boolean`\\\nDefault: `true`\n\nWhether to push the current Node.js executable's directory ([`execPath`](#execpath) option) to the front of PATH.\n\n#### preferLocal\n\nType: `boolean`\\\nDefault: `true`\n\nWhether to push the locally installed binaries' directory to the front of PATH.\n\n#### path\n\nType: `string`\\\nDefault: [`PATH`](https://github.com/sindresorhus/path-key)\n\nThe PATH to be appended.\n\nSet it to an empty string to exclude the default PATH.\n\nOnly available with [`npmRunPath()`](#npmrunpathoptions), not [`npmRunPathEnv()`](#npmrunpathenvoptions).\n\n#### env\n\nType: `object`\\\nDefault: [`process.env`](https://nodejs.org/api/process.html#processenv)\n\nAccepts an object of environment variables, like `process.env`, and modifies the PATH using the correct [PATH key](https://github.com/sindresorhus/path-key). Use this if you're modifying the PATH for use in the `child_process` options.\n\nOnly available with [`npmRunPathEnv()`](#npmrunpathenvoptions), not [`npmRunPath()`](#npmrunpathoptions).\n\n## Related\n\n- [npm-run-path-cli](https://github.com/sindresorhus/npm-run-path-cli) - CLI for this module\n- [execa](https://github.com/sindresorhus/execa) - Execute a locally installed binary\n","_attachments":{},"homepage":"https://github.com/sindresorhus/npm-run-path#readme","bugs":{"url":"https://github.com/sindresorhus/npm-run-path/issues"},"license":"MIT"}