Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

pressrun

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pressrun

Generate static HTML pages a webapp minimal bundle.

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

pressrun

Generate static HTML pages a webapp minimal bundle.

Installation

npm install pressrun

Usage

pressrun works by parsing your original index.html and running every script that it finds inside. This will allow you to get a new static html file containing DOM elements that are generated on the first render from your javascript.

Then, it will look for any local links in this page, and recursively generate other pages for each of them.

CLI

pressrun [entry] [output]

entry should be the directory in which your original index.html file is located. output is optional and is the directory in which you would like your files to be generated. By default it is the same as entry.

FAQs

Package last updated on 08 Jun 2020

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