@ls-stack/utils
v3.63.0
Published
Universal TypeScript utilities for browser and Node.js
Downloads
1,535
Readme
@ls-stack/utils
Generic TypeScript utilities for modern JavaScript/TypeScript projects.
Installation
npm install @ls-stack/utils
# or
pnpm add @ls-stack/utils
# or
yarn add @ls-stack/utilsUsage
Import specific utilities from their modules:
import { createAsyncQueue } from '@ls-stack/utils/asyncQueue';
import { deepEqual } from '@ls-stack/utils/deepEqual';
import { debounce } from '@ls-stack/utils/debounce';Documentation
For a complete list of available utilities and their APIs, see the auto-generated documentation in the docs/ folder. Start with the modules overview to explore all available utilities.
Generating Documentation
To regenerate the documentation after making changes:
pnpm docsFor continuous updates during development:
pnpm docs:watchDevelopment
# Install dependencies
pnpm install
# Run tests
pnpm test
# Run tests with UI
pnpm test:ui
# Build the library
pnpm build
# Lint code
pnpm lintLicense
MIT
