web-screenshot.js

1.0.3 • Public • Published

Screenshot.js

Usage

const web = require("web-screenshot.js")

let image = await web.capture("https://www.google.com")

console.log(image)
// Returns Screenshot Image Buffer

// <Buffer 89 50 4e 47 0d Oa la 0a 00 00 00 Od 49 48 44 52 00 00 02 58 00 00 02 58 08 06 00 00 00 be 66 98 dc 00 00 00 25 74 45 58 7 4 53 6f 66 74 77 61 72 65 00 ...

Package Sidebar

Install

npm i web-screenshot.js

Weekly Downloads

12

Version

1.0.3

License

MIT

Unpacked Size

35.3 kB

Total Files

4

Last publish

Collaborators

  • rocky_1000