Installation
Latest published version: v0.2.0
npm install @jayoncode/browser-lifecycle@0.2.0Install @jayoncode/browser-lifecycle from npm when the package is published, or link it from the monorepo during development.
npm
Pin the current release when you need a specific version:
bash
npm install @jayoncode/browser-lifecycleOr install the latest explicitly:
bash
npm install @jayoncode/browser-lifecycle@latestbash
pnpm add @jayoncode/browser-lifecyclebash
yarn add @jayoncode/browser-lifecycleMonorepo development
From the JOC repository:
bash
pnpm install
pnpm build:packagesImport from the workspace package:
ts
import { createBrowserLifecycle } from "@jayoncode/browser-lifecycle";Browser support
Browser Lifecycle uses feature detection and degrades gracefully when platform APIs are unavailable. See Browser Support for module-level requirements.
