Memor

More memoization

Home ···· Cheap Watch · do-not-zip.js · npm2git.sh · Defiler · Cheap TS · Memor · Contexty ···· Sites · Other

on → Git | GitHub | GitLab | Bitbucket | npm

npm install git+https://chor.date/memor#semver:*

MEMOR is a simple memoization library for Node.js 6+ and modern browsers.
It has a couple of cool features:

> It lets you memoize functions that accept any number of arguments, even a varying number
> It memoizes according to the values of objects (not their identities) for arrays, POJOs, regexes, dates, and buffers
> It's extensible, and lets you implement custom handling for additional type of objects

Memor: Memoization, but good.