npm-package-stars
Get the stars of a npm package
Install
$ npm install --save npm-package-stars
Usage
const npmPackageStars = ; ; npmPackageStars;
API
npmPackageStars(package)
Returns a promise that resolves into the number of stars.
package
Type: string
Package to fetch stars from.
.users(package)
Returns a promise that resolves into an array of users starring the package.
package
Type: string
Package to fetch users starring the package from.
License
MIT © Andreas Gillström