node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


patch package json

Simple little module to rewrite the dist.tarball key in a package.json registry entry. So, you know, you can mirror it :)


npm i patch-package-json


Exports two methods: url and json

var patch = require('patch');
var json = { /.package.json data from registry./ };
var data = patch.json(json, '');

build status

build status