
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
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 3 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.