neocotic / convert-svg

Node.js packages for converting SVG into other formats using headless Chromium
MIT License
198 stars 45 forks source link

Options can be passed directly to puppeteer.launch #27

Closed neocotic closed 6 years ago

neocotic commented 6 years ago

This implements the feature requested in #25 by allowing options to be passed to puppeteer.launch.

A new puppeteer option has been added to existing options parameter for API#convert and API#convertFile and a new options parameter has been added to API#createConverter that only contains the puppeteer option.

neocotic commented 6 years ago

Unfortunately, I couldn't find a good way to test this right now. I might try to increase coverage in the future.