Skip to content

soldair/minify-registry-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
})

About

how big will docs be if we trim some things out?

Resources

License

Stars

Watchers

Forks

Packages

No packages published