libraries.io
libraries.io copied to clipboard
wrong latest_download_url for scoped packages in the API of NPM
When I use the API (https://libraries.io/api/search?order=desc&platforms=npm&sort=created_at&api_key=KEY) to get the newly published packages of NPM, it provides the wrong latest_download_url
for all scoped packages.
For example, it should be "https://registry.npmjs.org/@fish-cli/template-vue3/-/template-vue3-1.0.0.tgz" for the package @fish-cli/template-vue3
but it provides "https://registry.npmjs.org/@fish-cli/template-vue3/-/@fish-cli/template-vue3-1.0.0.tgz".
Hoping for some help. Thanks!