
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
kerchief-parser
Advanced tools
A streaming nodejs Kerchief parser, which validates every message against the JSON schema. Currently up to Kerchief spec draft 01.
The Kerchief parser assumes a NodeJS environment. So go ahead and make sure you've got that setup, as well as yarn.
Add Kerchief parser as a dependency:
$ yarn add kerchief-parser
Cool. Now, use it:
const Parser = require('kerchief-parser');
const kerchiefParser = new Parser();
kerchiefParser.on('testStarted', testStarted => {
console.log(testStarted);
});
kerchiefParser.write(JSON.stringify({
testStarted: {
name: "This is my test!",
id: "5226c9ce-0dc8-4ca5-95f7-23016716be70"
}
}));
The parser may emit three different types of event:
testStarted: the complete Kerchief messagetestResult: the complete Kerchief messageinvalidMessage: a TypeError (which your consumer may then throw, if needed).$ yarn test
Pull requests welcome!
We use SemVer for versioning.
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Node Kerchief Parser
The npm package kerchief-parser receives a total of 2 weekly downloads. As such, kerchief-parser popularity was classified as not popular.
We found that kerchief-parser 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.