{"id":"ea59c11b-afd5-4216-95f5-9c1f89aaefe0","task":"Unpublish a package or version from the npm registry","domain":"npmjs.com","steps":["Consider whether you actually want removal - npm deprecate is usually safer for encouraging upgrades.","Remove a single version with `npm unpublish <name>@<version>`; if you omit the version or remove all versions, the whole package entry is removed.","If no package spec is given, the name and version are read from package.json in the current directory.","Removing an entire package (all versions) requires `--force`.","Confirm the removal with `npm view <name>` (should return an error for the removed version) or the package page."],"gotchas":["A name+version that is unpublished can never be reused - you must publish under a new version number.","After unpublishing an ENTIRE package you cannot publish any new versions of it for 24 hours.","Unpublishing an entire package needs --force, which the docs strongly caution against using without a clear reason.","The registry returns an error if you are not logged in.","dry-run does NOT work for this network command.","Official docs: https://docs.npmjs.com/cli/v10/commands/npm-unpublish"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T05:21:25.031Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T05:21:25.031Z"},"url":"https://mcp.waymark.network/r/ea59c11b-afd5-4216-95f5-9c1f89aaefe0"}