nitro-webshot
v1.0.7
Published
Downloads
8
Readme
nitro-webshot
The goal of this proyect is to provide a way to render current page in server side to avoid cross-browser issues.
Installation
npm install nitro-webshot --save
Quick usage
require('nitro-webshot').server(3000, '0.0.0.0');
Testing in Browser
// copy and paste following into your browser console:
(function (d) {
var s=d.createElement('script');
s.src='http://0.0.0.0:3000/nitro-webshot.js';
d.head.appendChild(s)
})(document);
// once loaded execute following:
var request = nitroWebshot.render();
TODO
- [ ] Try http://slimerjs.org/