Replicating scoped public packages from the _changes endpoint?


(Valeri Karpov) #1

Hi,

I’ve been tinkering with replicating the npm registry, but I’ve noticed that the _changes endpoint (for example, https://skimdb.npmjs.com/registry/_changes?descending=true&limit=100 ) doesn’t include public scoped packages like @babel/core or @mongoosejs/double. Anybody know how I can get the feed to include scoped packages?

Thanks,
Val


(Ewan Harris) #2

@vkarpov15, I think you’ll want to be using https://replicate.npmjs.com. As per https://github.com/npm/registry/blob/master/docs/REPLICATE-API.md, skimdb is unscoped packages only, replicate contains scoped packages


(Valeri Karpov) #3

That works. Thanks so much for your help, I appreciate it!


(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.