npms-io / npms-api

The https://npms.io API
MIT License
189 stars 30 forks source link

Package readme content is missing #72

Open lini opened 6 years ago

lini commented 6 years ago

Take for example the following package, which has readme content on the npmjs page: https://www.npmjs.com/package/nativescript-floatingactionbutton

The readme content, however, is not in the registry: http://registry.npmjs.org/nativescript-floatingactionbutton

and therefore no readme in the npms info as well: https://api.npms.io/v2/package/nativescript-floatingactionbutton

Is there a way for npms to retrieve the readme in some other?

For comparison, a package that has readme everywhere: https://www.npmjs.com/package/nativescript-push-notifications http://registry.npmjs.org/nativescript-push-notifications https://api.npms.io/v2/package/nativescript-push-notifications

abishekrsrikaanth commented 6 years ago

same applies for vue project as well, but I do see the content for it on https://www.npmjs.com/package/vue

satazor commented 5 years ago

It seems that https://www.npmjs.com/package/nativescript-floatingactionbutton has no readme in the npm info page.

What we could do is attempt to fallback to the repo README if there's one. That's actually easy to do because we download the package.

JoshuaAYoung commented 4 years ago

Hi there! I am part of a team of Thinkful bootcamp students that are using your wonderful package to create our final capstone project, npmm. We are using react-markdown to display npm readmes but are also running into this issue with many of them missing. Including some important packages like react, which surprised us. I'm assuming that was a conscious decision by react not to include a readme on the npm page. Weird though.

Anyway, just wondering if a fix for this was still in the works.

Thanks for the awesome API!