{"_id":"ronny-cache","_rev":"27-a022d4bbc5de2e7648d476c6ae27bafb","name":"ronny-cache","description":"Cache your asynchronous functions transparently in Redis or in-memory","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.2":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.2","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.2","dist":{"shasum":"c8f56aa3feba7308fc19ca52410cbecdc5d88bcc","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.2.tgz","integrity":"sha512-lGxB2mNT+ksyUBXc08jErbplo7vGdPf5yULU/bITR8K9KCFEc8ZUFPGmwusojDuDMG6XBBtXgL1d20mUL5hi0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7fcwV0rlgnUfnwFm/C8wbxZfwJyLTPZZkdJBgRYUlagIgbAwmhQxH6Bx8vRPMgozVT3iDxL9ie/MlzjJdXWJTVNg="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.3":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.3","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.3","dist":{"shasum":"73c004af55bb9ab6549853e50457ecac030fd000","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.3.tgz","integrity":"sha512-4SNrVXcIfIS3RA1t5mIxwbhRXLSn1KN7RjU2O024lmfQReW+vXAFYqtCM8w5UmDWzijz5SXgQEn2sLwSB3zkzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLxHE+YlZC67PFkcMla4wYWoJLUNhigjce5ZvzeYglWwIhAJNPwqiAGbZq2lHqmvkOSrBMG19WL9KTOM+qXYlGk7UT"}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.4":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.4","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.4","dist":{"shasum":"c5165c2c663f90b987a2b5182f87cfab2873965f","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.4.tgz","integrity":"sha512-7TwtbxtAwCwUp2fnrMt7VapvEtBg7rEJ+1cikm2Fw05tCOvigqPy6jaipOOgMFPspwi7VFZO5ZIKlOBN5OzbVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKZA3EELLlxc7EzY4aUDolV9FGlu+zqo/Ey7ugHmgZPAIhAOPQbmjAwGr652ANlUw7zJTFjD07rNOmSam9czT2MKyo"}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.5":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.5","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.5","dist":{"shasum":"0bd660ae61f50ca12d2b7cbce863314e257d54bb","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.5.tgz","integrity":"sha512-yu9YrE100vpZNlLVJe69s4LTtK/WprP6/UHbN1r2UU4BzjHb6C46tiAqSsG35znLqdfepd70plGsTV9Jp5M/pA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmkmkXSpRkRh00+CtQQ2KP7uox0i0gIJSRijsVjMhbJwIgTn382otpnANFo4TZo5tollLxpOUseEhdex84dMvTaPQ="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.6":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.6","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.6","dist":{"shasum":"f0a16c652146e224bc52eb28d67fbb3b85597ed4","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.6.tgz","integrity":"sha512-4M9zMgHZLs1zv3beKcsqZRC0Y5V5pKxhfQgStFClcm/54r+ENPQnKja9BGng3YooCi/krqQx+puHcYWr5ezzxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSU/d1NIv6V0GFD5TjK+Mq04dBhyyzamZAqa4z2OGrMQIhAOrW6hUsgLYMOX/immmO3SoyrW1y+Sr1jkSwTbScMn13"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.6-1":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.6-1","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.6-1","dist":{"shasum":"f8bf3f68e7648f08b2df72fff5e3ea95eb2a6489","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.6-1.tgz","integrity":"sha512-+5iUT9RBIdF2jJ5G3M6nAu5WUeQ1NWKZGmROgII2WPno+BjVuPvQz1fQ0aY5VtLl9QyYuWnptv0hsmI18tjOKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2PxesWuYQHM9nHaNdpxIXyNpUm+qg0BdFL+CNFwsxlAiEAx065qwYOk4iIeQZQxWLZSvnFdzH4rDpFjIqEaG/C5sA="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.6-2":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.6-2","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.6-2","dist":{"shasum":"8db3352dfee4532621ee4a68fea5e265f2d3405c","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.6-2.tgz","integrity":"sha512-soqjqJL4yK132oL61rXQFjtHQD4YC19NFl1ROYYLJrw2MgW4LjT+Z8OcimMQbYpqXiLK62fuQiZfyXQcnYccGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxijDabkqcnZamsOfFV+umfnZxUmZ9F649co8r/kOLxwIhAKTcRPU10NICKfNR10FG7avHb/tzTPbj+QfXzOdwwsK4"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"directories":{}},"0.0.7":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.0.7","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.0.7","dist":{"shasum":"4034930ab108ac215b54e84c8e7df80b025e4b82","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.0.7.tgz","integrity":"sha512-H3cd2q+vhD+EHfj+DShuYklcseyhxhlGkfLHKWIRW5RGW7uEHxWwg78IpFU+3RYEBJwO1pauuaLm8HcER20Avg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1TIrcHoEs6qHHxMj3ikBV5gnD9gR6FO9YaCFNX6plTgIhAIDhbR/FhNdBFVzwbJpLqZ8h29HxLrXuYBymaFt6qnCj"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}]},"0.1.0":{"author":{"name":"Johann Philipp Strathausen","email":"philipp@stratha.us"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.1.0","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.1.0","dist":{"shasum":"3f1a54ac748a85f2560fa7dad2313679541df94b","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.1.0.tgz","integrity":"sha512-t93fZa2rTW73Suk7LajvKtrU9YjZkuDpPfarnWbmZiB7QU6WfRVwG7Oriv/BQ5xPiiEz5c0PEBq+yGiy1G+dBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhcl6SKNcugYgjHGd/1yvWG1hoKVCH+gFenMuiZojKVAiAfJ6/6HqAxKWksvc1/Qf088oY8un0gtRvPnWfpjRgIRw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}]},"0.1.1":{"author":{"name":"Johann Philipp Strathausen","email":"strathausen@gmail.com"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.1.1","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.1.1","dist":{"shasum":"f35b401d590b6e98e772db3c80985a9c4aa7a049","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.1.1.tgz","integrity":"sha512-UoCsH+er40co2K+H2F1fg7Uv6gxgL4PuU2D++ge1k7Jwcg+mAHUZSbifwMBI8Y/AolF2zA/5GDOp87YZwKVPFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQ30oiqlnBR9MaD6nbsPiRYR8IkZBBjpnuyJQJE3zBYAiEAiw5aYDmlnqHL7WtgAq+CHstM1AfxzcOopif9n2DvFAM="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}]},"0.1.2":{"author":{"name":"Johann Philipp Strathausen","email":"strathausen@gmail.com"},"name":"ronny-cache","homepage":"https://github.com/strathausen/ronny-cache","version":"0.1.2","description":"Cache your asynchronous functions transparently in Redis or in-memory","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"keywords":["redis","cache","async"],"license":"BSD","dependencies":{"redis":"~0.10.0","english-time":"0.0.3"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"_id":"ronny-cache@0.1.2","dist":{"shasum":"79a3e393bbe3d92dcf51a5d70a5767cef86c3cab","tarball":"https://registry.npmjs.org/ronny-cache/-/ronny-cache-0.1.2.tgz","integrity":"sha512-6fEwffZJ9xeIwiWxlwIo2PeYDds7R8fZt9Tw57edepEXI3Z3Es3Nht81rU+x33LBbx63GYLD4hH7CIV1xs1BOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTTLpw356AY8PDOhCGTHWz2zFd3febpqTQTShDxCV72AiEAjoPJNaR/T2ZsAXnXH8eMpGpwl/BLW0BZWX0hSwtnjkA="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"strathausen","email":"strathausen@gmail.com"},"maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}]}},"readme":"# ronny-cache - async function cacher\n\nDo you sometimes have asynchronous functions\nthat do slow things,\nlike\nparsing files,\nrequesting APIs\nor\ndoing 10 SQL queries with tons of JOINs in them?\n\nWorry no more.\n\nRonny Cache is there to help.\n\n## What it does.\n\n`ronny-cache` is a node module that wraps asynchronous functions\nand caches their results in Redis.\n\n## How to use it.\n\nJust wrap your slow function with `ronny`.\n\n``` js\nvar Ronny = require('ronny-cache');\nvar ronny = new Ronny({\n  /* db connection string, uses in-memory caching when empty */\n  db: process.env.REDIS_URL\n  /* optional */\n, maxAge: '2s' // string that can be parsed by monent.js\n});\n\n/* the arguments have to be serialisable via JSON.stringify */\nfunction mySlowApiFileParserQuery(a, b, c, callback) {\n  // ... lots of slow stuff here ...\n  callback(null, results);\n}\n\nvar cachedFunction = ronny.wrap(mySlowApiFileParserQuery);\n```\n\nHere's a list of time aliases for `maxTime`: https://npmjs.org/package/english-time#ref\n\n## TODO\n\n- support promises to be cached (pull-requests welcome)\n- more kinds of stores (like MongoDB, or in-memory)\n","maintainers":[{"name":"strathausen","email":"strathausen@gmail.com"}],"time":{"modified":"2022-06-26T14:08:30.235Z","created":"2014-02-03T14:43:34.615Z","0.0.2":"2014-02-03T14:43:34.615Z","0.0.3":"2014-02-03T15:09:32.057Z","0.0.4":"2014-02-03T15:18:49.174Z","0.0.5":"2014-02-05T09:58:46.013Z","0.0.6":"2014-02-05T10:48:55.716Z","0.0.6-1":"2014-02-05T10:57:11.036Z","0.0.6-2":"2014-02-05T11:05:04.893Z","0.0.7":"2014-02-06T11:25:30.196Z","0.1.0":"2014-02-26T14:45:46.587Z","0.1.1":"2014-03-20T15:36:10.705Z","0.1.2":"2014-04-09T12:39:24.010Z"},"readmeFilename":"README.md","homepage":"https://github.com/strathausen/ronny-cache","keywords":["redis","cache","async"],"repository":{"type":"git","url":"git@github.com:strathausen/ronny-cache.git"},"author":{"name":"Johann Philipp Strathausen","email":"strathausen@gmail.com"},"bugs":{"url":"https://github.com/strathausen/ronny-cache/issues"},"license":"BSD"}