🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

web-screenshot.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-screenshot.js

Capture Website Screenshots easily with this package!

1.0.3
latest
npm
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Screenshot.js

  • Discord: https://discord.gg/kFhjUU3DA2

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 ...

Keywords

screenshot

FAQs

Package last updated on 19 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts