
Security News
gem.coop Tests Dependency Cooldowns as Package Ecosystems Move to Slow Down Attacks
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.
package-stream
Advanced tools
An endless stream of clean package data from the npm registry.
See also all-the-packages, a similar package designed for offline use.
npm install package-stream --save
The stream is an event emitter that emits two events: pkg and up-to-date.
The up-to-date event is emitted when the stream reaches the end of all
existing packages, but unlike typical read streams, this stream has no end
event. It remains open indefinitely, emitting package events as new package
versions are published to the npm registry in real time.
var registry = require('package-stream')()
registry
.on('package', function (pkg) {
// nice clean package object
})
.on('up-to-date', function () {
// consumed all changes (for now)
// The stream will remain open and continue receiving package
// updates from the registry as they occur in real time.
})
The changes-stream package is used
under the hood, and
all of its options
are supported by package-stream. The default options used by package-stream
are:
{
db: 'https://skimdb.npmjs.com/registry',
include_docs: true
}
The options you provide are merged with the defaults above.
Each package instance has convenience methods like pkg.dependsOn(pkgName)
and pkg.mentions(query). To see the full list, check out the
nice-package documentation.
npm install
npm test
MIT
Generated by package-json-to-readme
FAQs
An endless stream of clean package data from the npm registry.
We found that package-stream 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
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.