prerender-js
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads

prerender-js

A CLI tool to prerender a page and save a html element to a file.

install

npm i prerender-js -g

usage

run prerender-js "http://example.com" --selector "#test" -o test.html

optional

  • --timeout 5000: milliseconds for data loading

nodejs usage

import { prerender } from "prerender-js";
 
prerender("http://example.com", "#test", "test.html");

Readme

Keywords

none

Package Sidebar

Install

npm i prerender-js

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • plantain_00