Easy webpage screenshots

cutiecapt - easy webpage screenshots for node

(CutyCapt bindings)

Build the library using cake build and link it locally with npm link

The path to CutyCapt

exports.path = 'CutyCapt'

Additional options to pass (camel cased, e.g. jsCanOpenWindows)

exports.options = {}

Capture, cb is passed false on success or otherwise an error object

exports.capture = function (site, out, cb)

Require the library

cutiecapt = require('cutiecapt');

Set your path to CutyCapt (defaults to CutyCapt)

cutiecapt.path = './CutyCapt';

Capture a webpage

cutiecapt.capture('', 'google.png');