maximilianmairinger

maximilianmairinger/keyindex

Memoize on demand map

JavaScript
0
0
No license

Key Index is a tiny TypeScript utility that creates on‑demand, memoized key‑value stores backed by either `Map` objects or plain JavaScript objects. It lets you define an initializer (or “initer”) that automatically generates a value the first time a key is accessed, supports nested indexes, and includes a `memoize` helper for safely caching the result of expensive or cyclic functions with optional post‑initialization hooks. The library is aimed at developers who need lightweight, lazy‑loaded lookup tables or want to guard against circular dependencies in configuration‑or service‑creation code.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of maximilianmairinger/keyindex

Account's avatar
Get all function names of a class up to a specified prototype.
Account's avatar
TypeScript definitions for node
Account's avatar
Run commands concurrently
Account's avatar
Make an ESM file explicit (.mjs), on all filenames and import statements.
Account's avatar
Asynchronous recursive file copy utility.
Account's avatar
Rename files in bulk
Account's avatar
Next-generation ES module bundler
Account's avatar
Runtime library for TypeScript helper functions
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
Variant of merge that's useful for webpack configuration

Support the repos that depend on this repository

Top contributors

maximilianMairinger's profile
maximilianMairinger
93 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet