Browser-specific TypeScript utilities for modern JavaScript/TypeScript projects.
npm install @ls-stack/browser-utils
# or
pnpm add @ls-stack/browser-utils
# or
yarn add @ls-stack/browser-utils
Import specific utilities from their modules:
import { yamlStringify } from '@ls-stack/browser-utils/yamlStringify';
For a complete list of available utilities and their APIs, see the auto-generated documentation in the docs/
folder.
# Install dependencies
pnpm install
# Run tests
pnpm test
# Build the library
pnpm build
# Generate documentation
pnpm docs
# Lint code
pnpm lint
MIT