getscreenshot.js 2.0.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getscreenshot.js",
3
- "version": "2.0.1",
3
+ "version": "4.0.0",
4
4
  "description": "Website screenshot getter. (No api key, No limit, 100% free)",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -63,15 +63,15 @@ const fs = require('fs')
63
63
  ```ts
64
64
 
65
65
  // Screenshot V1 (buffer)
66
- var data = await screenshotV1('https://vihanga.is-a.dev/')
67
- fs.writeFileSync('vihanga.is-a.dev',data)
66
+ var data = await screenshotV1('https://github.com/')
67
+ fs.writeFileSync('vihanga.png',data)
68
68
 
69
69
  // Screenshot V2 (buffer)
70
- var data = await screenshotV2('https://vihanga.is-a.dev/')
71
- fs.writeFileSync('vihanga.is-a.dev',data)
70
+ var data = await screenshotV2('https://github.com/')
71
+ fs.writeFileSync('vihanga.png',data)
72
72
 
73
73
  // Screenshot V3 (link)
74
- var data = await screenshotV1('https://vihanga.is-a.dev/')
74
+ var data = await screenshotV1('https://github.com/')
75
75
  console.log(data)
76
76
  ```
77
77