
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
Transform stream for parsing large XML files. It is using SAX module internally. Emits objects: one object per each selected node.
$ npm install sax-stream
Use as any transform stream: pipe request or file stream to it, pipe it downstream to another
transform/writeable stream or handle data event.
var saxStream = require('sax-stream');
request('http://blog.npmjs.org/rss')
.pipe(saxStream({
strict: true,
tag: 'item'
})
.on('data', function(item) {
console.log(item);
});
Create passing options object:
tag - name of the tag to select objects from XML filehighWaterMark - size of internal transform stream buffer - defaults to 350 objectsstrict - default to false, if true makes sax parser to accept valid XML onlytrim, normalize, lowercase, xmlns, position, strictEntities - passed to sax parserMIT
FAQs
Transform stream implemented using SAX parser
The npm package sax-stream receives a total of 1,728 weekly downloads. As such, sax-stream popularity was classified as popular.
We found that sax-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.