Closed fregante closed 6 years ago
The skimdb endpoint doesn't serve up scoped packages. There's a new endpoint for that: replicate.npmjs.com
https://github.com/nice-registry/package-stream is what I use to consume it:
const 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.
})
that module looks sweet! we should use this instead, together with the leveldb package cache
Seems to work now!
Yo @bfred-it just FYI the new canonical repo is https://github.com/nice-registry/ghub.io
Best to move/archive this one then
archive this one
good call
Example:
https://www.npmjs.com/package/@shinnn/eslint-config-node ✅ https://github.com/shinnn/eslint-config-node ✅ http://ghub.io/@shinnn/eslint-config-node ❌