kevva / Screenshot Promise
Licence: mit
Promise wrapper around screenshot-stream
Programming Languages
javascript
184084 projects - #8 most used programming language
screenshot-promise
Promise wrapper around screenshot-stream
Install
$ npm install --save screenshot-promise
Usage
const fs = require('fs');
const screenshotPromise = require('screenshot-promise');
screenshotPromise('http://google.com', '1024x768', {crop: true}).then(buf => {
fs.writeFileSync('google.com-1024x768.png', buf);
});
API
See screenshot-stream.
License
MIT © Kevin Martensson
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].