# web-capture

> webshot wrapper with cli and promises

Latest version **0.1.2** (published 2017-02-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install web-capture
pnpm add web-capture
yarn add web-capture
bun add web-capture
```

Provides the command `web-capture`.

## 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.2 |
| Published | 2017-02-25 |
| First published | 2017-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jensen Bernard |
| Maintainers | jense5 |
| Keywords | web-capture |

## Links

- npm: https://www.npmjs.com/package/web-capture
- Repository: https://github.com/Jense5/web-capture
- Homepage: https://github.com/Jense5/web-capture#readme
- Issues: https://github.com/Jense5/web-capture/issues
- npm.io page: https://npm.io/package/web-capture

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [is-url](https://npm.io/package/is-url.md) ^1.2.2
- [webshot](https://npm.io/package/webshot.md) ^0.18.0
- [winston](https://npm.io/package/winston.md) ^2.3.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [commitizen](https://npm.io/package/commitizen.md) ^2.9.6
- [cz-conventional-changelog](https://npm.io/package/cz-conventional-changelog.md) ^2.0.0

## Recent versions

- 0.1.2 (latest) — 2017-02-25
- 0.1.1 — 2017-02-25
- 0.1.0 — 2017-02-25
- 0.0.3 — 2017-02-25
- 0.0.2 — 2017-02-25
- 0.0.1 — 2017-02-25

## README

<h1 align="center">Web Capture</h1>

<p align="center"><b>Promise and cli wrapper for <a href="https://github.com/brenden/node-webshot">node-webshot</a></b></p>

<p align="center">
  <img src="https://img.shields.io/travis/Jense5/web-capture.svg?style=flat-square"/>
  <img src="https://img.shields.io/npm/v/web-capture.svg?style=flat-square"/>
  <img src="https://img.shields.io/npm/l/web-capture.svg?style=flat-square"/>
  <img src="https://img.shields.io/codecov/c/github/Jense5/web-capture.svg?style=flat-square"/>
  <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square"/>
</p>

```sh
# Capture screenshots of websites via terminal.
$ npm install -g web-capture
$ web-capture --url 'http://consultant.js.org' --output 'consultant.png'
$ open 'consultant.png'
```

```js
// Use it via the module.
import capture from 'web-capture';
capture('http://consultant.js.org', 'consultant.png')
.then(() => winston.info('Done!'))
.catch(error => winston.error(error));
```

<p align="center" style="font-family:monospace"><b>- MIT -</b></p>

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