API Reference Overview

jstatico can be used via CLI or programmatically.

CLI

Run jstatico from the command line:

jstatico <source> <destination>

See CLI Reference for details.

Programmatic

Use jstatico in your Node.js/Bun scripts:

import { generate } from 'jstatico';

await generate('src', 'dist');

See Programmatic API for the full API.