New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shotsnap

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shotsnap - npm Package Compare versions

Comparing version 0.1.4 to 0.2.1

.idea/workspace.xml

20

package.json
{
"name": "shotsnap",
"version": "0.1.4",
"version": "0.2.1",
"description": "Node.js web screenshot library without any webdriver dependency",
"main": "src/index.js",
"main": "build/src/index.js",
"scripts": {
"test": "jest"
"test": "jest",
"build": "tsc"
},

@@ -31,9 +32,14 @@ "repository": {

"dependencies": {
"buffer": "^6.0.3",
"fs": "^0.0.1-security",
"node-fetch": "^2.6.7"
"@types/node": "^18.14.1",
"node-fetch": "^2.6.9",
"prettier": "^2.8.4"
},
"devDependencies": {
"jest": "^29.1.2"
"@babel/preset-typescript": "^7.21.0",
"@jest/globals": "^29.4.3",
"@types/node-fetch": "^2.6.2",
"jest": "^29.4.3",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
}
}

@@ -0,10 +1,10 @@

<p align="left"><h3><a href="https://shotsnap.vercel.app/">Shotsnap</a></h3>
Node.js web screenshot library without any webdriver dependency<br><br>
<a href="https://www.producthunt.com/posts/shotsnap?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-shotsnap" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=361871&theme=light" alt="Shotsnap - screenshot&#0044;&#0032;web&#0032;capture | Product Hunt" height="30" /></a>
</p>
<p align="right"><img src="https://i.ibb.co/3dMGNbQ/9179fcb5-b9e2-4a34-be0a-80c4318ac199.png"></p>
<h2 align="center">Usage</h2>
<p align="center">
<h1 align="center"><img height="40px" src="https://ph-files.imgix.net/9179fcb5-b9e2-4a34-be0a-80c4318ac199.png?auto=format&auto=compress&codec=mozjpeg&cs=strip&w=72&h=72&fit=crop&bg=0fff&dpr=2">
ShotSnap</h1>
<p align="center">
Node.js web screenshot library without any webdriver dependency
<br>
<b>Usage:</b>
<br>
<code align="center">

@@ -16,3 +16,3 @@ const shotSnap = require("shotsnap");</code><br>

<b>Result:</b><br>
<img height="500px" src="https://i.ibb.co/cQtvpqp/screenshot.png">
<img height="500px" src="https://i.ibb.co/W6JKvnz/screenshot-1.png">
</p>

@@ -25,7 +25,8 @@

<code>fileName: filename for saving file</code><br>
<code>screenSize: array contains height and width (default 820*768)</code>
<code>screenHeight: number of screen height</code>
<code>screenWidth: number of screen width</code>
</p>
<p align="center">
<a href="https://www.producthunt.com/posts/shotsnap?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-shotsnap" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=361871&theme=light" alt="Shotsnap - screenshot&#0044;&#0032;web&#0032;capture | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
</p>
<h2 align="center">Sponsors</h2>
<p align="center"><a href="https://papadigi.com/"><img height="100" src="https://i.ibb.co/w0xTp4N/Whats-App-Image-2022-10-08-at-16-30-55.jpg"></a></p>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc