# npm-update-all

> Update all npm packages in dependencies & devDependecies under package.json at once

Latest version **1.0.1** (published 2017-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install npm-update-all
pnpm add npm-update-all
yarn add npm-update-all
bun add npm-update-all
```

Provides the command `npm-update-all`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-05-08 |
| First published | 2017-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Savan Akbari |
| Maintainers | savanakbari |
| Keywords | npm-update, update all devdependencies, update all dependencies, package.json |

## Links

- npm: https://www.npmjs.com/package/npm-update-all
- npm.io page: https://npm.io/package/npm-update-all

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [cli-color](https://npm.io/package/cli-color.md) ^1.2.0
- [cli-spinner](https://npm.io/package/cli-spinner.md) ^0.2.6
- [prettify-js](https://npm.io/package/prettify-js.md) ^1.0.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-05-08
- 1.0.0 — 2017-05-06

## README

# npm-update-all

Update all dependencies & devDependencies in package.json at once.

*Global*  installation is recommended for cli usage.


## Install (cli)

```shell
    $ npm install npm-update-all -g
```
## CLI Usage
```shell

 //  Navigate to project root , where package.json is located & run.

   $ npm-update-all

```


## Install (project)

```shell
    $ npm install npm-update-all -D
```
## Usage
```javascript

 // In your server.js/index.js , run following code.

var updateAll = require('npm-update-all');
var json = require('./package.json');


updateAll(json);

```

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