{"_id":"@arve.knudsen/catbox-memory","_rev":"1-827c533d1ede881dcd518d07ba5b174c","name":"@arve.knudsen/catbox-memory","dist-tags":{"latest":"3.1.2"},"versions":{"3.1.2":{"name":"@arve.knudsen/catbox-memory","description":"Memory adapter for catbox","version":"3.1.2","repository":{"type":"git","url":"git://github.com/aknuds1/catbox-memory.git"},"main":"lib/index.js","keywords":["cache","catbox","memory"],"engines":{"node":">=8.9.0"},"dependencies":{"big-time":"2.x.x","boom":"7.x.x","hoek":"5.x.x"},"devDependencies":{"catbox":"10.x.x","code":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -L -t 100","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"93dc61c9e9116c072b54b567da927ea29cc7effe","bugs":{"url":"https://github.com/aknuds1/catbox-memory/issues"},"homepage":"https://github.com/aknuds1/catbox-memory#readme","_id":"@arve.knudsen/catbox-memory@3.1.2","_npmVersion":"6.2.0","_nodeVersion":"10.7.0","_npmUser":{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"},"dist":{"integrity":"sha512-gXF4xnta3uOrVBHz65kvdWaD+N1U07t1Ndvm8EQ40+QKfiX3k7Mhinc6pI5VeGABzemg4BH68JfU/SwhgwpQlQ==","shasum":"1a979bf4d1483c6b7462a0056bb9c326213ddc2a","tarball":"https://registry.npmjs.org/@arve.knudsen/catbox-memory/-/catbox-memory-3.1.2.tgz","fileCount":5,"unpackedSize":8273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbZuJ5CRA9TVsSAnZWagAAr2UP/3yDuJGo8EfNLKgXyYpZ\nNXXAwc0GSXC/bm5KqBnrMBmXzC1cu+jQqE5gw4OmPw+ZBFthFavAeciusBJK\nqy24qOGmw5wn7bSpLpDe6hetePRl39ubdi6R8FxnqsEe1qvz/d2mju0XXDSE\nnvUc89PIyWaNEC1W/5oHN6Q0DX3eS9caNU1MLlmQlxMBEzq0LyUFL5+e11B4\n00tc3rwHoX7bagxssehCBzJGyuOcEBNWT6LK7jP6ecR873/JAa4K7FjEOeqC\ngEwBjzFYf2dRFXQOWkhTV5OKLWu8Lddv5lYg69BOPT1q6EeoEAK6Duy/COYe\nIx/SLSM9krJVVOUyLSPz/Eex3XV5o7G8k+6Ey1LHTRG4qXZ2BDwlYkRJ/gTM\nfn1OveZmkrR3Db2yBqkYThUKWCyNonOCc5ZAuZzvMLicUMIQdKVVBQ7WQal/\nb5OoZQdpwpaFl3BSN9128ccko6YufNr6uHf+2txbS3Ag89Ren4pfbc64pb+I\nPox9a1xRspkxKFLdLupRVqMJ57zbuw2dX4i9wej/TyiAdB8s9aDqKnEKozFz\nrWQkEvEGlifYoN8eyQsi+mWXELbCGbDVlcYhGSyVYOVVxezyWNzav5rPCS9q\nP3eU1XR+mGk3mi+PJTehTEs6R9nQc2xmri8KXkQouVLykrzNKPgcN6NCr48v\nqOml\r\n=uXh9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0eUgnC8RBoEohptzSW4aX6hrjzt0F1WakUOr7boAP/AIhAOdUgEtl6aHAw/V89PpcX6ArRlokViZoAMkuzq7NuIs3"}]},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/catbox-memory_3.1.2_1533469304454_0.8874457489097693"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-05T11:41:44.204Z","3.1.2":"2018-08-05T11:41:44.560Z","modified":"2022-04-04T15:41:13.511Z"},"maintainers":[{"name":"arve.knudsen","email":"arve.knudsen@gmail.com"}],"description":"Memory adapter for catbox","homepage":"https://github.com/aknuds1/catbox-memory#readme","keywords":["cache","catbox","memory"],"repository":{"type":"git","url":"git://github.com/aknuds1/catbox-memory.git"},"bugs":{"url":"https://github.com/aknuds1/catbox-memory/issues"},"license":"BSD-3-Clause","readme":"catbox-memory\n=============\n\nMemory adapter for [catbox](https://github.com/hapijs/catbox).\nThis adapter is not designed to share a common cache between multiple processes (e.g. in a cluster mode).\n\nLead Maintainer - [Wyatt Preul](https://github.com/geek)\n\nCurrent version: [![Current Version](https://img.shields.io/npm/v/catbox-memory.svg)](https://www.npmjs.org/package/catbox-memory) [![Build Status](https://api.travis-ci.org/hapijs/catbox-memory.svg)](https://travis-ci.org/hapijs/catbox-memory)\n\n### Options\n\n- `maxByteSize` - sets an upper limit on the number of bytes that can be stored in the\n  cache. Once this limit is reached no additional items will be added to the cache\n  until some expire. The utilized memory calculation is a rough approximation and must\n  not be relied on. Defaults to `104857600` (100MB).\n- `allowMixedContent` - by default, all data is cached as JSON strings, and converted\n  to an object using `JSON.parse()` on retrieval. By setting this option to `true`,\n  `Buffer` data can be stored alongside the stringified data. `Buffer`s are not\n  stringified, and are copied before storage to prevent the value from changing while\n  in the cache. Defaults to `false`.\n","readmeFilename":"README.md"}