
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.
json-simple-parser
Advanced tools
The fastest pure-JS implementation for JSON I could come up with.
There's no point in actually using this function, it mainly exists as a benchmark, to see what the ceiling is for a pure-JS manually written and painfully written JSON parser. This implementation doesn't call JSON.parse internally, it may use use some regexes if they perform better though.
This is about ~2.5x slower than JSON.parse in Node v22.
npm install json-simple-parser
import parse from 'json-simple-parser';
// Let's parse some JSON
const json = `{
"foo": "bar",
"bar": 42,
"baz": true,
"qux": null,
"corge": [1, 2, 3],
"grault": {
"garply": "waldo"
}
}`;
const result = {
foo: 'bar',
bar: 42,
baz: true,
qux: null,
corge: [1, 2, 3],
grault: {
garply: 'waldo'
}
};
parse ( json ); // => result
MIT © Fabio Spampinato
FAQs
The fastest pure-JS implementation for JSON I could come up with.
We found that json-simple-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.