# stop

> Make a dynamic website static by downloading it.

Latest version **3.1.0** (published 2016-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install stop
pnpm add stop
yarn add stop
bun add stop
```

Provides the command `stop`.

## 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 | 3.1.0 |
| Published | 2016-08-27 |
| First published | 2013-01-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 41 |
| Author | ForbesLindesay |
| Maintainers | forbeslindesay |

## Links

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

## Dependencies (14)

- [css](https://npm.io/package/css.md) ^2.1.0
- [chalk](https://npm.io/package/chalk.md) ^1.1.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [throat](https://npm.io/package/throat.md) ~1.0.0
- [barrage](https://npm.io/package/barrage.md) ^1.0.0
- [cheerio](https://npm.io/package/cheerio.md) ^0.22.0
- [cssdeps](https://npm.io/package/cssdeps.md) ^1.0.0
- [figures](https://npm.io/package/figures.md) ^1.3.3
- [promise](https://npm.io/package/promise.md) ^7.1.1
- [htmldeps](https://npm.io/package/htmldeps.md) ^1.1.0
- [clean-css](https://npm.io/package/clean-css.md) ^3.4.19
- [uglify-js](https://npm.io/package/uglify-js.md) ^2.7.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^3.0.0
- [then-request](https://npm.io/package/then-request.md) ^2.2.0

## Recent versions

- 3.1.0 (latest) — 2016-08-27
- 3.0.1 — 2014-11-12
- 3.0.0 — 2014-11-12
- 3.0.0-rc1 — 2014-04-10
- 2.1.2 — 2013-09-30
- 2.1.1 — 2013-05-29
- 2.1.0 — 2013-05-29
- 2.0.1 — 2013-05-14
- 2.0.0 — 2013-05-14
- 1.1.0 — 2013-03-30
- 1.0.0 — 2013-03-25
- 0.0.0 — 2013-01-12

## README

# Stop

Make a dynamic website static by downloading it.

## Installation

```
$ npm install stop
```

## Example Usage

```js
var url = require('url');
var stop = require('stop');

stop.getWebsiteStream('http://example.com', {
  filter: function (currentURL) {
    return url.parse(currentURL).hostname === 'example.com';
  },
  parallel: 1
})
.syphon(stop.addFavicon())
.syphon(stop.addManifest('/app.manifest', {addLinks: true}))
.syphon(stop.minifyJS())
.syphon(stop.minifyCSS({deadCode: true}))
.syphon(stop.log())
.syphon(stop.checkStatusCodes([200]))
.syphon(stop.writeFileSystem(__dirname + '/output'))
.wait().done(function () {
  console.log('success');
});
```

## License

  MIT

  If you find it useful, a payment via [gittip](https://www.gittip.com/ForbesLindesay) would be appreciated.

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