minify-registry-metadata
v4.0.0
Published
minimal regsitry packuments. :corgi:
Downloads
6,579
Keywords
Readme
minify-registry-metadata
this removes fields from registry metadata not required to install the module.
this is based on an internal npm rfc and im sure it will make its way to the docs soon.
var minify = require('minify-registry-metadata')
var request = require('request')
request.get('https://registry.npmjs.org/lodash',function(err,res,body){
var minifiedLodash = minify(JSON.parse(body))
console.log(minifiedLodash)
})