{"author":{"name":"tony.quetano@planttheidea.com"},"browser":"dist/micro-memoize.js","browserslist":["defaults","Explorer >= 9","Safari >= 6","Opera >= 15","iOS >= 8","Android >= 4"],"bugs":{"url":"https://github.com/planttheidea/micro-memoize/issues"},"description":"A tiny, crazy fast memoization library for the 95% use-case","devDependencies":{"@types/bluebird":"^3.5.25","@types/jest":"^24.0.0","@types/react":"^16.7.20","benchee":"^1.0.0","benchmark":"^2.1.4","bluebird":"^3.5.2","cli-table2":"^0.2.0","fast-equals":"^1.6.1","fast-memoize":"^2.5.1","html-webpack-plugin":"^3.2.0","in-publish":"^2.0.0","jest":"^24.1.0","lodash":"^4.17.11","lru-memoize":"^1.0.2","mem":"^4.0.0","memoizee":"^0.4.14","memoizerific":"^1.11.3","mini-bench":"^1.0.0","ora":"^3.0.0","performance-now":"^2.1.0","ramda":"^0.26.1","react":"^16.7.0","rollup":"^1.1.2","rollup-plugin-typescript":"^1.0.0","rollup-plugin-uglify":"^6.0.0","rsvp":"^4.8.4","simple-statistics":"^7.0.0","ts-jest":"^23.10.4","ts-loader":"^5.2.2","tslint":"^5.11.0","tslint-config-airbnb":"^5.11.0","tslint-loader":"^3.5.4","typescript":"^3.1.3","underscore":"^1.9.1","webpack":"^4.20.2","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.9"},"homepage":"https://github.com/planttheidea/micro-memoize#readme","keywords":["memoize","memoized","memoizer","memoization","memo","memcache","memcached","cache","cached","storage","memory","optimize","performance","lru","expire"],"license":"MIT","main":"dist/micro-memoize.cjs.js","module":"dist/micro-memoize.esm.js","name":"micro-memoize","repository":{"type":"git","url":"git+https://github.com/planttheidea/micro-memoize.git"},"scripts":{"benchmark":"npm run dist && NODE_ENV=production node ./benchmarks/index.js","build":"NODE_ENV=production rollup -c","build:mjs":"node ./es-to-mjs.js","clean":"rimraf dist","dev":"NODE_ENV=development webpack-dev-server --colors --progress --config=webpack/webpack.config.js","dist":"npm run clean && npm run build && npm run build:mjs","lint":"NODE_ENV=test tslint 'src/*.ts'","lint:fix":"npm run lint -- --fix","prepublish":"if in-publish; then npm run prepublish:compile; fi","prepublish:compile":"npm run lint && npm run test:coverage && npm run dist","start":"npm run dev","test":"NODE_PATH=. jest","test:coverage":"npm run test -- --coverage","test:watch":"npm run test -- --watch"},"sideEffects":false,"types":"./index.d.ts","version":"3.0.0-beta.3","readme":"# micro-memoize\n\nA tiny, crazy [fast](#benchmarks) memoization library for the 95% use-case\n\n## Table of contents\n\n- [Summary](#summary)\n- [Importing](#importing)\n- [Usage](#usage)\n- [Options](#options)\n  - [isEqual](#isequal)\n  - [isMatchingKey](#ismatchingkey)\n  - [isPromise](#ispromise)\n  - [maxSize](#maxsize)\n  - [onCacheAdd](#oncacheadd)\n  - [onCacheChange](#oncachechange)\n  - [onCacheHit](#oncachehit)\n  - [transformKey](#transformkey)\n- [Additional properties](#additional-properties)\n  - [cache](#cache)\n  - [cacheSnapshot](#cachesnapshot)\n  - [isMemoized](#ismemoized)\n  - [options](#options)\n- [Benchmarks](#benchmarks)\n  - [Single parameter (primitive only)](#single-parameter-primitive-only)\n  - [Single parameter (complex object)](#single-parameter-complex-object)\n  - [Multiple parameters (primitives only)](#multiple-parameters-primitives-only)\n  - [Multiple parameters (complex objects)](#multiple-parameters-complex-objects)\n- [Browser support](#browser-support)\n- [Node support](#node-support)\n- [Development](#development)\n\n## Summary\n\nAs the author of [`moize`](https://github.com/planttheidea/moize), I created a consistently fast memoization library, but `moize` has a lot of features to satisfy a large number of edge cases. `micro-memoize` is a simpler approach, focusing on the core feature set with a much smaller footprint (~1.2kB minified+gzipped). Stripping out these edge cases also allows `micro-memoize` to be faster across the board than `moize`.\n\n## Importing\n\nESM in browsers:\n\n```javascript\nimport memoize from 'micro-memoize';\n```\n\nESM in NodeJS:\n\n```javascript\nimport memoize from 'micro-memoize/mjs';\n```\n\nCommonJS:\n\n```javascript\nconst memoize = require('micro-memoize').default;\n```\n\n## Usage\n\n```javascript\n// ES2015+\nimport memoize from 'micro-memoize';\n\n// CommonJS\nconst memoize = require('micro-memoize').default;\n\n// old-school\nconst memoize = window.memoize;\n\nconst assembleToObject = (one, two) => {\n  return { one, two };\n};\n\nconst memoized = memoize(assembleToObject);\n\nconsole.log(memoized('one', 'two')); // {one: 'one', two: 'two'}\nconsole.log(memoized('one', 'two')); // pulled from cache, {one: 'one', two: 'two'}\n```\n\n## Options\n\n#### isEqual\n\n`function(object1: any, object2: any): boolean`, _defaults to `isSameValueZero`_\n\nCustom method to compare equality of keys, determining whether to pull from cache or not, by comparing each argument in order.\n\nCommon use-cases:\n\n- Deep equality comparison\n- Limiting the arguments compared\n\n```javascript\nimport { deepEqual } from 'fast-equals';\n\nconst deepObject = object => {\n  return {\n    foo: object.foo,\n    bar: object.bar,\n  };\n};\n\nconst memoizedDeepObject = memoize(deepObject, { isEqual: deepEqual });\n\nconsole.log(\n  memoizedDeepObject({\n    foo: {\n      deep: 'foo',\n    },\n    bar: {\n      deep: 'bar',\n    },\n    baz: {\n      deep: 'baz',\n    },\n  }),\n); // {foo: {deep: 'foo'}, bar: {deep: 'bar'}}\n\nconsole.log(\n  memoizedDeepObject({\n    foo: {\n      deep: 'foo',\n    },\n    bar: {\n      deep: 'bar',\n    },\n    baz: {\n      deep: 'baz',\n    },\n  }),\n); // pulled from cache\n```\n\n**NOTE**: The default method tests for [SameValueZero](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) equality, which is summarized as strictly equal while also considering `NaN` equal to `NaN`.\n\n#### isMatchingKey\n\n`function(object1: Array<any>, object2: Array<any>): boolean`\n\nCustom method to compare equality of keys, determining whether to pull from cache or not, by comparing the entire key.\n\nCommon use-cases:\n\n- Comparing the shape of the key\n- Matching on values regardless of order\n- Serialization of arguments\n\n```javascript\nimport { deepEqual } from 'fast-equals';\n\nconst deepObject = object => {\n  return {\n    foo: object.foo,\n    bar: object.bar,\n  };\n};\n\nconst memoizedShape = memoize(deepObject, {\n  isMatchingKey(object1, object2) {\n    return (\n      object1.hasOwnProperty('foo') &&\n      object2.hasOwnProperty('foo') &&\n      object1.bar === object2.bar\n    );\n  },\n});\n\nconsole.log(\n  memoizedShape({\n    foo: 'foo',\n    bar: 'bar',\n    baz: 'baz',\n  }),\n); // {foo: {deep: 'foo'}, bar: {deep: 'bar'}}\n\nconsole.log(\n  memoizedShape({\n    foo: 'not foo',\n    bar: 'bar',\n    baz: 'baz',\n  }),\n); // pulled from cache\n```\n\n#### isPromise\n\n`boolean`, _defaults to `boolean`_\n\nIdentifies the value returned from the method as a `Promise`, which will result in one of two possible scenarios:\n\n- If the promise is resolved, it will fire the `onCacheHit` and `onCacheChange` options\n- If the promise is rejected, it will trigger auto-removal from cache\n\n```javascript\nconst fn = async (one, two) => {\n  return new Promise((resolve, reject) => {\n    setTimeout(() => {\n      reject(new Error({ one, two }));\n    }, 500);\n  });\n};\n\nconst memoized = memoize(fn, { isPromise: true });\n\nmemoized('one', 'two');\n\nconsole.log(memoized.cacheSnapshot.keys); // [['one', 'two']]\nconsole.log(memoized.cacheSnapshot.values); // [Promise]\n\nsetTimeout(() => {\n  console.log(memoized.cacheSnapshot.keys); // []\n  console.log(memoized.cacheSnapshot.values); // []\n}, 1000);\n```\n\n**NOTE**: If you don't want rejections to auto-remove the entry from cache, set `isPromise` to `false` (or simply do not set it), but be aware this will also remove the cache listeners that fire on successful resolution.\n\n#### maxSize\n\n`number`, _defaults to `1`_\n\nThe number of values to store in cache, based on a [Least Recently Used](https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29) basis. This operates the same as [`maxSize`](https://github.com/planttheidea/moize#maxsize) on `moize`, with the exception of the default being different.\n\n```javascript\nconst manyPossibleArgs = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(manyPossibleArgs, { maxSize: 3 });\n\nconsole.log(memoized('one', 'two')); // ['one', 'two']\nconsole.log(memoized('two', 'three')); // ['two', 'three']\nconsole.log(memoized('three', 'four')); // ['three', 'four']\n\nconsole.log(memoized('one', 'two')); // pulled from cache\nconsole.log(memoized('two', 'three')); // pulled from cache\nconsole.log(memoized('three', 'four')); // pulled from cache\n\nconsole.log(memoized('four', 'five')); // ['four', 'five'], drops ['one', 'two'] from cache\n```\n\n**NOTE**: The default for `micro-memoize` differs from the default implementation of `moize`. `moize` will store an infinite number of results unless restricted, whereas `micro-memoize` will only store the most recent result. In this way, the default implementation of `micro-memoize` operates more like [`moize.simple`](https://github.com/planttheidea/moize#moizesimple).\n\n#### onCacheAdd\n\n`function(cache: Cache, options: Options): void`, _defaults to noop_\n\nCallback method that executes whenever the cache is added to. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.\n\n```javascript\nconst fn = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(fn, {\n  onCacheAdd(cache, options) {\n    console.log('cache has been added to: ', cache);\n    console.log('memoized method has the following options applied: ', options);\n  },\n});\n\nmemoized('foo', 'bar'); // cache has been added to\nmemoized('foo', 'bar');\nmemoized('foo', 'bar');\n\nmemoized('bar', 'foo'); // cache has been added to\nmemoized('bar', 'foo');\nmemoized('bar', 'foo');\n\nmemoized('foo', 'bar');\nmemoized('foo', 'bar');\nmemoized('foo', 'bar');\n```\n\n**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method.\n\n#### onCacheChange\n\n`function(cache: Cache, options: Options): void`, _defaults to noop_\n\nCallback method that executes whenever the cache is added to or the order is updated. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.\n\n```javascript\nconst fn = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(fn, {\n  onCacheChange(cache, options) {\n    console.log('cache has changed: ', cache);\n    console.log('memoized method has the following options applied: ', options);\n  },\n});\n\nmemoized('foo', 'bar'); // cache has changed\nmemoized('foo', 'bar');\nmemoized('foo', 'bar');\n\nmemoized('bar', 'foo'); // cache has changed\nmemoized('bar', 'foo');\nmemoized('bar', 'foo');\n\nmemoized('foo', 'bar'); // cache has changed\nmemoized('foo', 'bar');\nmemoized('foo', 'bar');\n```\n\n**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method. When the execution of other cache listeners (`onCacheAdd`, `onCacheHit`) is applicable, this method will execute after those methods.\n\n#### onCacheHit\n\n`function(cache: Cache, options: Options): void`, _defaults to noop_\n\nCallback method that executes whenever the cache is hit, whether the order is updated or not. This is mainly to allow for higher-order caching managers that use `micro-memoize` to perform superset functionality on the `cache` object.\n\n```javascript\nconst fn = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(fn, {\n  maxSize: 2,\n  onCacheHit(cache, options) {\n    console.log('cache was hit: ', cache);\n    console.log('memoized method has the following options applied: ', options);\n  },\n});\n\nmemoized('foo', 'bar');\nmemoized('foo', 'bar'); // cache was hit\nmemoized('foo', 'bar'); // cache was hit\n\nmemoized('bar', 'foo');\nmemoized('bar', 'foo'); // cache was hit\nmemoized('bar', 'foo'); // cache was hit\n\nmemoized('foo', 'bar'); // cache was hit\nmemoized('foo', 'bar'); // cache was hit\nmemoized('foo', 'bar'); // cache was hit\n```\n\n**NOTE**: This method is not executed when the `cache` is manually manipulated, only when changed via calling the memoized method.\n\n#### transformKey\n\n`function(Array<any>): any`\n\nA method that allows you transform the key that is used for caching, if you want to use something other than the pure arguments.\n\n```javascript\nconst ignoreFunctionArgs = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(ignoreFunctionArgs, {\n  transformKey: JSON.stringify,\n});\n\nconsole.log(memoized('one', () => {})); // ['one', () => {}]\nconsole.log(memoized('one', () => {})); // pulled from cache, ['one', () => {}]\n```\n\nIf your transformed keys require something other than `SameValueZero` equality, you can combine `transformKey` with [`isEqual`](#isequal) for completely custom key creation and comparison.\n\n```javascript\nconst ignoreFunctionArgs = (one, two) => {\n  return [one, two];\n};\n\nconst memoized = memoize(ignoreFunctionArgs, {\n  isEqual(key1, key2) {\n    return key1.args === key2.args;\n  },\n  transformKey(args) {\n    return {\n      args: JSON.stringify(args),\n    };\n  },\n});\n\nconsole.log(memoized('one', () => {})); // ['one', () => {}]\nconsole.log(memoized('one', () => {})); // pulled from cache, ['one', () => {}]\n```\n\n## Additional properties\n\n#### cache\n\n`Object`\n\nThe `cache` object that is used internally. The shape of this structure:\n\n```javascript\n{\n  keys: Array<Array<any>>, // array of arg arrays\n  values: Array<any> // array of values\n}\n```\n\nThe exposure of this object is to allow for manual manipulation of keys/values (injection, removal, expiration, etc).\n\n```javascript\nconst method = (one, two) => {\n  return { one, two };\n};\n\nconst memoized = memoize(method);\n\nmemoized.cache.keys.push(['one', 'two']);\nmemoized.cache.values.push('cached');\n\nconsole.log(memoized('one', 'two')); // 'cached'\n```\n\n**HOTE**: `moize` offers a variety of convenience methods for this manual `cache` manipulation, and while `micro-memoize` allows all the same capabilities by exposing the `cache`, it does not provide any convenience methods.\n\n#### cacheSnapshot\n\n`Object`\n\nThis is identical to the `cache` object referenced above, but it is a deep clone created at request, which will provide a persistent snapshot of the values at that time. This is useful when tracking the cache changes over time, as the `cache` object is mutated internally for performance reasons.\n\n#### isMemoized\n\n`boolean`\n\nHard-coded to `true` when the function is memoized. This is useful for introspection, to identify if a method has been memoized or not.\n\n#### options\n\n`Object`\n\nThe [`options`](#options) passed when creating the memoized method.\n\n## Benchmarks\n\nAll values provided are the number of operations per second (ops/sec) calculated by the [Benchmark suite](https://benchmarkjs.com/). Note that `underscore`, `lodash`, and `ramda` do not support mulitple-parameter memoization (which is where `micro-memoize` really shines), so they are not included in those benchmarks.\n\nBenchmarks was performed on an i7 8-core Arch Linux laptop with 16GB of memory using NodeJS version `8.9.4`. The default configuration of each library was tested with a fibonacci calculation based on the following parameters:\n\n- Single primitive = `35`\n- Single object = `{number: 35}`\n- Multiple primitives = `35, true`\n- Multiple objects = `{number: 35}, {isComplete: true}`\n\n#### Single parameter (primitive only)\n\nThis is usually what benchmarks target for ... its the least-likely use-case, but the easiest to optimize, often at the expense of more common use-cases.\n\n|                   | Operations / second | Relative margin of error |\n| ----------------- | ------------------- | ------------------------ |\n| fast-memoize      | 219,525,943         | 0.56%                    |\n| **micro-memoize** | **76,004,234**      | **1.12%**                |\n| lodash            | 26,920,988          | 0.65%                    |\n| underscore        | 24,126,335          | 0.73%                    |\n| memoizee          | 16,575,237          | 0.74%                    |\n| lru-memoize       | 8,016,237           | 1.58%                    |\n| Addy Osmani       | 6,476,533           | 0.96%                    |\n| memoizerific      | 5,511,233           | 0.78%                    |\n| ramda             | 1,107,319           | 0.68%                    |\n\n#### Single parameter (complex object)\n\nThis is what most memoization libraries target as the primary use-case, as it removes the complexities of multiple arguments but allows for usage with one to many values.\n\n|                   | Operations / second | Relative margin of error |\n| ----------------- | ------------------- | ------------------------ |\n| **micro-memoize** | **60,533,096**      | **0.68%**                |\n| memoizee          | 11,601,186          | 0.82%                    |\n| lodash            | 8,017,634           | 0.77%                    |\n| underscore        | 7,910,175           | 0.76%                    |\n| lru-memoize       | 6,878,249           | 1.12%                    |\n| memoizerific      | 4.377,062           | 0.74%                    |\n| Addy Osmani       | 1,829,256           | 0.74%                    |\n| fast-memoize      | 1,468,272           | 0.67%                    |\n| ramda             | 213,118             | 0.84%                    |\n\n#### Multiple parameters (primitives only)\n\nThis is a very common use-case for function calls, but can be more difficult to optimize because you need to account for multiple possibilities ... did the number of arguments change, are there default arguments, etc.\n\n|                   | Operations / second | Relative margin of error |\n| ----------------- | ------------------- | ------------------------ |\n| **micro-memoize** | **49,690,821**      | **1.26%**                |\n| memoizee          | 10,425,265          | 0.76%                    |\n| lru-memoize       | 6,165,918           | 0.76%                    |\n| memoizerific      | 4,587,050           | 0.72%                    |\n| Addy Osmani       | 3,409,941           | 0.67%                    |\n| fast-memoize      | 1,214,616           | 0.66%                    |\n\n#### Multiple parameters (complex objects)\n\nThis is the most robust use-case, with the same complexities as multiple primitives but managing bulkier objects with additional edge scenarios (destructured with defaults, for example).\n\n|                   | Operations / second | Relative margin of error |\n| ----------------- | ------------------- | ------------------------ |\n| **micro-memoize** | **47,300,339**      | **1.20%**                |\n| memoizee          | 7,487,582           | 0.73%                    |\n| lru-memoize       | 6,287,893           | 1.15%                    |\n| memoizerific      | 3,537,690           | 0.75%                    |\n| Addy Osmani       | 936,273             | 0.70%                    |\n| fast-memoize      | 808,141             | 0.68%                    |\n\n## Browser support\n\n- Chrome (all versions)\n- executefox (all versions)\n- Edge (all versions)\n- Opera 15+\n- IE 9+\n- Safari 6+\n- iOS 8+\n- Android 4+\n\n## Node support\n\n- 4+\n\n## Development\n\nStandard stuff, clone the repo and `npm install` dependencies. The npm scripts available:\n\n- `build` => run webpack to build development `dist` file with NODE_ENV=development\n- `build:minifed` => run webpack to build production `dist` file with NODE_ENV=production\n- `dev` => run webpack dev server to run example app (playground!)\n- `dist` => runs `build` and `build-minified`\n- `lint` => run ESLint against all files in the `src` folder\n- `prepublish` => runs `compile-for-publish`\n- `prepublish:compile` => run `lint`, `test`, `transpile:es`, `transpile:lib`, `dist`\n- `test` => run AVA test functions with `NODE_ENV=test`\n- `test:coverage` => run `test` but with `nyc` for coverage checker\n- `test:watch` => run `test`, but with persistent watcher\n- `transpile:lib` => run babel against all files in `src` to create files in `lib`\n- `transpile:es` => run babel against all files in `src` to create files in `es`, preserving ES2015 modules (for [`pkg.module`](https://github.com/rollup/rollup/wiki/pkg.module))\n","readmeFilename":"README.md","gitHead":"626e29005f5ce4f7bf8965097724af5d33759ff0","_id":"micro-memoize@3.0.0-beta.3","_nodeVersion":"10.15.0","_npmVersion":"6.6.0","dist":{"integrity":"sha512-Zq42woQlH8j1N9yGPC4dGCUiFc3HsoDVJz8OIkxV+baMjyFTetT8lnXqgwLFeHCaCtgRh7ux9GXrN33QY8KNrw==","shasum":"b5afacbde27651ebecd98c979de08fcc07dcef8d","tarball":"http://registry-npm.ywwl.com/micro-memoize/download/micro-memoize-3.0.0-beta.3.tgz","fileCount":25,"unpackedSize":420032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYOf1CRA9TVsSAnZWagAAhqQP+wQ8ezz5z3fEUNZLMKjK\nD2uME7MFSsyzv+P/VnqdV0xNsUZqiWTSM129w+G3DuhcgA6rpqlGaKVNOwKS\nnFHq8HPd9SPxP9YZT2hO3OZDd5+i3Y9tY+xo4fYvmAILj3bYVhlkYhPRSNTt\nQIRzNkhMFJHIatQ+fj+d4qKRlqBNsp+Kuo2BnNXeRDViXf3vLW6iIiWAkiDa\nYvTImMep0LtxGRbx4MUZovK7VCCbk0PUgnINCE3jZ5uVLKNQORKcu6MggAxq\nrG2eT6xrSwNwNiwywV8PTTKEZ9keaeNvJR/TJQhvjGD1nG9QA93B9ion5XbQ\noTdmiHlKYeh381GJXm9Ya/W33xUVFmjs6gNJrRv19odg7G0bH3Zgl4RrpA+6\ngt6wjLD5pS21ibSEbWgY5k0x2XoDdwZre4iC2jAOYw0omflqxFH8RYE4dwZD\ncGwb1CdBIWLNFrk13khMnznwjX6NIdXFoWtAHbI7TdEvLSxY14kAmo+JBC3k\no+QKtrebV1rQ8suXQ7LPAJptRxkthrcfC1s0r0BFwYYa8qZcGmBAX92TBhkH\n5dzZFvTqbNLn/iOg/Qpyd+JNtBnyNj8nIArtOdk3PN3oEpyDwDffBmvJHLkc\nIGspM5Xahc0B9i5an47T3bFwq3QueRjxKqCYAGjcNSFUTBZKjuaW9HY7ET0k\nIMLs\r\n=Lkhm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2aP6KL1cxfxb2UEtSwGtKVnQ5HbUtVE/co1cz+5xkjAiAvFRJD7FgySeniMfjTuW+//9waImoDikko/WPPsRiaSg=="}],"size":131141,"noattachment":false,"key":"/micro-memoize/-/micro-memoize-3.0.0-beta.3.tgz"},"maintainers":[{"name":"planttheidea","email":"tony.quetano@planttheidea.com"}],"_npmUser":{"name":"planttheidea","email":"tony.quetano@planttheidea.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-memoize_3.0.0-beta.3_1549854709372_0.9854835321338509"},"_hasShrinkwrap":false,"publish_time":1549854709489,"_cnpm_publish_time":1549854709489,"dist-tags":{"latest":"5.2.2","next":"5.1.2-beta.1"}}