sushan-tools
A tool collection for easier life.
Install
npm install sushan-tools -g
yarn global add sushan-tools
Usage
$ sushan-tools run ${CMD}
CMD Api
replace-import (deprecated)
options: -i [old variable] [new variable] -m [old module] [new module]
It will tansform js fils under src dir replacing code like import oldVariable from "oldModule"
to the new variable and new module you want.
It will also update the dependencies in pkg.json.
(deprecated) It will alter the js code's format.