# npm-inactive

> Remove and deprecate a package on your npm profile

Latest version **0.1.0** (published 2017-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install npm-inactive
pnpm add npm-inactive
yarn add npm-inactive
bun add npm-inactive
```

Provides the command `npm-inactive`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-06-11 |
| First published | 2017-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jamen |

## Links

- npm: https://www.npmjs.com/package/npm-inactive
- Repository: https://github.com/jamen/npm-inactive
- Homepage: https://github.com/jamen/npm-inactive#readme
- Issues: https://github.com/jamen/npm-inactive/issues
- npm.io page: https://npm.io/package/npm-inactive

## Recent versions

- 0.1.0 (latest) — 2017-06-11

## README

# npm-inactive

Remove and deprecate a package on your npm profile

First, set an account where your inactive packages will be archived:

```sh
npm config set npm-inactive-account $inactive_account
```

This will default to the value of `npm whoami` + `"-inactive"`  (e.g. `jamen-inactive`)

Then you run `npm-inactive` with the package name you are inactivating

```sh
npm-inactive some-package
```

This will set a deprecation message, and transfer the ownership from your account to the inactive account.

If you are inactivating a package because of a rename, give a second argument to improve the deprecation message:

```sh
npm-inactive some-package new-package
```

This will make it display:

```
this package ($inactive_package) has been renamed to $new_package.  See repository for details
```

## Install

```sh
npm i -g npm-inactive
```

## Usage

### `npm-inactive <package> [new-package]`

Removes a package from your profile and sets a deprecation message.  Provide `new-package` if you are inactiving because of a rename

### `npm config set npm-inactive-account <inactive-account>`

Sets the username of where the inactive packages are transferred to

---
_Source: https://npm.io/package/npm-inactive · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
