This example probably requires Node v7.9.0+
npm install
node server.js
Once you run the server, you can access it like so (default configuration):
http://localhost:3000/?url=http://stackoverflow.com&w=1024&h=768
This project uses dotenv. Drop a file called .env
file in the root of the project.
The following configuration options are supported:
PORT=3000
USERNAME=pdf
PASSWORD=gimme