npm-janitor
Validates
package.json
for all the user modules.
Install
$ npm install --save npm-janitor
Usage
var npmJanitor = ; ; // data would be array of objects that look like: /*{ module: 'an-async', homepage: 'https://github.com/hemanth/node-an-async', info: { valid: true, warnings: [ 'Missing recommended field: contributors' ], recommendations: [ 'Missing optional field: dependencies', 'Missing optional field: engines' ] } }*/
TODO
- Promisifiy stuff?
License
MIT © Hemanth.HM