Nice little utility to help you research NPM packages.
You don't want to always reinvent the wheel do you? Neither do I. Well, this will help you research NPM packages a bit more. It does this by performing
npm search and then parsing out the package names and retreiving the
repository urls. It can then open up the repo urls in your browser. This way you can see how many stars the project has and investigate the quality of the code and documentation.
npm install -g npm-research
$ npm-research npm-research [0.1.0] Usage: npm-research [some search terms...] [options] Options: -b, --browser Open repos in browser -g, --gte [num] Only display/open those who have a dependents greater than specified number i.e. more popular
Perform basic research. Find the package name and description. Show the number of packages that depend upon the package. This way you can gauge popularity of the package.
Perform research, but filter out projects that have less than
1 depenedent. Open the repositories in your browser so that you can investigate the code.
After each NPM package information is downloaded, it is then cached for two days. This information can be found in
npm search is slows balls and TJ Holowaychuk's
npm-search isn't working right now. Maybe leverage Google search to speed things up?
Copyright 2012, JP Richardson email@example.com