1.5.0 • Published 4 years ago

backup-global v1.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

backup-global

npm npm npm

Backup your global packages.

Getting Started

npm install --global backup-global

Usage

backup

bkg b

or

backup-global backup

Backup all your global packages to ~/npm.global.txt

install

bkg i

or

backup-global install

Use ~/npm.global.txt to install your backup

file

bkg f

or

backup-global file

You can use this command to find your backup file

Change Logs

1.5.0

Support yarn packages

backup

Default option is backup yarn packages

Use these command to not backup yarn packages

bkg b --no-yarn

or

backup-global backup --no-yarn

install

Default option is install yarn packages

Use these command to not install yarn packages

bkg i --no-yarn

or

backup-global install --no-yarn

1.4.0

Use custom backup file

backup

Default file is ~/npm.global.txt

Use these command to use custom backup file

bkg b -o <filePath>

or

backup-global backup --output <filePath>

install

Default file is ~/npm.global.txt

Use these command to use custom backup file

bkg i -i <filePath>

or

backup-global install --input <filePath>

1.3.0

Show backup file

1.2.0

Support comments

1.1.0

Add version control

backup

Default option is backup packages with version

Use these command to backup packages without version

bkg b -n

or

backup-global backup --no-version

install

Default option is install packages with version

Use these command to install packages without version

bkg i -n

or

backup-global install --no-version

License

This project is licensed under the MIT License

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.3.0-0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago