Hacker News new | ask | show | jobs
by feross 3048 days ago
Yes, but fetching full npm package metadata (which includes the readme) for 100s of packages was really slow. I'll see if there's some other approach (perhaps getting the readmes from GitHub, or perhaps pre-processing all package readmes) that might work.
1 comments

Couldn't you use unpkg.com for this?

unpkg.com/:package@:version/:file

Sure, that would work. Then we'd be getting the readme version for the latest version, ignoring updates to the readme that have been made since the last publish. Will consider that approach.