{"_id":"booty-cache","_rev":"746304","name":"booty-cache","description":"Dead sexy URL caching utility for Express/Connect","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"balderdashy","email":"mike@balderdashdesign.com"}],"time":{"modified":"2024-06-27T02:59:20.000Z","created":"2013-01-23T00:26:08.472Z","0.0.1":"2013-01-23T00:26:08.472Z"},"users":{},"author":{"name":"Brad Carleton"},"repository":{"type":"git","url":"git://github.com/balderdashy/booty.git"},"versions":{"0.0.1":{"name":"booty-cache","version":"0.0.1","dependencies":{"coffee-script":"1.4.0"},"main":"switch.js","readmeFilename":"README.md","gitHead":"b9bd0b79bd72eef29b5642e2621a6a6b42114ee9","description":"Dead sexy URL caching utility for Express/Connect","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/balderdashy/booty.git"},"keywords":["express","connect","cache","sails"],"author":{"name":"Brad Carleton"},"copyright":"2013 Brad Carleton & Balderdash Co.","license":"MIT","_id":"booty-cache@0.0.1","dist":{"shasum":"028ba3784f6eb1a962837dfa12acfb8bf9513b0e","tarball":"http://registry-npm.ywwl.com/booty-cache/download/booty-cache-0.0.1.tgz","integrity":"sha512-F/C5o2psdSijJLhJEKbcBztqGOr1MTE3ujlCDxArvcsBsJ1zZhgxvVM9NjUrFxpUtoaWutRXQYrdzRC9RU9yiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3cU+LOAB95X441xvUGExEBvk5PxJ0Dt8uIGdf413MmAiBQWtAHwajR6Xl/HYnAto05PXRPCiLR7IvLKUu/xWULMw=="}],"size":1018,"noattachment":false,"key":"/booty-cache/-/booty-cache-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.1","_npmUser":{"name":"balderdashy","email":"mike@balderdashdesign.com"},"maintainers":[{"name":"balderdashy","email":"mike@balderdashdesign.com"}],"directories":{},"publish_time":1358900768472,"_cnpm_publish_time":1358900768472}},"readme":"\n# booty\n\nLike a pirate's treasure booty, not the dirty kind of booty.  \n\n## What it does\n\nDynamically cache routes in express!\n\n```js\nnpm install \"git://github.com/balderdashy/booty.git\"\n```\n\n## How to use with Express\n\n```js\ncacheRoute = require('booty')\n \napp.get('/', cacheRoute(60*60), function(req, res) {\n    res.send('This route is now cached for 3600 seconds!')\n})\n```\n\n## How to use with Sails\n\n```js\ncacheRoute = require('booty')\n\nvar Controller = {\n    route: cacheRoute(60*60)(function(req, res) {\n        res.send('This route is now cached for 3600 seconds!')\n    })\n}\n```\n","_attachments":{},"readmeFilename":"README.md","license":"MIT"}