The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
how to remove a package
I want to remove my published package
I found how to remove packages.
command “npm unpublish @scope package version”
but I can’t understand what “@scope” means in this line
I have a package in the scope “@shadowspawn” called “forest-arborist” here: https://www.npmjs.com/package/@shadowspawn/forest-arborist
The command-line help for unpublish says:
npm unpublish [<@scope>/]<pkg>[@<version>]
So for me unpublishing version 4.1.6 would be:
npm unpublish @firstname.lastname@example.org
The documentation page for scope (which you may have seen) is: https://docs.npmjs.com/misc/scope
With the default registry (
registry.npmjs.org), unpublish is only allowed with versions published in the last 72 hours. If you are trying to unpublish a version published longer ago than that, contact email@example.com.
https://www.npmjs.com/package/mixins-less This is what the package looks like and the path to it, and I’m sorry I don’t understand what to paste outside of @scope to remove the package
Your package was not published with a scope, so just:
npm unpublish mixins-less
npm unpublish firstname.lastname@example.org
Yes. (Because past 72 hours.)