Cross-platform screenshot module, using external tools. Latest version: 0.1.1, last published: 8 years ago. Start using desktop-screenshot in your project by running `npm i desktop-screenshot`. There are 14 other projects in the npm registry using deskto
Capture a screenshot of your local machine Multi/Cross Platform Linux: required ImageMagickapt-get install imagemagick OSX: No dependencies required! Windows: No dependencies required! Promise based API JPG output (by default) Install $ npm install --save screenshot-desktop ...
$ npm install --save screenshot-desktop Usageconst screenshot = require('screenshot-desktop') screenshot().then((img) => { // img: Buffer filled with jpg goodness // ... }).catch((err) => { // ... })const screenshot = require('screenshot-desktop') screenshot({format: 'png'...
$ npm install --save screenshot-desktop Usage constscreenshot=require('screenshot-desktop')screenshot().then((img)=>{// img: Buffer filled with jpg goodness// ...}).catch((err)=>{// ...}) constscreenshot=require('screenshot-desktop')screenshot({format:'png'}).then((img)=>{//...
Dockerfile Use npm install Oct 5, 2020 LICENSE Add MIT license Sep 21, 2020 README.md Add Forum link Sep 21, 2020 browser.js removed referer header Oct 14, 2021 index.js change environment variable name for port Jan 10, 2021 package-lock.json update & cleaning Sep 17, 2021 ...
$ npm install --save screenshot-desktop Usage constscreenshot=require('screenshot-desktop')screenshot().then((img)=>{// img: Buffer filled with jpg goodness// ...}).catch((err)=>{// ...}) constscreenshot=require('screenshot-desktop')screenshot({format:'png'}).then((img)=>{//...