
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.
resp-parser
Advanced tools
A grammar and stream-friendly parser for the RESP protocol.
Crafted with ♡ by Appology
Made possible by the super awesome nearley parser toolkit.
Bootstrapped with nearley-template.
Please keep in mind that this project is not yet battle tested.
You can submit new issues using GitHub Issues
npm i resp-parser --save
Parses RESP into an Abstract Syntax Tree (AST) for further processing.
var RespParser = require('resp-parser')
var parser = new RespParser()
// optional: call feed more than once if needed
parser.feed('*2\r\n*2\r\n:1\r\n$7\r\ntesting\r\n$7\r\ntesting\r\n')
console.log(JSON.stringify(parser.results))
{
"type": "Array",
"length": 2,
"value": [{
"type": "Array",
"length": 2,
"value": [{
"type": "Integer",
"value": 1
}, {
"type": "BulkString",
"length": 7,
"value": "testing"
}]
}, {
"type": "BulkString",
"length": 7,
"value": "testing"
}]
}
Check out the release notes.
RESP Protocol documentation can be found at: https://redis.io/topics/protocol
FAQs
A grammar and parser for the RESP protocol.
We found that resp-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.

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.