1.0.3 • Published 8 years ago

capstant v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

capstant

capture instant node.js module

Setup

On Mac OS X

$ brew install imagemagick

Install

$ npm install capstant

Usage

var capstant = require('capstant');

Examples

capstant.shot('http://google.com', './output/google.png').then(function(url) {
  console.log('finish');
});
capstant.shot('http://phiary.me', './output/phiary2.png', {
  phantomPath: 'slimerjs',
  delay: 1200,
  width: 320,
  height: 240,
  viewportSize: {
    width: 640,
    height: 480,
  },
}).then(function(url) {
  console.log('finish');
});

For Developer

Test

$ node test/test.js

License

MIT

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago