Socket
Book a DemoInstallSign in
Socket

patch-package-json

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patch-package-json

Patch the tarball address in a package.json from the registry

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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

install

npm i patch-package-json

usage

Exports two methods: url and json


var patch = require('patch');

var json = { /.package.json data from registry./ };

var data = patch.json(json, 'myregistry.foobar.com');

build status

build status

FAQs

Package last updated on 16 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts