
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
character-sets
Advanced tools
IANA Character Sets as JSON or Array of strings from https://www.iana.org/assignments/character-sets/character-sets.xhtml
JSON registry of IANA Character Sets.
npm i -S character-sets
curl https://raw.githubusercontent.com/JustinBeaudry/character-sets/master/charsets.json -o charsets.json
const characterSets = require('character-sets');
// array of character sets
characterSets.toArray(); // ['UTF-8', ...]
// lower cased character set array
characterSets.normalize(); // ['utf-8', ...]
// is my character set a standardized character set?
characterSets.includes('utf-8'); // true
characterSets.includes('UTF-8'); // true
characterSets.includes('US-ASCII'); // true
characterSets.includes('us-ascii'); // true
characterSets.includes('pikachu'); // false
toArray(): string[]Returns an array of IANA character set strings.
normalize(): string[]Returns an array of lowercase IANA character set strings.
includes(charSet: string): booleanReturns true if the character set string is included in the standardized set of IANA character set strings,
otherwise returns false.
FAQs
IANA Character Sets as JSON or Array of strings from https://www.iana.org/assignments/character-sets/character-sets.xhtml
The npm package character-sets receives a total of 889 weekly downloads. As such, character-sets popularity was classified as not popular.
We found that character-sets 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.