1.0.2 • Published 1 year ago

@amosayomide05/nodescreenshot v1.0.2

Weekly downloads
-
License
MIT License
Repository
github
Last release
1 year ago

NodeScreenshot by amosayomide05

This module lets you easily create screenshots of web pages for free without the use of any API.

Installation

Using npm:

npm install @amosayomide05/nodescreenshot

Take a screenshot

var nodeScreenshot = require('@amosayomide05/nodescreenshot');

const screenshot = await nodeScreenshot('https://amosayomide05.github.io');

Note that this function returns a Promise that resolves with a Buffer containing the screenshot data. You can use the Buffer class to save the screenshot to a file or manipulate the data in some other way.