Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including screenshot-capture with all npm packages installed. Try it out:

var API = require('screenshot-capture'); var api = new API({ access_key: 'access_key', secret_key: 'secret_key' }); var captureQuery = { url: 'https://en.wikipedia.org/wiki/Special:Random' }; api.capture(captureQuery) .then(function (result) { console.log('Capture Promise Resolve (image contains '+ result.length +' bytes)'); }) .catch(function (err) { console.log('Capture Promise Reject: ' + JSON.stringify(err)); });

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

screenshot-capture v0.2.1

Free URL to Screenshot API - capture crisp and clean snapshots of any website, with any device, any setting and lightning fast. Free for personal use.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free