Scanning an image in osx from Node
npm install --save node-osx-scanner
var scan = require("node-osx-scanner");
var response = scan();
console.log(response);
// {state:"Finished", imagePath:"./tmp/14338224024.jpeg"}
Scan params:
- tmpFolder : temporary folder of scanned images
- verbose : [true|false] log osx-scanner stdout
osx-scanner - Scanning in osx from command-line