Skip to content

aube deprecate

  • Usage: aube deprecate [FLAGS] <PACKAGE> <MESSAGE>

Mark published versions of a package as deprecated on the registry

Arguments

<PACKAGE>

Package spec: name, name@version, or name@<range>. Omitting the version deprecates every published version

<MESSAGE>

Deprecation message shown to installers. Pass an empty string to clear an existing deprecation (or use aube undeprecate)

Flags

--dry-run

Don't PUT anything — print which versions would be touched and exit

--otp <CODE>

One-time password from a 2FA authenticator; sent as npm-otp

--registry <URL>

Override the registry URL for this call (takes precedence over .npmrc). Scoped packages still honor their scoped registry unless this flag is given

Released under the MIT License.