Skip to content

v1.0.3 - Initial Release

Latest
Compare
Choose a tag to compare
@basantsd basantsd released this 30 Jun 05:58
· 1 commit to main since this release

screenshot-win

Capture a screenshot of your local machine

  • Multi/Cross Platform
    • Linux: Comming soon!
    • OSX: No dependencies required!
    • Windows: No dependencies required!
  • Promise based API
  • JPG output (by default)

Install

$ npm install --save screenshot-win

Usage

const screenshot_win = require('screenshot-win')

screenshot_win().then((data) => {
   console.log(data); 
});

WITH Parameters

const screenshot_win = require('screenshot-win')

screenshot_win("yourpath/filename","format").then((data) => {
   console.log(data); 
});
  • [Note:] Allow file format (jpg,png only)

Licence

MIT © Basant Singh

Maintainers

*Basant Singh