npm unpublish lodash --force

Category: Node.js & npm/yarn

npm unpublish lodash --force

Remove an entire package from the registry

Deletes every version of a package from the npm registry, which is permanent and can break every project that depends on it. The --force flag is mandatory because removing a whole package is destructive; unpublishing a single version within 72 hours does not need it. Prefer npm deprecate to warn users instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.