{"library":"cache-key","type":"library","category":null,"description":"cache-key is a lightweight library for creating stable, deterministic cache keys from complex JavaScript objects. Version 1.0.0 targets Node.js >=16, ships TypeScript definitions, and provides a single function `hashCacheKey` that returns a JSON-stringified representation, sorting object keys alphabetically for consistency. Unlike JSON.stringify or libraries like object-hash, cache-key focuses on simplicity: it does not hash into short strings but retains the structure as a string for readability. Ideal for memoization and simple caching scenarios where inputs are arrays of mixed values and keys must be order-aware but property-order-independent.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","node","module","boilerplate","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-key","imports":["import { hashCacheKey } from 'cache-key'","import hashCacheKey from 'cache-key'","import type { hashCacheKey } from 'cache-key'"]},{"cmd":"yarn add cache-key","imports":[]},{"cmd":"pnpm add cache-key","imports":[]}],"homepage":"https://github.com/smeijer/cache-key#readme","github":"https://github.com/smeijer/cache-key","docs":null,"changelog":null,"pypi":null,"npm":"cache-key","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}