# deploy-from-npm

> Continuous deployments tailing npm

Latest version **1.1.0** (published 2016-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install deploy-from-npm
pnpm add deploy-from-npm
yarn add deploy-from-npm
bun add deploy-from-npm
```

Provides the command `deploy-from-npm`.

## 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.1.0 |
| Published | 2016-09-01 |
| First published | 2016-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 32 |
| Maintainers | juliangruber |

## Links

- npm: https://www.npmjs.com/package/deploy-from-npm
- Repository: https://github.com/juliangruber/deploy-from-npm
- Homepage: https://github.com/juliangruber/deploy-from-npm#readme
- Issues: https://github.com/juliangruber/deploy-from-npm/issues
- npm.io page: https://npm.io/package/deploy-from-npm

## Dependencies (8)

- [pump](https://npm.io/package/pump.md) ^1.0.1
- [ndjson](https://npm.io/package/ndjson.md) ^1.4.3
- [rimraf](https://npm.io/package/rimraf.md) ^2.5.4
- [semver](https://npm.io/package/semver.md) ^5.3.0
- [mutexify](https://npm.io/package/mutexify.md) ^1.1.0
- [comandante](https://npm.io/package/comandante.md) 0.0.1
- [hyperquest](https://npm.io/package/hyperquest.md) ^2.0.0
- [silent-npm-registry-client](https://npm.io/package/silent-npm-registry-client.md) ^2.1.0

## Recent versions

- 1.1.0 (latest) — 2016-09-01
- 1.0.10 — 2016-08-14
- 1.0.9 — 2016-08-14
- 1.0.8 — 2016-08-14
- 1.0.7 — 2016-08-14
- 1.0.6 — 2016-08-14
- 1.0.5 — 2016-08-14
- 1.0.3 — 2016-08-13
- 1.0.2 — 2016-08-13
- 1.0.1 — 2016-08-13
- 1.0.0 — 2016-08-13
- 0.0.1 — 2016-08-13

## README

# deploy-from-npm

  Continuous deployment tool using npm.
  
  Watches npm for all updates to top level dependencies, then if there's a match it runs tests, upgrades your app and
  fires your restart command.

  ![](https://usercontent.irccloud-cdn.com/file/JXWnxpnW/Screen%20Shot%202016-08-13%20at%2014.56.31.png)

## Usage

```bash
$ cd my-service

$ # use something like psy or forever to run your service
$ npm install -g psy
$ psy start -n my-service -- npm start

$ # use deploy-from-npm to restart it once a dependency has been updated
$ npm install -g deploy-from-npm
$ deploy-from-npm . "psy restart my-service"
```

And in general:

```bash
$ deploy-from-npm

Usage:

  $ deploy-from-npm DIR RELOAD

Example:

  $ deploy-from-npm /srv/my-service "kill $server-pid"

```

## Installation

```bash
$ npm install -g deploy-from-npm
```

## Kudos

  This was [@mafintosh](https://github.com/mafintosh)'s idea, I'm just implementing it.

## License

  MIT

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