
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
imap-parser
Advanced tools
IMAP command parser for use on both client and server. This is based on work in andris9/inbox and provides a parser for IMAP line based commands.
$ npm install imap-parser
To create an instance of the line parser:
var Parser = require('imap-parser')
var parser = new Parser()
The parser is a writable stream with some extensions.
Write some data to be parsed.
If a literal occurs ({123}\r\n) do not parse it, since the length is known. Just add it separately and it will included as the node value instead of length property.
Mark the end of the data, optionally passing one last chunk of data to be parsed.
Generates and returns a structured object with the data currently known. Useful if you need to check parse status in the middle of the process
To register for these events, do:
parser.on('EventName', function (data) {
})
Is emitted with a string as its data. This string is the entire unparsed content of the line.
Is emitted with a structured array as its data. This array is the result of parsing the line.
MIT
FAQs
A parser for IMAP line based commands
The npm package imap-parser receives a total of 116 weekly downloads. As such, imap-parser popularity was classified as not popular.
We found that imap-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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.