Utilities, IDs & Helpers Packages
General-purpose utilities, helpers, and ID/UUID generation libraries that fill the small gaps every codebase eventually needs (Lodash, uuid, nanoid).
Packages in Utilities, IDs & Helpers
Kind
Sort:Used by Most Apps
ip-cidr
A lightweight Node.js library for parsing IPv4/IPv6 CIDR ranges, checking containment, and iterating addresses with BigInt precision.
typescript-event-target
A strictly typed drop-in replacement for EventTarget with full TypeScript event-map inference.
strip-ansi-escapes
Strips ANSI escape sequences from byte streams so colored terminal output can be logged or shown as plain text.
uaparser
Pure-Rust user-agent parser built on the shared uap-core regex definitions.
asset-utils
Zero-dependency utilities for parsing, building, and resolving Sanity image and file asset IDs, URLs, and paths.
focus-options-polyfill
Polyfill for the focusOptions preventScroll flag on HTMLElement.focus().
replace-ext
A tiny, dependency-free Node.js utility that replaces a file path's extension with another one.
term_size-rs
Cross-platform Rust library that detects terminal width and height via stdout, stdin, or stderr.
mendoza
A TypeScript decoder for the Mendoza diff format, applying structured patches to JSON documents with optional incremental history tracking.
path-clean
Lexically normalize Rust file paths without touching the filesystem, Go-style.
windows-1252
A robust JavaScript implementation of the windows-1252 character encoding as defined by the WHATWG Encoding Standard.
zope.event
A minimal synchronous event publishing and dispatch system for Python.
Inflate
A pure Rust implementation of DEFLATE and zlib decompression
unlimited-timeout
Drop-in setTimeout and setInterval replacements that work correctly with delays longer than JavaScript's ~24.8-day maximum.
aligned-vec
Runtime- or compile-time-aligned Vec and Box containers for Rust, built for SIMD-friendly memory layouts.
dev-null
A minimal writable stream that silently discards all data piped into it, like /dev/null for Node.js streams.
regexp.escape
A robust, spec-compliant polyfill for RegExp.escape() that safely escapes regex special characters, working as far down as ES3.
equivalent
Lightweight Rust traits, `Equivalent` and `Comparable`, that let map implementations compare a borrowed lookup key against a differently-typed stored key.
@mapbox/mapbox-gl-supported
Detect whether the current browser supports Mapbox GL JS before initializing a map.
pygtrie
A pure Python trie (prefix tree) implementation with a full dict-like interface for prefix lookups and prefix sets.
scan_fmt
A lightweight scanf()-style macro for parsing typed values out of strings and stdin in Rust.
linked-hash-set
A Rust HashSet that preserves insertion order using an internal doubly-linked list.
platform-dirs
A Rust library for resolving platform-dependent application and user directory paths.
findpython
A Python library and CLI that discovers every Python interpreter installed on your system, across PATH, pyenv, asdf, Rye, uv, macOS, and Windows.