shotsnap

0.2.1 • Public • Published

Shotsnap

Node.js web screenshot library without any webdriver dependency

Shotsnap - screenshot, web capture | Product Hunt

Usage

const shotSnap = require("shotsnap");
shotSnap.takeScreenshot({ pageUrl: 'https://google.com', saveFile: true, fileName: 'test.png' });

Result:

Props:
pageUrl: The page url you want to screenshot from
saveFile: true or false
fileName: filename for saving file
screenHeight: number of screen height screenWidth: number of screen width

Sponsors

Package Sidebar

Install

npm i shotsnap

Weekly Downloads

7

Version

0.2.1

License

MIT

Unpacked Size

25.6 kB

Total Files

20

Last publish

Collaborators

  • halitsever