{"_id":"booty-cache","_rev":"203930","name":"booty-cache","description":"Dead sexy URL caching utility for Express/Connect","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"}],"time":{"modified":"2021-06-03T13:04:39.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","size":1018,"noattachment":false,"key":"/booty-cache/-/booty-cache-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/booty-cache/download/booty-cache-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.1","_npmUser":{"name":"balderdashy","email":"mike@balderdashdesign.com"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"}],"directories":{},"publish_time":1358900768472,"_cnpm_publish_time":1358900768472,"_hasShrinkwrap":false}},"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"}