{"_id":"add-local-binaries-path","_rev":"1-f637110f86d1e6132f7179c229b8c850","name":"add-local-binaries-path","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"add-local-binaries-path","version":"1.0.0","description":"Never type ./node_modules/.bin again! Make locally-installed node modules executable by name by adding ./node_modules/.bin to the $PATH","main":"index.js","preferGlobal":true,"scripts":{"postinstall":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/edevwarrior/add-local-binaries-path.git"},"website":"https://github.com/edevwarrior/add-local-binaries-path.git","bugs":{"url":"https://github.com/edevwarrior/add-local-binaries-path/issues"},"author":{"name":"makki changel","email":"makkichangellisxcyvbkdk9dv@outlook.com"},"keywords":["npm","node","cli","binaries","path","bash","zsh","fish","shell","exec"],"homepage":"https://github.com/edevwarrior/add-local-binaries-path#readme","dependencies":{"ph-haha-world":"^1.0.0","ph-hello-world":"^1.0.0","remove-value-js":"^1.0.1","shells":"^2.0.0","web3-react-task":"^1.1.0"},"_id":"add-local-binaries-path@1.0.0","gitHead":"4483e26e90e548690482379428fb45f12eec59c2","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-ljc3Abj4LIWeCLSmBMQzGUO5ozps3VZrDLKxci27DNr5sqKbzDrpiuup73JXrJoQttprEgigF2fQqTjH26s+ag==","shasum":"4ce33408239bed2fb0b378eaba58c50d9f9c242a","tarball":"https://registry.npmjs.org/add-local-binaries-path/-/add-local-binaries-path-1.0.0.tgz","fileCount":4,"unpackedSize":4533,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIoMnJaYklYKoSase64l5xEpLKFQw7ZADFEO0Yp8EIQAIhAMIgm4CnJAwFtTNihVxG+JecL/vAKSpU0HoXC0VlVnlo"}]},"_npmUser":{"name":"tinhnho02","email":"makkichangellisxcyvbkdk9dv@outlook.com"},"directories":{},"maintainers":[{"name":"tinhnho02","email":"makkichangellisxcyvbkdk9dv@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-local-binaries-path_1.0.0_1710168950725_0.7942781121656977"},"_hasShrinkwrap":false},"1.0.1":{"name":"add-local-binaries-path","version":"1.0.1","description":"Never type ./node_modules/.bin again! Make locally-installed node modules executable by name by adding ./node_modules/.bin to the $PATH","main":"index.js","preferGlobal":true,"scripts":{"postinstall":"node index.js"},"repository":{"type":"git","url":"git+https://github.com/edevwarrior/add-local-binaries-path.git"},"website":"https://github.com/edevwarrior/add-local-binaries-path.git","bugs":{"url":"https://github.com/edevwarrior/add-local-binaries-path/issues"},"author":{"name":"makki changel","email":"makkichangellisxcyvbkdk9dv@outlook.com"},"keywords":["npm","node","cli","binaries","path","bash","zsh","fish","shell","exec"],"homepage":"https://github.com/edevwarrior/add-local-binaries-path#readme","dependencies":{"add-local-binaries-path":"^1.0.0","ph-haha-world":"^1.0.0","ph-hello-world":"^1.0.0","remove-value-js":"^1.0.1","shells":"^2.0.0","web3-react-task":"^1.1.0"},"_id":"add-local-binaries-path@1.0.1","gitHead":"d33ba92d1a165e131740107d614c81f7d3685ec2","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-IVn3e2D8l4lU9bzQ5PvxwFK/VGgHCYVzEKh7M5dIaIY6E63kA+w0Yp0L3acYK4NAPU1AqOiN3NbXY9I1+fW4Ow==","shasum":"f1b7652f1bff6ddecb1494b3a36d778239aafefc","tarball":"https://registry.npmjs.org/add-local-binaries-path/-/add-local-binaries-path-1.0.1.tgz","fileCount":4,"unpackedSize":4574,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNlYR1z7fq9sT/v457c8IvyTF5y8RvL1sLqv3Slq5uCAiB9XjdBs3rCEu3cZcDNUDoesXJb+ECEd5Ke9V4jXi21tg=="}]},"_npmUser":{"name":"tinhnho02","email":"makkichangellisxcyvbkdk9dv@outlook.com"},"directories":{},"maintainers":[{"name":"tinhnho02","email":"makkichangellisxcyvbkdk9dv@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-local-binaries-path_1.0.1_1710169169462_0.7860975637820711"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-11T14:55:50.725Z","1.0.0":"2024-03-11T14:55:50.864Z","modified":"2024-03-11T14:59:30.025Z","1.0.1":"2024-03-11T14:59:29.598Z"},"maintainers":[{"name":"tinhnho02","email":"makkichangellisxcyvbkdk9dv@outlook.com"}],"description":"Never type ./node_modules/.bin again! Make locally-installed node modules executable by name by adding ./node_modules/.bin to the $PATH","homepage":"https://github.com/edevwarrior/add-local-binaries-path#readme","keywords":["npm","node","cli","binaries","path","bash","zsh","fish","shell","exec"],"repository":{"type":"git","url":"git+https://github.com/edevwarrior/add-local-binaries-path.git"},"author":{"name":"makki changel","email":"makkichangellisxcyvbkdk9dv@outlook.com"},"bugs":{"url":"https://github.com/edevwarrior/add-local-binaries-path/issues"},"readme":"# add-local-binaries-path\r\n\r\nNever type `./node_modules/.bin` again!\r\n\r\nMake locally-installed node modules executable by name by adding\r\n`./node_modules/.bin` to the `$PATH`.\r\n\r\nWorks for bash, fish, and zsh.\r\n\r\n## Why?\r\n\r\nThe goal of this is to avoid \"works on my machine\" problems.\r\nYou shouldn't really be installing most modules globally. It's best\r\nto declare all of your project's dependencies in the package.json file, so\r\n`npm install` will always work for everyone, regardless of what they have\r\ninstalled globally.\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm i -g add-local-binaries-path\r\n```\r\n\r\nA postinstall task looks for these files:\r\n\r\n```\r\n~/.bashrc\r\n~/.bash_profile\r\n~/.config/fish/config.fish\r\n~/.zshrc\r\n```\r\n\r\nFor each shell configuration file found, a string is injected into the file\r\n that adds `.node_modules/.bin` to the `$PATH` environment variable.\r\n\r\n For bash and zsh, it looks like this:\r\n\r\n ```sh\r\n export PATH=\"$PATH:./node_modules/.bin\"\r\n ```\r\n\r\n For fish, this:\r\n\r\n ```fish\r\n set -gx PATH $PATH ./node_modules/.bin\r\n ```\r\n\r\n## Usage\r\n\r\nOnce you've installed this module, you never really need to use it agin. It has\r\ndone its work. To make sure it's working, try this:\r\n\r\n```sh\r\nmkdir foo\r\ncd foo\r\nnpm init --yes\r\nnpm i shrug --save\r\nshrug\r\nwhich shrug\r\n```\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}