The lodash method _.memoize exported as a Node.js module.
_.memoize
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.memoize
In Node.js:
var memoize = require('lodash.memoize');
See the documentation or package source for more details.