pressrun

0.2.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i pressrun

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

3.36 kB

Total Files

3

Last publish

Collaborators

  • jflx