1.0.0 • Published 4 years ago
npms-score v1.0.0
Npms Score
Get the npms scores of a npm package.
Install
npm install npms-score
Usage
const npmsScore = require("npms-score");
(async () => {
await npmsScore("cross-spawn");
//=> { quality: 0.9995167144697813, popularity: 0.7509903024146316, maintenance: 0.9998891222511912 }
})()
API
npmsScore(name)
name
Type: string
The module name to get the scores for.
Related
- npms-api - Wrapper for the npms api.
1.0.0
4 years ago