Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
Builds use the canonical crypto root and retain all eight existing manifest subpaths. Module-closure emission shares hashing/encoding helpers across Node, Bun, and browser entries without adding Node core imports or runtime dependencies. Private source discovery cannot add public exports.
Zero-dependency browser, React Native, Expo, and Bun compatible helpers for SHA hashing, HMAC signatures, random bytes, and UUIDs.
This package intentionally avoids Node core modules and Node polyfill packages.
Workspace consumers resolve the TypeScript sources directly so clean monorepo and Vercel builds do not depend on a pre-existing dist directory. Published archives continue to use the compiled conditional export map from
publishConfig.
Canonical JSON digests
@lssm-tech/lib.crypto-utils/canonical exports the existing synchronous canonicalize, digestCanonical and compareCanonicalStrings helpers. Object keys use ordinal ordering, undefined object members are omitted, array order is preserved, and non-finite numbers and unsupported values are rejected. Digests retain the sha256: prefix and lowercase hexadecimal encoding. The LSSM OS runtime canonical subpath forwards to this implementation.
Declared capabilities.
Lib Crypto Utils
Zero-dependency browser and React Native compatible crypto helpers
Use it to
Adopt zero-dependency browser and react native compatible crypto helpers
Requires
TypeScript
Choose another boundary when
The @lssm-tech/lib.crypto-utils package constraints do not match the target runtime or platform.
These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.