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
minimalistic-assert
A zero-dependency JavaScript assertion module for throwing errors on falsy values and loose equality checks.
use-hot-module-reload
React hook that fires a callback after any hot-module reload completes, for Webpack and Vite.
Typst-Assets
Bundled fonts, ICU segmentation data, and HTML/MathML assets for the Typst compiler.
port_check
A simple Rust library to get a free local port or check whether a port somewhere is reachable.
string.prototype.matchall
Spec-compliant ES2020 polyfill for String.prototype.matchAll.
base64id
Tiny Node.js module for generating short, URL-safe base64 unique ids.
bloom2
Fast, memory-efficient 2-level sparse bloom filter and bitmap for Rust.
hex_color
Lightweight Rust crate for RGB and RGBA hexadecimal colors
nano-pubsub
A zero-dependency, sub-0.5kb TypeScript pub/sub utility for type-safe in-app event handling.
pbs-installer
Downloads and installs indygreg's standalone CPython and PyPy builds from a Python API or CLI.
num-cmp
A Rust trait for safely comparing numbers of different integer and floating-point types without manual casting.
permutation-iterator-rs
Iterate over random permutations of an integer range in constant space, using a Feistel network instead of shuffling or fully materializing a list.
thousands
A Rust crate that adds digit separators to numbers via the Separable trait, configurable by separator and grouping policy.
@portabletext/toolkit
Utility functions for converting Portable Text blocks into plain text, nested marks, and HTML-ready list trees.
vector-map
A Vec-backed map and set for Rust that beats hash maps on small collections
py-zopfli
Python bindings to Google's Zopfli high-ratio DEFLATE compression library.
use-device-pixel-ratio
A React hook that returns the device pixel ratio and reacts to changes across displays.
lean_string
Compact, clone-on-write string type for Rust with inline storage and a String-compatible API.
Matomo Decompress
A PHP library of unified adapters for extracting Zip, Gzip, Bzip, and Tar archives.
string-dedent
De-indents multi-line JavaScript template literals and strings while preserving relative indentation.
typing_utils
Backports Python 3.8+ typing introspection utilities and adds issubtype() for runtime subtype checks across older Python versions.
esaxx-rs
Rust bindings to SentencePiece's esaxx library for fast suffix arrays and frequent substrings.
ferrous-opencc
Pure-Rust OpenCC for converting between Traditional and Simplified Chinese.
jaraco.classes
Utility functions for working with Python class constructs.