Validates
package.json
for all the user modules.
$ npm install --save npm-janitor
var npmJanitor = require('npm-janitor');
npmJanitor('hemanth', function(err, data){
if(!err) console.log(data);
});
// 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' ] } }
*/
- Promisifiy stuff?
MIT © Hemanth.HM