
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.
Hexadecimal lexicographic integers: positive integers represented as hexadecimal strings, lexicographically ordered low-to-high.
Builds on https://www.npmjs.com/package/lexicographic-integer
npm add hexlexi
const hexlexi = require('hexlexi')
hexlexi.pack(10) // '0a'
hexlexi.unpack('0a') // 10
const generator = hexlexi.generator()
for (let i = 0; i < 4; i++) {
console.log(generator.next().value)
} // '00', '01', '02', '03'
hexlexi.getNext('00') // '01'
hexlexi.pack(intNr)
Get the lexicographical representation of the given integer.
hexlexi.unpack(hexTxtNr)
Get the integer representation of the given hexadecimal string.
hexlexi.generator(startI=0)
Get a generator of hexadecimal strings incrementing one-by-one, optionally choosing with which number to start (0 default).
hexlexi.getNext(hexTxtNr)
Get the lexicographical representation of the number just after the given hexadecimal string
FAQs
Hexadecimal lexicographic integers
The npm package hexlexi receives a total of 4 weekly downloads. As such, hexlexi popularity was classified as not popular.
We found that hexlexi 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.