Home / Function/ hashObject() — astro Function Reference

hashObject() — astro Function Reference

Architecture documentation for the hashObject() function in xxhash-hasher.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  185c2d09_0ee8_077f_4391_1e9b4562aa0f["hashObject()"]
  0f9bd0db_ee3c_b0f6_33fb_14d36fe86661["XxhashHasher"]
  185c2d09_0ee8_077f_4391_1e9b4562aa0f -->|defined in| 0f9bd0db_ee3c_b0f6_33fb_14d36fe86661
  style 185c2d09_0ee8_077f_4391_1e9b4562aa0f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/assets/fonts/infra/xxhash-hasher.ts lines 17–19

	hashObject(input: Record<string, any>): string {
		return this.hashString(JSON.stringify(sortObjectByKey(input)));
	}

Domain

Subdomains

Frequently Asked Questions

What does hashObject() do?
hashObject() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/xxhash-hasher.ts.
Where is hashObject() defined?
hashObject() is defined in packages/astro/src/assets/fonts/infra/xxhash-hasher.ts at line 17.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free