Owen3H/twittxr

feat: make using puppeteer optional.

Closed this issue · 1 comments

Owen3H commented

Puppeteer is known to be annoying to work with, especially when running on platforms like Koyeb, Heroku, Netlify etc.
Instead, make puppeteer-extra an optional dependency and give clients a method like usePuppeteer().

Not using (default):

  • Directly calls Syndication API - same functionality as pre v0.6.0

If using:

  • Default browser will be headless: 'new'
  • Provide browser parameter that can be used instead.
Owen3H commented

Added in v0.7.0