Packages

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).

1293 packages

Packages in Utilities, IDs & Helpers

21Health
Library npm

minimalistic-assert

A zero-dependency JavaScript assertion module for throwing errors on falsy values and loose equality checks.

19
Other
Used by 1
20Health
Library npm

use-hot-module-reload

React hook that fires a callback after any hot-module reload completes, for Webpack and Vite.

19
MIT
Used by 1
40Health
Library Cargo

Typst-Assets

Bundled fonts, ICU segmentation data, and HTML/MathML assets for the Typst compiler.

18
Apache 2.0
Used by 1
21Health
Library Cargo

port_check

A simple Rust library to get a free local port or check whether a port somewhere is reachable.

17
MIT
Used by 1
45Health
Library npm

string.prototype.matchall

Spec-compliant ES2020 polyfill for String.prototype.matchAll.

17
MIT
Used by 1
27Health
Library npm

base64id

Tiny Node.js module for generating short, URL-safe base64 unique ids.

16
MIT
Used by 1
27Health
Library Cargo

bloom2

Fast, memory-efficient 2-level sparse bloom filter and bitmap for Rust.

16
BSD 3
Used by 1
27Health
Library Cargo

hex_color

Lightweight Rust crate for RGB and RGBA hexadecimal colors

16
Apache 2.0
Used by 1
27Health
Library npm

nano-pubsub

A zero-dependency, sub-0.5kb TypeScript pub/sub utility for type-safe in-app event handling.

16
MIT
Used by 1
55Health
Library PyPI

pbs-installer

Downloads and installs indygreg's standalone CPython and PyPy builds from a Python API or CLI.

16
MIT
Used by 1
21Health
Library Cargo

num-cmp

A Rust trait for safely comparing numbers of different integer and floating-point types without manual casting.

14
Other
Used by 1
26Health
Library Cargo

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.

14
Apache 2.0
Used by 1
21Health
Library Cargo

thousands

A Rust crate that adds digit separators to numbers via the Separable trait, configurable by separator and grouping policy.

14
Other
Used by 1
46Health
Library npm

@portabletext/toolkit

Utility functions for converting Portable Text blocks into plain text, nested marks, and HTML-ready list trees.

14
MIT
Used by 1
25Health
Library Cargo

vector-map

A Vec-backed map and set for Rust that beats hash maps on small collections

14
MPL-2.0
Used by 1
31Health
Library PyPI

py-zopfli

Python bindings to Google's Zopfli high-ratio DEFLATE compression library.

14
Apache 2.0
Used by 1
20Health
Library npm

use-device-pixel-ratio

A React hook that returns the device pixel ratio and reacts to changes across displays.

13
MIT
Used by 1
56Health
Library Cargo

lean_string

Compact, clone-on-write string type for Rust with inline storage and a String-compatible API.

12
MIT
Used by 1
28Health
Library Composer

Matomo Decompress

A PHP library of unified adapters for extracting Zip, Gzip, Bzip, and Tar archives.

12
Other
Used by 1
23Health
Library npm

string-dedent

De-indents multi-line JavaScript template literals and strings while preserving relative indentation.

12
MIT
Used by 1
27Health
Library PyPI

typing_utils

Backports Python 3.8+ typing introspection utilities and adds issubtype() for runtime subtype checks across older Python versions.

12
Apache 2.0
Used by 1
22Health
Library Cargo

esaxx-rs

Rust bindings to SentencePiece's esaxx library for fast suffix arrays and frequent substrings.

11
Apache 2.0
Used by 1
32Health
Library Cargo

ferrous-opencc

Pure-Rust OpenCC for converting between Traditional and Simplified Chinese.

11
Apache 2.0
Used by 1
31Health
Library PyPI

jaraco.classes

Utility functions for working with Python class constructs.

11
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers