
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Javascript implementation of AltJSON encoding. AltJSON is an alternative encoding for JSON designed to be more efficient while maintaining the same data model. Use JSON as your regular interface but speed it up when available using AltJSON.
More information about AltJSON is available here.
AltJSON.js works in node and in the browser. However it requires the Encoding API which is not implemented in all environments. In node the polyfill will be installed as a dependency but for browsers such as chrome a polyfill can be used.
require(["altjson"], function(AltJSON) {
// Load via AMD.
});
// OR
var AltJSON = require("altjson"); // In node.
// OR
AltJSON; // When just included in a webpage.
AltJSON.encode([1,2,3]) //=> Uint8Array([0xC3,1,2,3])
AltJSON.decode(new Uint8Array([0x81])) //=> true
FAQs
An alternative, more efficent, encoding for JSON.
The npm package altjson receives a total of 0 weekly downloads. As such, altjson popularity was classified as not popular.
We found that altjson 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 ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.