1.0.6 • Published 6 years ago

static-export v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

static-export

Pre-renders a web app to static HTML. Perfect for:

  • Progressive Web Applications (PWAs)
  • Regular ol' Single-Page Applications (SPAs)
  • TODO: The website that just needs to be written in the next-best-thing but doesn't run on your server

Installation

npm install -g static-export

Usage

Ensure your web app is present in ./build of your project directory, and run static-export. New HTML files with pre-rendered content are placed alongside existing static assets in ./build.

See static-export --help for more.

Compatibility

static-export uses Chromium (controlled by puppeteer) to load your web app and pushstate-server to serve it, so any client-side JavaScript required to load the initial content should continue to work as long as it runs in a normal browser session.

LICENSE

This project is licensed under the MIT License.

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago