6 ms·
Did you consider the approach of scanning through the readme and looking for urls to known donation sites? Maybe this could be done separately to add to the lis
by timlyo 9y ago
Did you consider the approach of scanning through the readme and looking for urls to known donation sites? Maybe this could be done separately to add to the list?
- feross 9y agoYes, 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.
- michaelbazos 9y agoCouldn't you use unpkg.com for this? unpkg.com/:package@:version/:file
- feross 9y agoSure, 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.