Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to npm search break node-packages #2

Open
bcoe opened this issue May 16, 2015 · 2 comments
Open

updates to npm search break node-packages #2

bcoe opened this issue May 16, 2015 · 2 comments

Comments

@bcoe
Copy link

bcoe commented May 16, 2015

The npm-seach endpoint now only has 20 minutes of granularity, a good fix would be to use npm's couch follower feed, and the follow library:

https://github.com/iriscouch/follow

Basically you'd setup the follower to look at https://registry.npmjs.org, and you'd get notified as new publications come in.

@tubaxenor
Copy link
Owner

I will give it a look, thanks @bcoe !

@tubaxenor
Copy link
Owner

Seems like the stale=update_after search filter is broken, it's now only return packages within a day...
It's now returning today.json if my query time is within a day, which is pretty bad since it's not realtime data...

The follow package didn't work either follow on https://registry.npmjs.org or https://registry.npmjs.org/-/all

Previous one just won't trigger the update event, and the latter one is just too big... I will find another way for another night. Anyways, thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants