This module rewrites the to-install branches of dependencies.
This is usable in case you wants to deploy your rollout on different environments, and you have dependencies per environment, like we do have in some projects.
$ npm i -g rewrite-dependencies-branches-for-npm $ rebranch-dependencies package.json myHipNewFeatureBranch
Require as module
Get manipulated package.json back (as object)
var pathToJson =lib = ;json = lib;
Directly write manipulated package.json
var pathToJson =lib = ;lib;