spectacle-renderer
v0.0.3
Published
Render Spectacle presentations with Headless Chrome
Downloads
267
Readme
This is a simple CLI tool that uses headless Chrome to export a PDF version of Spectacle presentations.
Install
npm install -g spectacle-renderer
Usage
spectacle-renderer [options]
API
Option | Type | Description
:-----------------------|:--------------|:--------------------------------
-u --url
| String
| The URL spectacle is running at (default: http://localhost:3000)
-o --output
| String
| The output filename (default: presentation.pdf)
-p --print
| Boolean
| Enable print mode (black/white) (defaut: false)
-d --delay
| Boolean
| Delay time to let page render (default: 2000)
-c --chromium
| String
| Path to Chromium download