1.1.0 • Published 6 years ago

nanosnap v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Nanosnap

A simple micorservice for taking screenshots of websites.

Install

$ npm install nanosnap

Usage

Start server

nanosnap

Take a screenshot

https://<instance-url>/?url=<url>[&width=<width>&height=<height>&delay=<delay>]

Options

NameDefaultDescriptionOptional
urlnullThe website's url
width1200The screenshot's width
height950The screenshot's height
delay0Delay after the network is idle

CLI

$ npm install --global nanosnap
$ nanosnap

  Usage
    nanosnap

  Options
    --port The port you want nanosnap to listen to [Default: 3000]

  Examples
    $ nanosnap --port 80

License

MIT © Tobias Herber