{"_id":"kizzy","_rev":"14-ef805460ed31e25d30a98ed9a2bd83db","name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","keywords":["cache","local storage","caching","expiration","dom"],"version":"0.0.1","homepage":"https://github.com/ded/kizzy","author":{"name":"Dustin Diaz","email":"@ded"},"repository":{"type":"git","url":"git://github.com/ded/kizzy.git"},"main":"./kizzy.js","_id":"kizzy@0.0.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.1","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"bde7add48b017f9d78a6244f7cb2d1173c52bf80","tarball":"https://registry.npmjs.org/kizzy/-/kizzy-0.0.1.tgz","integrity":"sha512-3gnpjbDJpfSKWBEp/gHOHlVngLPAiszzhW1kZrmoGZikb5o84MR+vddc1KMo9/bO9uWM8AneXkNy1UFl2HDyfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRaZ7mYpUtRhexnl3GPLsjozhCEMLPGaG1etvAoOEyigIgJVdCo8JQtTMmQk/LQdkM6/BQ0O4kNsVs3rbVCOaV+YQ="}]}},"0.0.2":{"name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","keywords":["ender","cache","local storage","caching","expiration","dom"],"version":"0.0.2","homepage":"https://github.com/ded/kizzy","author":{"name":"Dustin Diaz","email":"@ded"},"repository":{"type":"git","url":"git://github.com/ded/kizzy.git"},"main":"./kizzy.js","dependencies":{},"devDependencies":{},"_id":"kizzy@0.0.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"ad4427b14fa6814f2834d9bc8568067ba504dc0d","tarball":"https://registry.npmjs.org/kizzy/-/kizzy-0.0.2.tgz","integrity":"sha512-YM75KeMP51C9ksnYNTUEVXNdJD9vgc7fTUgsNnVp0+4yKF8pzLwtIM4E9EJUbF+3qpB+zQLf9iWP+hUPRom1Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH26tUFc727FzqhFLQeUwluUHyrw389M8nylHfVfoEVkCIQC6/3kl8bikRO1aJJA7pQRrvLjxU4Z+CqrEBbWpnDH5hw=="}]},"scripts":{}},"0.0.3":{"name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","main":"kizzy.js","keywords":["ender","cache","local storage","caching","expiration","dom"],"version":"0.0.3","homepage":"https://github.com/ded/kizzy","author":{"name":"Dustin Diaz","email":"dustin@dustindiaz.com","url":"http://dustindiaz.com"},"repository":{"type":"git","url":"git://github.com/ded/kizzy.git"},"devDependencies":{"sink-test":"*"},"_npmUser":{"name":"ded","email":"polvero@gmail.com"},"_id":"kizzy@0.0.3","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"92541c87dc6ebd2838ca2add88f298a3182200e0","tarball":"https://registry.npmjs.org/kizzy/-/kizzy-0.0.3.tgz","integrity":"sha512-wqJcyKkQ6cdOdZ9BDKBOpsvnsBw/rQuaBHvW5HMp2y+WnkuMlvuxlycrajcsN83Tp1S8Fyl5WWDVuZgHx6YZxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5NRbrnyXnktB+M/CYU0XuA97lQ+GHs+acRkAR8tx8YAiEAuveG08KyuGvPBG7BdqSXfUxzohk++qdGvlFanOmXMxk="}]},"readme":"","maintainers":[{"name":"ded","email":"polvero@gmail.com"}]},"0.0.4":{"name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","main":"kizzy.js","keywords":["ender","cache","local storage","caching","expiration","dom"],"version":"0.0.4","homepage":"https://github.com/ded/kizzy","author":{"name":"Dustin Diaz","email":"dustin@dustindiaz.com","url":"http://dustindiaz.com"},"repository":{"type":"git","url":"git://github.com/ded/kizzy.git"},"devDependencies":{"sink-test":"*"},"_npmUser":{"name":"ded","email":"polvero@gmail.com"},"_id":"kizzy@0.0.4","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"cfda66a4d25384f3882676e6af501d77a197a6c2","tarball":"https://registry.npmjs.org/kizzy/-/kizzy-0.0.4.tgz","integrity":"sha512-gJyBX5PvYNceu11j6c7Q9EEtwiR8eLhgNVi3xI0mxezyQZOwVlgdUdjKn+p3lJ7AjQ+Tsql/2cs2tlnf0RyMJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIatUjODW+j/pQ76brNSx9+RVPmBPZQwCk6xypnS7xIgIhAKE541eTONHxuDxrX+vFcFE4mteHnsGFzl6iHbz3dndb"}]},"readme":"","maintainers":[{"name":"ded","email":"polvero@gmail.com"}]},"0.0.5":{"name":"kizzy","description":"x-browser LocalStorage API with a memcached interface","main":"kizzy.js","ender":"./src/ender.js","keywords":["ender","cache","local storage","caching","expiration","dom"],"version":"0.0.5","homepage":"https://github.com/ded/kizzy","author":{"name":"Dustin Diaz","email":"dustin@dustindiaz.com","url":"http://dustindiaz.com"},"repository":{"type":"git","url":"https://github.com/ded/kizzy.git"},"devDependencies":{"sink-test":"*"},"readme":"# Kizzy - a Local Storage Utility\n\nKizzy is a light-weight, cross-browser, JavaScript local storage utility. It leverages the HTML5 localStorage API when available, as well as Internet Explorer's persistent XML store — wrapped up in a easy to use, memcached-like interface. When neither of these features are available (unlikely), it falls back to an in-browser object store.\n\nIt looks like this\n\n``` js\nvar cache = kizzy('users')\nvar agent = cache.get('Agent')\nif (agent) {\n  alert('Welcome back ' + agent.name)\n} else {\n  cache.set('Agent', {\n    name: 'Agent Diaz'\n  })\n}\n```\n\nFurthermore, a call to 'set' will return the value, making it quite easy for assignment.\n\n``` js\nvar cache = kizzy('users')\nvar agent = cache.get('Agent') || cache.set('Agent', {\n  name: 'Agent Diaz'\n})\n```\n\nLastly, you can pass an optional third argument to 'set' that tells the cache how long to live\n\n``` js\nvar cache = kizzy('users')\n\nvar agent = cache.get('Agent') || cache.set('Agent', {\n  name: 'Agent Diaz'\n}, 5000) // time to live set for 5 seconds\n\n\n// wait 3 seconds...\nsetTimeout(function() {\n  alert('Still there ' + cache.get('Agent').name)\n}, 3000)\n\n// 6 seconds later...\nsetTimeout(function() {\n  cache.get('Agent').name // => expired\n}, 6000)\n```\n\n# Browser support\n\n  * Internet Explorer 6+\n  * Firefox 2+ (when localStorage is enabled (the browser default))\n  * Chrome\n  * Safari 4+\n  * Opera\n\n# Building Kizzy\n\n``` sh\n$ submodule update --init\n& make\n```\n\n# Running tests\n\nTests will not currently pass if run on a file:/// protocol. Otherwise...\n\n``` sh\n$ open tests/test.html\n```\n\n# Ender integration\n\nInstall Kizzy as an Ender module\n\n``` sh\n$ ender add kizzy\n```\n\nUse it as such:\n\n``` js\n$.cache('user').get('name')\n```\n\n# Kizzy whu?\n\nThe name comes from Kunta Kinte, a Mandinka African warrior from the 1700's. After being brought into slavery, he had a daughter whom he named Kizzy, which translates to *stay put* in hopes that the family would stay together, but not stay a slave.\n\nHappy Caching!","_id":"kizzy@0.0.5","dist":{"shasum":"f85086e3b989fc92a08527fb4393acebae3bbc22","tarball":"https://registry.npmjs.org/kizzy/-/kizzy-0.0.5.tgz","integrity":"sha512-rvR0rWRdmpzQzG+e16TC1rfR1lF57+vrHdAAeV1BduyUnDoAJe9Z4oKNgLcsMdA18G/1leuAPLXXtJfI7rb3ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG6eMYk8lBUMEoqi9Lx9GVosuyYUCFqnTftJvyrPXWxQIgWYXepd8LiWk7Y4u74L0XYIL+WdD6syEETcD3lHeEwJs="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"ded","email":"polvero@gmail.com"},"maintainers":[{"name":"ded","email":"polvero@gmail.com"}]}},"maintainers":[{"name":"ded","email":"polvero@gmail.com"}],"time":{"modified":"2022-06-19T08:54:38.798Z","created":"2011-04-26T17:15:12.582Z","0.0.1":"2011-04-26T17:15:12.897Z","0.0.2":"2011-05-17T18:42:11.644Z","0.0.3":"2012-01-13T16:47:26.390Z","0.0.4":"2012-02-07T18:44:45.621Z","0.0.5":"2012-11-27T18:30:05.844Z"},"author":{"name":"Dustin Diaz","email":"dustin@dustindiaz.com","url":"http://dustindiaz.com"},"repository":{"type":"git","url":"https://github.com/ded/kizzy.git"},"users":{"joris-van-der-wel":true}}