dom-camera

1.0.0 • Public • Published

dom-camera

NPM Version JavaScript Style Guide

Take a picture of a dom.

npm i dom-camera

Usage

const capture = require('dom-camera')

await capture('https://example.com', 'h1', 'test.png')

and the output:

test.png

API

####capture(url, selector, outputPath)

License

The MIT License

Package Sidebar

Install

npm i dom-camera

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • poga