astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
11 lines (10 loc) • 485 B
TypeScript
/**
* Vendored from deterministic-object-hash@2.0.2 (MIT)
* https://github.com/nicholasgasior/deterministic-object-hash
*
* Only `deterministicString` is needed - the async `deterministicHash` (which
* pulls in `node:crypto`) is intentionally excluded so this module stays
* runtime-agnostic (works in Node, workerd, browsers, etc.).
*/
/** Recursively serializes any JS value into a deterministic string. */
export declare function deterministicString(input: unknown): string;