
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-reusable-id
Advanced tools
var FastRusableId = require('fast-reusable-id');
var start_id = 100; //all ids will start at 100
var max_id = 1000; //will throw error when you get id over 1000, defaults to 100000
var force_recycle = false; //will force to use released ids before reaching the max possible id, otherwise will use all possible ids up to max and then go through the pool of released ids and use them until it is empty.
var optional_typed_array = undefined // defaults to Uint32Array
var my_id_pool = new FastReusableId
//or pass with optional parameters
var my_id_pool = new FastReusableId(start_id,max_id,force_recycle,optional_typed_array); //pool to get ids from
var unique_id = my_id_pool.get() //get a fresh unique id
my_id_pool.release(unique_id) //im done with this id, release it into the pool to be used later
FAQs
fast reusable unique integer ids
The npm package fast-reusable-id receives a total of 2 weekly downloads. As such, fast-reusable-id popularity was classified as not popular.
We found that fast-reusable-id 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.