npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

puppeteer-prerenderer

1.0.6 • Public • Published

puppeteer-prerenderer

Usees puppeteer to get the html of a page and save it to a file (or optionally output it to the console)

parameter description required example
-u, --url The url you want to render true --url="http://www.google.com"
-o, --output The ouput path true --output="./test.html"
-t, --time The amount of time (in milliseconds) to wait before rendering false --time=1000
-e, --element css selector to wait for before rendering false --element="#q"
-m, --minify if flag is passed will minify html (and inline js/css) false --minify

Keywords

none

install

npm i puppeteer-prerenderer

Downloadsweekly downloads

1

version

1.0.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability