I'm looking for a way to query npm package versions from the npm registry api. All I found until now is that I need to query the whole package metadata and filter the versions from there, Example: https://registry.npmjs.org/react-chuck/
It's ok for package with small amount of versions but for large amount of versions it's just too much time to query.
I thought that maybe there is something like the dist-tags api that query only the dist-tags, Example: https://registry.npmjs.org/-/package/react-chuck/dist-tags , the dist-tags are in the same scope as versions...
I don't mind to do it cli also npm view react-chuck versions
but this returns array as a string and array of strings.
I looked at those two links:
Anyone has a tip of champs maybe?
npm show react-chunk time --json
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With