Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 773 Bytes

File metadata and controls

43 lines (31 loc) · 773 Bytes

Lil’ Libs

A small collection of TypeScript-first utilities for everyday application code. Each module is focused, composable, and ships with zero runtime dependencies.

Install

pnpm add @jossmac/lil-libs

Usage

Import only what you need via subpath exports:

import { chunk, partition } from "@jossmac/lil-libs/array";
import { clamp, lerp } from "@jossmac/lil-libs/number";
import type { Maybe, Prettify } from "@jossmac/lil-libs/types";

Modules

  • array
  • assert
  • console
  • constants
  • datetime
  • dom
  • error
  • function
  • number
  • object
  • random
  • string
  • types

API documentation

Full API reference with examples: jossmac.github.io/lil-libs

License

MIT