0.1.0 • Published 9 years ago
npm-inactive v0.1.0
npm-inactive
Remove and deprecate a package on your npm profile
First, set an account where your inactive packages will be archived:
npm config set npm-inactive-account $inactive_accountThis will default to the value of npm whoami + "-inactive" (e.g. jamen-inactive)
Then you run npm-inactive with the package name you are inactivating
npm-inactive some-packageThis will set a deprecation message, and transfer the ownership from your account to the inactive account.
If you are inactivating a package because of a rename, give a second argument to improve the deprecation message:
npm-inactive some-package new-packageThis will make it display:
this package ($inactive_package) has been renamed to $new_package. See repository for detailsInstall
npm i -g npm-inactiveUsage
npm-inactive <package> [new-package]
Removes a package from your profile and sets a deprecation message. Provide new-package if you are inactiving because of a rename
npm config set npm-inactive-account <inactive-account>
Sets the username of where the inactive packages are transferred to
0.1.0
9 years ago