You can't really do it. You have to create a new one.
But first you have to label the old one with 'deprecated' notification:
$ npm deprecate github-label-maker@1.0.0 "WARNING: This module has been renamed to github-manager-cli. Please install it instead. See https://github.com/99xt/github-manager-cli for more information."
After this, accept my pull request with package name change to github-manager-cli and execute:
$ npm publish
To rename a project and npm package, you have to do the following steps:
$ git remote set-url origin git@github.com:99xt/github-manager-cli
or if you are using HTTPS instead of SSH:
$ git remote set-url origin https://github.com/99xt/github-manager-cli.git
You can't really do it. You have to create a new one. But first you have to label the old one with 'deprecated' notification:
$ npm deprecate github-label-maker@1.0.0 "WARNING: This module has been renamed to github-manager-cli. Please install it instead. See https://github.com/99xt/github-manager-cli for more information."
After this, accept my pull request with package name change to
github-manager-cli
and execute:$ npm publish