0.0.2 • Published 11 years ago

sss-node v0.0.2

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

ScreenshotShark in Node

           ,
         .';
     .-'` .'
   ,`.-'-.`\
  ; /     '-'
  | \       ,-,
  \  '-.__   )_`'._
   '.     ```      ``'--._
  .-' ,                   `'-.
   '-'`-._           ((   o   )
    jgs   `'--....(`- ,__..--'
                   '-'`

ascii art cred

This is the Node.js library for creating screenshot URLs using the ScreenshotShark service.

We like CoffeeScript:

sss = require('sss-node')('api-key', 'secret')

opts =
  url: 'http://www.google.com'
  op:  'f:200:200'

console.log sss(opts)

But, if you prefer vanilla JS:

var sss = require('sss-node')('api-key', 'secret');

var opts = {
  url: 'http://www.google.com',
  op:  'f:200:200'
};

console.log(sss(opts));

Check out ScreenshotShark for your screenshotting needs.