0.1.0 • Published 7 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_account
This 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-package
This 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-package
This will make it display:
this package ($inactive_package) has been renamed to $new_package. See repository for details
Install
npm i -g npm-inactive
Usage
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
7 years ago