sushan-tools

0.2.1-0 • Public • Published

sushan-tools

A tool collection for easier life.

NPM version npm download

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.

Readme

Keywords

Package Sidebar

Install

npm i sushan-tools

Weekly Downloads

0

Version

0.2.1-0

License

MIT

Unpacked Size

165 kB

Total Files

15

Last publish

Collaborators

  • dxd_sjtu