0.0.1 • Published 1 year ago

@szczepano/pitch2pdf v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

pitch2pdf

Description

Download pitch embedded presentation and save as pdf

Requirements

  • chrome browser

to change browser modify those lines in src/index.ts

const options = new Options().headless();
const driver = await new Builder().forBrowser('chrome').setChromeOptions(options).build();

Install

npm install && npm run build

Example

./bin/pitch2pdf https://pitch.com/embed/foo/bar

Output will be saved to bar.pdf