{"_id":"cache-point","_rev":"1180271","name":"cache-point","description":"Simple, filesystem-backed memoisation cache.","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2024-12-28T02:33:37.000Z","created":"2016-07-24T18:29:52.485Z","3.0.1":"2024-12-06T00:06:31.888Z","3.0.0":"2024-08-24T21:34:19.814Z","2.0.0":"2019-12-03T19:23:44.078Z","1.0.0":"2019-10-12T22:25:15.340Z","0.4.1":"2017-07-30T19:06:51.727Z","0.4.0":"2017-02-08T20:56:23.792Z","0.3.4":"2016-10-09T21:29:49.743Z","0.3.3":"2016-08-04T08:19:38.278Z","0.3.2":"2016-08-01T20:55:14.593Z","0.3.1":"2016-08-01T20:21:41.127Z","0.3.0":"2016-08-01T19:18:01.408Z","0.2.0":"2016-07-29T22:46:40.185Z","0.1.4":"2016-07-29T21:34:27.309Z","0.1.3":"2016-07-29T21:29:55.265Z","0.1.2":"2016-07-24T22:09:41.708Z","0.1.1":"2016-07-24T21:04:01.567Z","0.1.0":"2016-07-24T18:29:52.485Z"},"users":{},"author":{"name":"Lloyd Brookes","email":"opensource@75lb.com"},"repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"versions":{"3.0.1":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"opensource@75lb.com"},"version":"3.0.1","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["memoisation","memoization","cache","file","store"],"license":"MIT","engines":{"node":">=12.17"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"75lb-nature test-runner test/async.js test/sync.js","dist":"75lb-nature cjs-build index.js","docs":"75lb-nature jsdoc2md -t README.hbs index.js > README.md"},"dependencies":{"array-back":"^6.2.2"},"peerDependencies":{"@75lb/nature":"latest"},"peerDependenciesMeta":{"@75lb/nature":{"optional":true}},"standard":{"ignore":["tmp","dist"],"envs":[]},"_id":"cache-point@3.0.1","gitHead":"09f45df8b030202faff58a86ba8493ebaeb86c2a","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-itTIMLEKbh6Dw5DruXbxAgcyLnh/oPGVLBfTPqBOftASxHe8bAeXy7JkO4F0LvHqht7XqP5O/09h5UcHS2w0FA==","shasum":"4a1997794695be780e1d080235aa7a289161f181","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-3.0.1.tgz","fileCount":6,"unpackedSize":18013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnh+wdb7qGuWYdQcO+ZO9C6zlwn5cIuHyw1OC8+IjPxAIgF2O6PPeqt8iDEjfCpEArIWtXwb/VUrWFPIAAnOYgEk4="}],"size":3973,"noattachment":false,"key":"/cache-point/-/cache-point-3.0.1.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-point_3.0.1_1733443591697_0.5919862549024011"},"_hasShrinkwrap":false,"publish_time":1733443591888,"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_cnpm_publish_time":1733443591888},"3.0.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"3.0.0","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["memoisation","memoization","cache","file","store"],"license":"MIT","engines":{"node":">=12.17"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"75lb-nature test test/async.js test/sync.js","dist":"75lb-nature cjs-build index.js","docs":"75lb-nature jsdoc2md -t README.hbs index.js > README.md"},"dependencies":{"array-back":"^6.2.2"},"peerDependencies":{"@75lb/nature":"^0.1.1"},"peerDependenciesMeta":{"@75lb/nature":{"optional":true}},"standard":{"ignore":["tmp","dist"],"envs":[]},"_id":"cache-point@3.0.0","gitHead":"5f69633eefe07deab018e5e38b1622092b954906","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LDGNWYv/tqRWAAZxMy75PIYynaIuhcyoyjJtwA7X5uMZjdzvGm+XmTey/GXUy2EJ+lwc2eBFzFYxjvNYyE/0Iw==","shasum":"4d9035faae682414328334329cc18e1db7d0cf5d","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-3.0.0.tgz","fileCount":6,"unpackedSize":19219,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkiHsMwxZXhSIwPY5/UvusapxNdUBFf4b0Tc8XoLQLqAIhANdkan2ULdBr/8jJtoyjz9Ce3Uhc2NMTi2A6pWYq77bc"}],"size":4403,"noattachment":false,"key":"/cache-point/-/cache-point-3.0.0.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-point_3.0.0_1724535259674_0.6533782689859993"},"_hasShrinkwrap":false,"publish_time":1724535259814,"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_cnpm_publish_time":1724535259814},"2.0.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=8"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t README.hbs index.js > README.md"},"devDependencies":{"jsdoc-to-markdown":"^5.0.3","test-runner":"~0.8.7"},"dependencies":{"array-back":"^4.0.1","fs-then-native":"^2.0.0","mkdirp2":"^1.0.4"},"gitHead":"438eefe196ad9d8c7687e1c774c51245c2551a96","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@2.0.0","_nodeVersion":"13.2.0","_npmVersion":"6.13.1","dist":{"integrity":"sha512-4gkeHlFpSKgm3vm2gJN5sPqfmijYRFYCQ6tv5cLw0xVmT6r1z1vd4FNnpuOREco3cBs1G709sZ72LdgddKvL5w==","shasum":"91e03c38da9cfba9d95ac6a34d24cfe6eff8920f","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-2.0.0.tgz","fileCount":5,"unpackedSize":13841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5rZACRA9TVsSAnZWagAAaCsP/i/3m9iN4DHvdGtl90/+\nZ63kTZzl94EgVVTrqIsbVaAmS8X+zLPfPgnx3DbiF2slJ1v7J5DNTHec+2I3\nmTbSl55QtjJJoQZ/FUpX7+4gNtiMVOV5ScpBDSbNIlpeLk9uDAD1CZFuFxw1\nrlqbyk2lM7FP+/fmGAwlrOMaotHaKRQ/P6OxjHnX1yBgB/nsyU6spvhKO/bk\njVCg62qc56a9xiqDaapfDdlSoRq93o6N4rFz+uH3PygYsNNyyE+GclGRaQZb\nFdwFLhyQpfuYIKCBY+eynKDRYACZIB+CWVVvvig4EPa0lqL7UzrqP/q7QobV\n54TEAqJGzEKuXEoIgkP6ohorrVg99dc3WSIKaPG06UJ/kDZ08e9r7g8spam4\nYrNpnP55X3GtRvqZyYlrG9uFNH/gIL5pJ7oNG16fMt/QALDfw1k00FImOOhI\ntTswFX8B8aJyniKZ8U6fXHUwUR+7RYNqjTNBOkv3Z8zykYGBAB/2vUvI1vpy\nYmuWzVlC1vx69T4HFtEbTHaRpod2yob3afp66GNLIy2HCJ36kr8dRafinqJz\nAjQtqvKvIK4qdLPUskfiZQJi9U67BpXsRHkeIbvqeAwocnqrySpya8sQR1DS\nbSuISicBFhKGdiTL2mHCTn4LyFrelcbjC6VcjSh/fqzSKFmzdJUhHYl1NWrD\n2Sar\r\n=HH1O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeiQP6l0hSVejnWn/q+sY6CJCmYwf0Q5Y57SLz1T7glQIgBiCYgmLULT83U5owosvuH7tVh6T7Q4zmVFYeSDkaZZQ="}],"size":3641,"noattachment":false,"key":"/cache-point/-/cache-point-2.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-point_2.0.0_1575401023986_0.5509894689603325"},"_hasShrinkwrap":false,"publish_time":1575401024078,"_cnpm_publish_time":1575401024078},"1.0.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=8"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t README.hbs index.js > README.md"},"devDependencies":{"jsdoc-to-markdown":"^5.0.2","test-runner":"~0.6.0"},"dependencies":{"array-back":"^4.0.0","fs-then-native":"^2.0.0","mkdirp2":"^1.0.4"},"gitHead":"242e9caf228472c2d3f5329694fbcdc9577b8eac","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@1.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-ZqrZp9Hi5Uq7vfSGmNP2bUT/9DzZC2Y/GXjHB8rUJN1a+KLmbV05+vxHipNsg8+CSVgjcVVzLV8VZms6w8ZeRw==","shasum":"3d9769fc04d7a5b3005fc6258e6ebcaccb5f15f3","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-1.0.0.tgz","fileCount":5,"unpackedSize":12660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdolLLCRA9TVsSAnZWagAAG3UP/05+a0v5joc9BRYCbJxW\nWcp8T00HRSEnR3nk+cz6adkuGCwbGDFVWDGOqhc5lU4GJr1wccOo5IYpQGHP\nGsMRC9r1PRuGA+OM46p5850COXCFKDHWQtxVU1Ciwv3cF0/UvKvPXWp99Oo9\n7ShYDGVIzBcOE8fN/iyjsryZZaG6a4OY6I2xdVxInK0YFAoP7ZXqOtOzMDMY\nisx9ofQkVtRpvYwYiRPD9ePriiMoj+kZ0CQdDaYwY1Pks+jSPaYxscsK0dEn\nJDLj/rAf9ueI22sgtfKwAztAmDmD4eB7oagUA0hO0SfkCqgarcegZplHLCkj\nU4xRSFa+aFLYVJbVNnTyxqPcuxaTKviYbERuaZuxE3qKyeqTPjY9jcXYMYLh\nUOamaBcuMGjVk1CQlH9prYd+I+rGz3WwOmxT6KV7CDJiDMIeQtCodtxsPJx3\n7qEsMEQDxIHJ3kR5bYtK16W3BqAjFZiyzqH/cbN++HPVq/sS5fMt2N0LsflG\nbk/u4C4x8ZhQeCaTTbD7nQvHHAmP8Zh+WxRQvg43u1OeTCv0+7gCSJNzt8a1\n6wYU1iuVEtKrNQ1QPWC0fMjhBtmxFgYP/JF/BR0PM3JXmqozV2Z1a2ajj7UQ\nqWAdzdS20lNbEjmcXJzyrP71PO2j4RU8ewbBU3HOKpsEqcIqTuBYNdBFgXyA\nFod1\r\n=RLDT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiXjWqQ+3KTdKFX/2JQw3IR13ydatatHat8m/KP3MMBAiEAmZV7qPvwZX+HhbYijXHx790BWqYB85HSULuzVpxRYwc="}],"size":3481,"noattachment":false,"key":"/cache-point/-/cache-point-1.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-point_1.0.0_1570919115192_0.834834622734848"},"_hasShrinkwrap":false,"publish_time":1570919115340,"_cnpm_publish_time":1570919115340},"0.4.1":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.4.1","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"lib/cache-point","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0","test-runner":"~0.4.0"},"dependencies":{"array-back":"^2.0.0","fs-then-native":"^2.0.0","mkdirp2":"^1.0.3"},"gitHead":"0860b736d453c168b7e47ea09433316612236c41","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.4.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-4TgWfe9SF+bUy5cCql8gWHqKNrviufNwSYxLjf2utB0pY4+bdcuFwMmY1hDB+67Gz/L1vmhFNhePAjJTFBtV+Q==","shasum":"cc8c9cbd99d90d7b0c66910cd33d77a1aab8840e","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.4.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/Lqdgpla7i7iCfa5VdC520r+sldZxxkkhVRtP5aWq7AiAph+aghPa+4o9Dwl6v2GdLqTpOwK+Z+t+wXwAZzll3sQ=="}],"size":19187,"noattachment":false,"key":"/cache-point/-/cache-point-0.4.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-point-0.4.1.tgz_1501441610667_0.6508370190858841"},"directories":{},"publish_time":1501441611727,"_cnpm_publish_time":1501441611727},"0.4.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.4.0","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"lib/cache-point","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^2.0.1","test-runner":"~0.3.0"},"dependencies":{"array-back":"^1.0.4","fs-then-native":"^2.0.0","mkdirp":"~0.5.1"},"gitHead":"396d37f5b591b1f0ae6abaedc3894f4a936bc0d2","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.4.0","_shasum":"2797f68055970757c87e89b464978e74e11047b0","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"2797f68055970757c87e89b464978e74e11047b0","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.4.0.tgz","integrity":"sha512-C3B48KtQlAgAdOJkpQ9IHiakrTEKgW9n6dha7klfucCLpTR9BmBDgRUmu1pHcLousn79/UouJvkVGe8bdbUniQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDO2J63Is01X3riCfLblCVnlLZrXfNlYuP1GYSPaGJdEAiEAr8g4Ltan6u1FgIdmhdHxQ+M4A5VCiOmZsc5ez/8534k="}],"size":4518,"noattachment":false,"key":"/cache-point/-/cache-point-0.4.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-point-0.4.0.tgz_1486587381832_0.27675697091035545"},"directories":{},"publish_time":1486587383792,"_cnpm_publish_time":1486587383792},"0.3.4":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.4","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js","docs":"jsdoc2md -t jsdoc2md/README.hbs src/lib/*.js > README.md; echo","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments src --out-dir es5"},"devDependencies":{"babel-preset-es2015":"^6.16.0","core-assert":"~0.2.1","jsdoc-to-markdown":"^2.0.0-alpha.0","test-runner":"~0.2.5"},"dependencies":{"array-back":"^1.0.3","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","fs-then-native":"^1.0.2","mkdirp":"~0.5.1"},"gitHead":"569d7a1f832aee1e1b4e5eb2d530513b0ccb7332","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.3.4","_shasum":"152db502c6bb23b5aa3f663e230d5de8ec4e4f3f","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.7.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"152db502c6bb23b5aa3f663e230d5de8ec4e4f3f","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.3.4.tgz","integrity":"sha512-xY7ZTpb6twvkNvsz9ucBaySYmA/NG+lw7qWagtdphqczVqesDzrjaqpEEWEjmMtdtt3f5g4odW9m69Bro8BV4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0viUtc1/XDmNqjCCdC4iT5HYvg0vJDrT1NpGz+2HB5gIhAILOU3oXCVEU39GdybpuPhNYiGEm8j/HIgCQpfCfmDTn"}],"size":5896,"noattachment":false,"key":"/cache-point/-/cache-point-0.3.4.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-point-0.3.4.tgz_1476048587782_0.5622283685952425"},"directories":{},"publish_time":1476048589743,"_cnpm_publish_time":1476048589743},"0.3.3":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.3","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"babel-preset-es2015":"^6.9.0","core-assert":"~0.2.0","jsdoc-to-markdown":"^2.0.0-alpha.0","test-runner":"~0.1.8"},"dependencies":{"array-back":"^1.0.3","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"d7f36f7324d6066a774c0222e8f5c3cf350199c0","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.3.3","_shasum":"dfb95eddfd431c0bf554307879aa5c28891101e0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"dfb95eddfd431c0bf554307879aa5c28891101e0","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.3.3.tgz","integrity":"sha512-/KRyujtr9Qkq4bSFsjg1SSzSksb3+ENBAy0ELQ8Ay5nnxmCDFLInpsA1HACD3DWPYR4hjzajoZ61It/8qsQ6DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCLQyRlSs1dxhrTw8JKWk520vbQDBHOt/SLWM9ivVwFQIgY7ZAi2sEFFVOf7cbozXPyfvlOO33Nuu7FgqK5tmM2og="}],"size":5572,"noattachment":false,"key":"/cache-point/-/cache-point-0.3.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.3.3.tgz_1470298776839_0.016576946014538407"},"directories":{},"publish_time":1470298778278,"_cnpm_publish_time":1470298778278},"0.3.2":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.2","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"babel-preset-es2015":"^6.9.0","core-assert":"~0.2.0","test-runner":"~0.1.8"},"dependencies":{"array-back":"^1.0.3","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"5f62d82855f09bfdee60d72b7a9683b6711dc2cb","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.3.2","_shasum":"5b91e73477bfeabea9e94a9b0197dec9f7e8581a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"5b91e73477bfeabea9e94a9b0197dec9f7e8581a","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.3.2.tgz","integrity":"sha512-0OnHjHTThWXC4chWEisK7B7AvNgnhX1q1zCF2/0dMhHZ2+sZu5Sa2ku2zOJKNS982eIx1nFOxEc1hVKhTt4FgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXh5fue9hhbBUWydB9+qS3qMRHF4p2RtYRMhJNrrn1HAiEA5yPvd7/j8GcSu+ojpvnlHjHAyQx5BmUKu/ocvEH6VvU="}],"size":5531,"noattachment":false,"key":"/cache-point/-/cache-point-0.3.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.3.2.tgz_1470084913780_0.43742854450829327"},"directories":{},"publish_time":1470084914593,"_cnpm_publish_time":1470084914593},"0.3.1":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.1","description":"Simple, filesystem-backed memoisation cache.","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":["memoisation","memoization","cache","file","store"],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"core-assert":"~0.2.0","test-runner":"~0.1.8"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"0de62e9b325f0144a4d6caf9865f15da1e6e527d","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.3.1","_shasum":"0a93517002f899bc3315f31bc8939da4af29ff4f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"0a93517002f899bc3315f31bc8939da4af29ff4f","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.3.1.tgz","integrity":"sha512-XX0dYIOghfqNZ3QP7QtYw1pjVAhV9+Wp0WzQj8sXd97xphabthDLu+ZY7qaapNT5QjWEiZr6A954gGoO5z+bbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkj3HEvKGFc+7aMHSHxvlQoTa7mqqy5/e8EDCoIG1GlAiEAraqSiCdLYKJkqK1UaZsyC9vIbycxJNUvPKWlYZTc/bE="}],"size":5531,"noattachment":false,"key":"/cache-point/-/cache-point-0.3.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-point-0.3.1.tgz_1470082899272_0.9533984854351729"},"directories":{},"publish_time":1470082901127,"_cnpm_publish_time":1470082901127},"0.3.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.0","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"core-assert":"~0.2.0","test-runner":"~0.1.8"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"2bac4af72c37626c368b063a911c93a1cf7e3ebd","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.3.0","_shasum":"8375c19e0b6ac53a49b205618d128f85bc7904d2","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"8375c19e0b6ac53a49b205618d128f85bc7904d2","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.3.0.tgz","integrity":"sha512-RB5d9Ac0VH6TghOd0u/OLthNMw2QM4QEq3BUjDKtCLeZNIZXfog3UiekWY02BqCQbfErdDPwkehRZ561rmNB/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVLVSBVScF5httbMX6/vwDOJnUuRK063+WL2Qgneyc3AiAJ/EHBpH0OgZpTjwmbTwRtwdHKLT+tl4hDxKmPo4mJ3g=="}],"size":4727,"noattachment":false,"key":"/cache-point/-/cache-point-0.3.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.3.0.tgz_1470079080506_0.7501430360134691"},"directories":{},"publish_time":1470079081408,"_cnpm_publish_time":1470079081408},"0.2.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.0","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"aa3e7917e936564c07c725b485ea71bb37aae23c","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.2.0","_shasum":"bf842a0f15bb53fae2dd5850df0b770c9a591e2f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"bf842a0f15bb53fae2dd5850df0b770c9a591e2f","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.2.0.tgz","integrity":"sha512-pIaswpj/7bZjPnXdExwwGRRhse8QvOaeORYSXtYoSVb0OAY2VV1uZB86XeNbrmMhflSQTZK0O82XBGQTw8qRuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYH5afdw146nUNeBZ2/sIFjJCrkbK7TaBxSEuCG7FheAIgDju2kJpiG9cL16N4/so/L1JZr7TUk8Dju6I4/6KAo7Y="}],"size":4181,"noattachment":false,"key":"/cache-point/-/cache-point-0.2.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.2.0.tgz_1469832397210_0.8601959818042815"},"directories":{},"publish_time":1469832400185,"_cnpm_publish_time":1469832400185},"0.1.4":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.4","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"d553dbdaf5910a1f1416c9f4ff6f29e84ccddfaf","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.1.4","_shasum":"076fd5bde0d87b6ad8c71423f290d990cfc6f101","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"076fd5bde0d87b6ad8c71423f290d990cfc6f101","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.1.4.tgz","integrity":"sha512-rw9OAxz1FS684rldQ1oSWqy0g7tUO0OCdnR7ekPy7T0lgsbikuLe2MVUfpfcc9v2hQJCNKLo59hYl6E3bgz2aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/b13IDJsN174LhOIYZLToB6RTapaF4wo0R7mlBrRlLwIhAKifisRclb4DsJFW06yk/IoX66KBjKx6bIQs8A5MP11P"}],"size":4123,"noattachment":false,"key":"/cache-point/-/cache-point-0.1.4.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-point-0.1.4.tgz_1469828065333_0.3974387589842081"},"directories":{},"publish_time":1469828067309,"_cnpm_publish_time":1469828067309},"0.1.3":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.3","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1","mkdirp":"~0.5.1"},"gitHead":"138157faddd301a4cc6c97d178f8212daad347d5","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.1.3","_shasum":"d9fff9cf5d2c38f5b46e738c2db51aafded2f5b7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"d9fff9cf5d2c38f5b46e738c2db51aafded2f5b7","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.1.3.tgz","integrity":"sha512-aNcBjvzm1nK02lCgS5oktYzJxJyblAWFcMnmUtugcjeeD01aMYr2SbbcrynTa9atJRBf2+OZKziPSXlhv3pn7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkSOAnMH6vCaGLk2c1EnTaeQ95Uva/QckcsRvqoD19rAiB6NiIzlH8ECElmasOPo7oiRPeOd6rQ2hy+Nc7lOr/REQ=="}],"size":4143,"noattachment":false,"key":"/cache-point/-/cache-point-0.1.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.1.3.tgz_1469827792281_0.7924676551483572"},"directories":{},"publish_time":1469827795265,"_cnpm_publish_time":1469827795265},"0.1.2":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.2","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1"},"gitHead":"30dfb535903f948d1fd1e5c18decc03643f18821","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.1.2","_shasum":"43fc2a6f9c46693e3c3823a352075d25b118e69e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"43fc2a6f9c46693e3c3823a352075d25b118e69e","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.1.2.tgz","integrity":"sha512-6eUocLOdSXEeHgFQh82njja14XVaBWWEQHt3f47exqNQu3Dfdbdek2ce1QcCGF9vJh/JESpdB61MAtBh2Dpv8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3VjbOxQwNSoNXv+xRso9/a4iQU7p2xdTbf9b7ohPM5AiEAkvgOL8NV5ZM3c+8IHQQVH6v4lDH4yAt1OAQsGp1UJDE="}],"size":4061,"noattachment":false,"key":"/cache-point/-/cache-point-0.1.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.1.2.tgz_1469398179521_0.8214538786560297"},"directories":{},"publish_time":1469398181708,"_cnpm_publish_time":1469398181708},"0.1.1":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.1","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","core-js":"^2.4.1","feature-detect-es6":"^1.3.1"},"gitHead":"badd632c6b8955a444ffd1039a0ff43bfaf55b55","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.1.1","_shasum":"aea5849a2c7fb4a2b6de6ba57d26618154e56863","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"aea5849a2c7fb4a2b6de6ba57d26618154e56863","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.1.1.tgz","integrity":"sha512-YDUS9WFygoLX8LxeNJD7kQlIR/whU6jRMAA16R0nbJ7qK7wg7bbipdtascv49o1DjyGU5yUl/e1tNUDcXs4N1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+tvKPgrHPulEdJbHjRoGoVPF3CRzZQELEH9DXOux13gIhAMEpqfFuUnx3tPMrK5OvK8GmUsB1PKrnleWt22xMMfMT"}],"size":4039,"noattachment":false,"key":"/cache-point/-/cache-point-0.1.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.1.1.tgz_1469394239641_0.7086953981779516"},"directories":{},"publish_time":1469394241567,"_cnpm_publish_time":1469394241567},"0.1.0":{"name":"cache-point","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"cache-point","repository":{"type":"git","url":"git+https://github.com/75lb/cache-point.git"},"license":"MIT","main":"index","keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","es5":"babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"devDependencies":{"tape":"^4.6.0"},"dependencies":{"array-back":"^1.0.3","babel-preset-es2015":"^6.9.0","feature-detect-es6":"^1.3.1","then-fs":"^2.0.0"},"gitHead":"930387102c80a865fdd455af8ea4de6ebfcad435","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"homepage":"https://github.com/75lb/cache-point#readme","_id":"cache-point@0.1.0","_shasum":"80b03837e6486ca6e947d0ff6815f289146c12e8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"80b03837e6486ca6e947d0ff6815f289146c12e8","tarball":"http://registry-npm.ywwl.com/cache-point/download/cache-point-0.1.0.tgz","integrity":"sha512-MjUDY0bDIGxVJFlWD5v4XXADOxVxDIG4rmQVhJ/6pFGcialoM1kZzdUoHrf0MLyNGWrlnRu5ODHjoT++t8TD7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuRreSMLbwCnC5nLNm6LalyKmjVmP6Tc4Vge6atFkKSAiEAj6KYutH9tKHIi11R0cYZ7zqHmOsCjxbsbKLz59UF8vw="}],"size":3503,"noattachment":false,"key":"/cache-point/-/cache-point-0.1.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cache-point-0.1.0.tgz_1469384990279_0.6737220927607268"},"directories":{},"publish_time":1469384992485,"_cnpm_publish_time":1469384992485}},"readme":"[![view on npm](https://badgen.net/npm/v/cache-point)](https://www.npmjs.org/package/cache-point)\n[![npm module downloads](https://badgen.net/npm/dt/cache-point)](https://www.npmjs.org/package/cache-point)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/cache-point)](https://github.com/75lb/cache-point/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/cache-point)](https://github.com/75lb/cache-point/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/cache-point/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/cache-point/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# cache-point\n\nSimple, filesystem-backed memoisation cache. Use to cache the output of expensive operations speeding up future invocations with the same input.\n\n## Synopsis\n\n```js\nimport Cache from 'cache-point'\nimport { setTimeout as sleep } from 'node:timers/promises'\n\n/* mock function to simulate a slow, remote request */\nasync function fetchUser (id) {\n  await sleep(1000)\n  return { id, name: 'Layla' }\n}\n\nclass Users {\n  constructor () {\n    this.cache = new Cache({ dir: 'tmp/example' })\n  }\n\n  async getUser (id) {\n    let user\n    try {\n      /* cache.read() will resolve on hit, reject on miss */\n      user = await this.cache.read(id)\n    } catch (err) {\n      if (err.code === 'ENOENT') {\n        /* cache miss, fetch remote user */\n        user = await fetchUser(id)\n        this.cache.write(id, user)\n      }\n    }\n    return user\n  }\n}\n\nconsole.time('getUser')\nconst users = new Users()\nconst user = await users.getUser(10)\nconsole.timeEnd('getUser')\nconsole.log(user)\n```\n\nThe first invocation will take 1 second while the remote user is fetched.\n\n```\n$ node example/simple.js\ngetUser: 1.025s\n{ id: 10, name: 'Layla' }\n```\n\nSince the cache is now warm, future invocations will be fast.\n\n```\n$ node example/simple.js\ngetUser: 17.07ms\n{ id: 10, name: 'Layla' }\n```\n\n## API Reference\n\n<a name=\"module_cache-point\"></a>\n\n## cache-point\n\n* [cache-point](#module_cache-point)\n    * [Cache](#exp_module_cache-point--Cache) ⏏\n        * [new Cache([options])](#new_module_cache-point--Cache_new)\n        * [.dir](#module_cache-point--Cache+dir) : <code>string</code>\n        * [.read(keys)](#module_cache-point--Cache+read) ⇒ <code>Promise</code>\n        * [.readSync(keys)](#module_cache-point--Cache+readSync) ⇒ <code>string</code>\n        * [.write(keys, content)](#module_cache-point--Cache+write) ⇒ <code>Promise</code>\n        * [.writeSync(keys, content)](#module_cache-point--Cache+writeSync)\n        * [.getChecksum(keys)](#module_cache-point--Cache+getChecksum) ⇒ <code>string</code>\n        * [.clear()](#module_cache-point--Cache+clear) ⇒ <code>Promise</code>\n        * [.remove()](#module_cache-point--Cache+remove) ⇒ <code>Promise</code>\n\n<a name=\"exp_module_cache-point--Cache\"></a>\n\n### Cache ⏏\n**Kind**: Exported class  \n<a name=\"new_module_cache-point--Cache_new\"></a>\n\n#### new Cache([options])\n\n| Param | Type |\n| --- | --- |\n| [options] | <code>object</code> | \n| [options.dir] | <code>string</code> | \n\n<a name=\"module_cache-point--Cache+dir\"></a>\n\n#### cache.dir : <code>string</code>\nCurrent cache directory. Can be changed at any time.\n\n**Kind**: instance property of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n<a name=\"module_cache-point--Cache+read\"></a>\n\n#### cache.read(keys) ⇒ <code>Promise</code>\nA cache hit resolves with the stored value, a miss rejects with an `ENOENT` error code.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n**Throws**:\n\n- ENOENT\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| keys | <code>\\*</code> | One or more values to uniquely identify the data. Can be any value, or an array of values of any type. |\n\n<a name=\"module_cache-point--Cache+readSync\"></a>\n\n#### cache.readSync(keys) ⇒ <code>string</code>\nA cache hit returns the stored value, a miss returns `null`.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| keys | <code>\\*</code> | One or more values to uniquely identify the data. Can be any value, or an array of values of any type. |\n\n<a name=\"module_cache-point--Cache+write\"></a>\n\n#### cache.write(keys, content) ⇒ <code>Promise</code>\nWrite some data to the cache. Returns a promise which resolves when the write is complete.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| keys | <code>\\*</code> | One or more values to index the data, e.g. a request object or set of function args. |\n| content | <code>\\*</code> | the data to store |\n\n<a name=\"module_cache-point--Cache+writeSync\"></a>\n\n#### cache.writeSync(keys, content)\nWrite some data to the cache with a key.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| keys | <code>\\*</code> | One or more values to index the data, e.g. a request object or set of function args. |\n| content | <code>\\*</code> | the data to store |\n\n<a name=\"module_cache-point--Cache+getChecksum\"></a>\n\n#### cache.getChecksum(keys) ⇒ <code>string</code>\nUsed internally to convert a key value into a hex checksum. Override if for some reason you need a different hashing strategy.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| keys | <code>\\*</code> | One or more values to index the data, e.g. a request object or set of function args. |\n\n<a name=\"module_cache-point--Cache+clear\"></a>\n\n#### cache.clear() ⇒ <code>Promise</code>\nClears the cache. Returns a promise which resolves once the cache is clear.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n<a name=\"module_cache-point--Cache+remove\"></a>\n\n#### cache.remove() ⇒ <code>Promise</code>\nClears and removes the cache directory. Returns a promise which resolves once the remove is complete.\n\n**Kind**: instance method of [<code>Cache</code>](#exp_module_cache-point--Cache)  \n\n* * *\n\n&copy; 2016-25 Lloyd Brookes \\<opensource@75lb.com\\>.\n\nTested by [test-runner](https://github.com/test-runner-js/test-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","_attachments":{},"homepage":"https://github.com/75lb/cache-point#readme","bugs":{"url":"https://github.com/75lb/cache-point/issues"},"license":"MIT"}