Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

puppeteer-prerenderer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-prerenderer

Uses puppeteer to get the HTML of a page and save it to a file (or optionally output it to the console).

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

puppeteer-prerenderer

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

parameterdescriptionrequiredexample
-u, --urlThe url you want to rendertrue--url="http://www.google.com"
-o, --outputThe ouput pathtrue--output="./test.html"
-t, --timeThe amount of time (in milliseconds) to wait before renderingfalse--time=1000
-e, --elementcss selector to wait for before renderingfalse--element="#q"
-m, --minifyif flag is passed will minify html (and inline js/css)false--minify

FAQs

Package last updated on 08 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc