Package detail

minify-registry-metadata

npm4.7kISC4.0.0

minimal regsitry packuments. :corgi:

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

changelog

Changelog

4.0.0 (2024-09-24)

⚠️ BREAKING CHANGES

  • minify-registry-metadata now supports node ^18.17.0 || >=20.5.0

    Bug Fixes

  • 005571a #68 align to npm 10 node engine range (@hashtagchris)

    Chores

  • 02d27db #70 enable auto publish (#70) (@reggi)
  • c6c1f02 #68 run template-oss-apply (@hashtagchris)
  • dc5ad34 #67 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot])
  • 69ffe0b #59 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)
  • 55d71a0 #65 postinstall for dependabot template-oss PR (@hashtagchris)
  • 712677a #65 bump @npmcli/template-oss from 4.22.0 to 4.23.3 (@dependabot[bot])

3.0.0 (2022-12-07)

⚠️ BREAKING CHANGES

  • This module now has an engines field of "node": "^14.17.0 || ^16.13.0 || >=18.0.0"

Bug Fixes

  • ce2c934 #18 move to template-oss (#18) (@wraithgar)