
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Fast create global commands by nodejs.🥰
Install
npm install node-bins -g
Use
1、Create a folder, and run npm init or pnpm init or yarn init in this folder to create a 'package.json' file.
2、Create your command source code file (js, cjs, mjs, ts) under this folder, which contains all your command logic. Note that you need to write this code on the first line - '#!/usr/bin/env node'. For example
#!/usr/bin/env node
console.log('test node bins----1111')
3、Run create-bin in this folder. You can see

Yes! Your global nodejs command is create, you can run the command you created from anywhere !!! 🤪
You can unleash your creativity by writing cooler and more creative global script commands to operate your project and improve code efficiency.
This is a demo
Here are some built-in commands to choose from -
🎈 1. bins --help: Display Help Information.
🎈 2. bins --list: Check which commands are currently managed by 'node-bins'.
🎈 3. create-bin: Create a custom command for the corresponding file in the corresponding script folder.
🎈 4. delete-bin <deleteBinName>: Delete the custom commands you have already created in node-bins.
FAQs
Fast create global commands by nodejs.
The npm package node-bins receives a total of 2 weekly downloads. As such, node-bins popularity was classified as not popular.
We found that node-bins demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.