{"_id":"sb-memoize","_rev":"9-9d48f47a4fc104ce4c46ffe0fbff434e","name":"sb-memoize","description":"Memoization in JS made easy","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"sb-memoize","version":"1.0.0","description":"Memoization in JS made easy","main":"lib/index.js","scripts":{"test":"apm test","compile":"ucompiler go","lint":"eslint .","watch":"ucompiler watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"homepage":"https://github.com/steelbrain/memoize#readme","devDependencies":{"eslint":"^2.4.0","babel-eslint":"^6.0.0-beta.6","babel-preset-steelbrain":"^2.0.1","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.2.1","ucompiler":"^3.1.8","ucompiler-plugin-babel":"^3.1.1"},"gitHead":"eab0d734aec09084e03c6452c4568ef4df2397a5","_id":"sb-memoize@1.0.0","_shasum":"5de02ef7839ecfbdce7c746e246b07450143b2aa","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"steelbrain","email":"de.steelbrain@gmail.com"},"dist":{"shasum":"5de02ef7839ecfbdce7c746e246b07450143b2aa","tarball":"https://registry.npmjs.org/sb-memoize/-/sb-memoize-1.0.0.tgz","integrity":"sha512-vgo+RY7Hh9voKDR1wMLDKBRexAJ3HSML+t5ZI6vrO8xGdgvOzm86YtZxZJneOo7IbbZ++cAvppSDmmNEQOTh2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvGeqtH1lWXG9SZv38uEb58P21uFNvmhug8F8zLUQkCgIhAISEtBf1JBoRzBEDbRswUYcnkN1mHY7tEQ/pYzmAjfpi"}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-memoize-1.0.0.tgz_1459189476248_0.43673261534422636"},"directories":{},"deprecated":"No longer maintained - Use lodash probably"},"1.0.1":{"name":"sb-memoize","version":"1.0.1","description":"Memoization in JS made easy","main":"lib/index.js","scripts":{"test":"apm test","compile":"ucompiler go","lint":"eslint .","watch":"ucompiler watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"homepage":"https://github.com/steelbrain/memoize#readme","devDependencies":{"eslint":"^2.4.0","babel-eslint":"^6.0.0-beta.6","babel-preset-steelbrain":"^2.0.1","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.2.1","ucompiler":"^3.1.8","ucompiler-plugin-babel":"^3.1.1"},"gitHead":"e163ca9ccf13a5efae32057b651ef539586f73d9","_id":"sb-memoize@1.0.1","_shasum":"ad35ed11af8df974ec2bfa912e75eaa47f7033df","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"steelbrain","email":"de.steelbrain@gmail.com"},"dist":{"shasum":"ad35ed11af8df974ec2bfa912e75eaa47f7033df","tarball":"https://registry.npmjs.org/sb-memoize/-/sb-memoize-1.0.1.tgz","integrity":"sha512-7DgqGm7RhH/F3w8Bj4lrkxs1/lzX2DMolc+WBCqdAWF3gHh6HQJ4NkF7cd3kz6g2S7tXbYl5dQ1AR1npkt07Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBFlN9kZ2pbk9x3fx+cLzUTwyhdggG5WOrp06YQIpx9gIhAJzL3jx80tKW1vxIjXMH3bk8HEk58iHHo85mmIAvdKfr"}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sb-memoize-1.0.1.tgz_1459203544569_0.4078609698917717"},"directories":{},"deprecated":"No longer maintained - Use lodash probably"},"1.0.2":{"name":"sb-memoize","version":"1.0.2","description":"Memoization in JS made easy","main":"lib/index.js","scripts":{"test":"apm test","compile":"ucompiler go","lint":"eslint .","watch":"ucompiler watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"homepage":"https://github.com/steelbrain/memoize#readme","devDependencies":{"eslint":"^2.4.0","babel-eslint":"^6.0.0","babel-preset-steelbrain":"^2.0.1","eslint-config-airbnb":"^6.0.2","eslint-plugin-react":"^4.2.1","ucompiler":"^3.1.8","ucompiler-plugin-babel":"^3.1.1"},"gitHead":"83852a4726901fc87c3aef3aae91128dbe26fe6e","_id":"sb-memoize@1.0.2","_shasum":"128375c62ddb9cc4ffa905d0c5a597c19baead8e","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.0","_npmUser":{"name":"steelbrain","email":"de.steelbrain@gmail.com"},"dist":{"shasum":"128375c62ddb9cc4ffa905d0c5a597c19baead8e","tarball":"https://registry.npmjs.org/sb-memoize/-/sb-memoize-1.0.2.tgz","integrity":"sha512-Gf2qZMg/k+5kXAvzyfZ0FjexNG7O+sfXIJ0RZ8MOpLkr8D7mJSxq3q+qRi0Q/GMDSmerYL8W8ZXpmCyrurGwLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEBemBTqsvy6FB4YPIFGJ/vzoeXQzcarsgLWK1CyIc4gIgD2O0ZhYNkUbW3iWT2AN3BZupMOfBHIvfOietMt7yC30="}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sb-memoize-1.0.2.tgz_1460497622925_0.853262230521068"},"directories":{},"deprecated":"No longer maintained - Use lodash probably"},"2.0.0":{"name":"sb-memoize","version":"2.0.0","description":"Memoization in JS made easy","main":"lib/index.js","scripts":{"lint":"(flow check) && (eslint .)","test":"apm test","clean":"rm -rf lib","compile":"npm run clean && babel src --out-dir lib","watch":"npm run clean && babel src --out-dir lib --watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"homepage":"https://github.com/steelbrain/memoize#readme","devDependencies":{"babel-cli":"^6.10.1","babel-preset-steelbrain":"^4.0.1","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1"},"gitHead":"7f1707a4cbd271c0bb0dbc785c78921bdeb88aa0","_id":"sb-memoize@2.0.0","_shasum":"4e0f2e8ec97844b3a4456bf61567f012d20440a7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"4e0f2e8ec97844b3a4456bf61567f012d20440a7","tarball":"https://registry.npmjs.org/sb-memoize/-/sb-memoize-2.0.0.tgz","integrity":"sha512-YL1l1UVscUwm5H1sk3da+0ld+W8PKcxjdmvMNGK+qyZFhw9uul4C45jXZhL0Zh/Fa64PcuJOKv5z/sFbp5zWIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAevDynZMRa5zGW0g47cr9M02IXUz7sQK+c4/Fz1fuLtAiEAo5qahARdyx++15R62859Z6SO7+rM/SZvsMVqwbNFkZ0="}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sb-memoize-2.0.0.tgz_1477425771225_0.9850744802970439"},"directories":{},"deprecated":"No longer maintained - Use lodash probably"},"2.1.0":{"name":"sb-memoize","version":"2.1.0","description":"Memoization in JS made easy","main":"lib/index.js","scripts":{"lint":"(flow check) && (eslint .)","test":"apm test","clean":"rm -rf lib","compile":"npm run clean && babel src --out-dir lib","watch":"npm run clean && babel src --out-dir lib --watch"},"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"keywords":["memoize"],"author":{"name":"steelbrain"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"homepage":"https://github.com/steelbrain/memoize#readme","devDependencies":{"babel-cli":"^6.10.1","babel-preset-steelbrain":"^4.0.1","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1"},"gitHead":"182f642c210a7806d2a73959bd1499e9e4658c80","_id":"sb-memoize@2.1.0","_shasum":"f68d92a9a7afd95c76403d316002e91008b2ea2f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"f68d92a9a7afd95c76403d316002e91008b2ea2f","tarball":"https://registry.npmjs.org/sb-memoize/-/sb-memoize-2.1.0.tgz","integrity":"sha512-XctrJKHGyQ0v6SW+hYMegVK3No9Nw8YqKcUQ2ZySIOl3W0IjtmB8jMXx+nrFjVVkUqFy8AOHUtgeba59+6QNnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyj+W3sQZAD5iY0Km5Wqop0AxOecyUuAzFQTmjKmxvYwIhAIhJwxt/ZOIMlJgx9PBHeC1olM9h14kECN86pdIma6Bt"}]},"maintainers":[{"name":"steelbrain","email":"de.steelbrain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-memoize-2.1.0.tgz_1477461830603_0.5264999878127128"},"directories":{},"deprecated":"No longer maintained - Use lodash probably"}},"readme":"Memoize\n=======\nMemoize is a javascript helper utility to fulfill your function memoization needs.\n\n## Installation\n\n```sh\nnpm install --save sb-memoize\n```\n\n## API\n\n```js\nfunction memoize(\n  callback: Function,\n  options = { async: false }\n): Function\n\nmodule.exports = memoize\n```\n\n## Examples\n\n```js\nimport resolve from 'resolve'\nimport promisify from 'sb-promisify'\nimport memoize from 'sb-memoize'\n\nconst resolveSync = memoize(resolve.sync)\nconst resolveAsync = memoize(promisify(resolve), { async: true })\n\nconsole.log(resolveSync('sb-memoize', { basedir: __dirname }))\nresolveAsync('sb-memoize', { basedir: __dirname })\n  .then(function(path) {\n    console.log(path)\n  })\n```\n\n## Notes\n\nThis package automatically adds these methods on any memoized function\n\n```\nclearCache(): void\ngetCache(parameters: Array<any>): any\nsetCache(parameters: Array<any>, cacheValue: any): void\ndeleteCache(parameters: Array<any>): void\n```\n\n## License\n\nThis project is licensed under the terms of MIT License, see the LICENSE file for more info\n","maintainers":[{"email":"i@steelbrain.me","name":"steelbrain"}],"time":{"modified":"2022-06-26T16:16:57.386Z","created":"2016-03-28T18:24:38.586Z","1.0.0":"2016-03-28T18:24:38.586Z","1.0.1":"2016-03-28T22:19:05.576Z","1.0.2":"2016-04-12T21:47:04.436Z","2.0.0":"2016-10-25T20:02:53.110Z","2.1.0":"2016-10-26T06:03:52.471Z"},"homepage":"https://github.com/steelbrain/memoize#readme","keywords":["memoize"],"repository":{"type":"git","url":"git+ssh://git@github.com/steelbrain/memoize.git"},"author":{"name":"steelbrain"},"bugs":{"url":"https://github.com/steelbrain/memoize/issues"},"license":"MIT","readmeFilename":"README.md"}