latest
phaux/mega-memoizeFunction memoization with strong types.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
94%
Published
7 months ago (0.1.0)
f
smartKeyNormalizer
Initializes a smart normalizer for memoization caches that need to stringify keys.
T
KeyNormalizer
Normalizer function for memoization caches that need to stringify keys.
Add Package
deno add jsr:@mega/memoize
Import symbol
import * as mod from "@mega/memoize/utils/keyNormalizer";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@mega/memoize/utils/keyNormalizer";
Add Package
npx jsr add @mega/memoize
Import symbol
import * as mod from "@mega/memoize/utils/keyNormalizer";
Add Package
yarn dlx jsr add @mega/memoize
Import symbol
import * as mod from "@mega/memoize/utils/keyNormalizer";
Add Package
pnpm dlx jsr add @mega/memoize
Import symbol
import * as mod from "@mega/memoize/utils/keyNormalizer";
Add Package
bunx jsr add @mega/memoize
Import symbol
import * as mod from "@mega/memoize/utils/keyNormalizer";