soldair / minify-registry-metadata

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

License:MIT License


Languages

Language:JavaScript 100.0%