jakelazaroff / nmemoize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nmemoize

Memoize functions with an arbitrary number of arguments.

import { memoize } from 'nmemoize';

const addOne = memoize(x => x + 1);
const add = memoize((x, y) => x + y);

About

License:MIT License


Languages

Language:JavaScript 100.0%