Ask HN: How to find better NPM packages?

2 points by alexkwan ↗ HN
I know it's common to find npm packages based on number of downloads from npmtrends. But how can I discover better alternatives, like better-sqlite3 vs sqlite3, when the newer package is yet to take over the old one?

1 comment

[ 4.1 ms ] story [ 17.9 ms ] thread
I usually look at the keywords at the bottom of the readme on project's npm page and click on the one that interests me (or I search for "keywords:sqlite3", for example). From there, it requires a lot of reading and looking at the project health (number of issues, commits, documentation, etc).