@gomani/native@1.2.0
npm size budget4.1 KB / 7.0 KB ✓
@gomani/native
gomani native shell packages an installable app; the PWA path is the first-class default (Twitter Lite / Google Go lineage). Budgets apply to the native artefact too — a lightweight install is itself an inclusion feature.
API
generateManifest
function
generateManifest(config: PwaConfig): WebManifest
Generate a validated, installable web app manifest from gomani.pwa.json.
registerPwa
function
registerPwa(): Promise<void>
Register the service worker and detect real updates (prompting only on a genuine update, not first install).