
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.
A command line interface for the
bnidlibrary to generate random ids and encode and decode them using various base-N encodings.
This package provides and command line interface tool to generate random ids
and encode and decode them in various base-N encodings. The main functionality
is provided by the bnid package.
npm install bnid-cli
To install locally (for development):
git clone https://github.com/digitalbazaar/bnid-cli.git
cd bnid-cli
npm install
A command line interface tool called bnid is provided to generate and encode
ids. Please see bnid for a deeper
insight into the meaning of the options.
bnid can be run installed, run directly, or run via npx:
npm install -g bnid-cli
bnid [OPTIONS]
./bnid [OPTIONS]
npx bnid-cli [OPTIONS]
The options follow the API. See help for more information:
npx bnid-cli --help
Examples:
npx bnid-cli
> zL8ajDGq3G44VpTnB7UVMq2
npx bnid-cli -e base16 --no-multibase -n 64
> da3cc9f90f9f8427
npx bnid-cli -e base16 --no-multibase -n 64 -b 128
> 000000000000000063bb5478d65f80ab
npx bnid-cli -n 32
z6uGJaE
npx bnid-cli -n 32
zipFBr
# Note: -f used to ensure fixed length
npx bnid-cli -n 32 -f
z17vsf8
npx bnid-cli -n 32 -b 64
z111113TqAT2
Please follow the existing code style.
PRs accepted.
If editing the README, please conform to the standard-readme specification.
Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com
BSD-3-Clause © Digital Bazaar
FAQs
Base-N Id Generator Command Line Interface
We found that bnid-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.