
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
deterministic-base64-json
Advanced tools
Deterministically convert an object to a Base64 string and back.
Deterministically convert an object to a Base64 string and back.
$ yarn add deterministic-base64-json
const {decode, encode} = require('deterministic-base64-json');
const text = encode({foo: 1, bar: 2});
// Encoded the same as `encode({bar: 2, foo: 1})`.
const value = decode(text);
// Equals `{bar: 2, foo: 1}`.
Returns the decoded value of text, or throws if it can't be decoded.
stringA Base64 string, probably from encode.
Returns the encoded text of value.
anyA value to be encoded.
MIT © Matthew Fernando Garcia
FAQs
Deterministically convert an object to a Base64 string and back.
The npm package deterministic-base64-json receives a total of 1 weekly downloads. As such, deterministic-base64-json popularity was classified as not popular.
We found that deterministic-base64-json 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.