Skip to content

Utils

Small, dependency-light TypeScript libraries, published independently to npm. They share one version line and release together from the utils/ folder, with tags utils-v<version>.

Package Description
@theholocron/array-utils Convert or manipulate arrays.
@theholocron/date-time-utils Handle dates and time.
@theholocron/env-utils Runtime environment detection and typed env-var parsing.
@theholocron/fs-utils Walk a directory tree upward to find the nearest match or project root.
@theholocron/git-utils Parse git remote URLs, read a repo’s remote, and maintain managed blocks in .gitignore.
@theholocron/json-utils Stringify JSON with a trailing newline, preserving a file’s own indent and line endings.
@theholocron/location-utils Location utilities.
@theholocron/misc-utils Miscellaneous utilities.
@theholocron/object-utils Inspect and deep-merge plain objects.
@theholocron/pkg-utils Read package.json, list its dependencies and detect the package manager.
@theholocron/storage-utils Storage utilities.
@theholocron/string-utils Convert a string to any case or case to a different data type.
@theholocron/uri-utils Grab details from a URL.

Each package is installed on its own:

Terminal window
pnpm add @theholocron/string-utils

See the CHANGELOG for the current version.