{"name":"nconf-redis","description":"A Redis store for nconf","version":"0.2.1","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git://github.com/indexzero/nconf-redis.git"},"keywords":["configuration","key value store","nconf","redis"],"dependencies":{"async":"0.1.x","redis":"0.6.x"},"devDependencies":{"nconf":"0.3.x","vows":"0.5.x"},"main":"./lib/nconf-redis","scripts":{"test":"npm install nconf && vows test/*-test.js --spec && npm uninstall nconf"},"engines":{"node":">= 0.4.0"},"_npmJsonOpts":{"file":"/Users/Charlie/.npm/nconf-redis/0.2.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"nconf-redis@0.2.1","_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"7e2d4c03e8552693212b358c4bf496ce2f1bde50","tarball":"http://registry-npm.ywwl.com/nconf-redis/download/nconf-redis-0.2.1.tgz","integrity":"sha512-265Mlfewnk4BVRxcMHBvNXGCllOrrUAT+0DJ+fTXTGhQSozsQt4AqjIBDebc+TiP6FW36O7bWvYGKuK1wJKc0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh67EyNxjbm6R4868DWOFe3psCrEJtd7LI/MtFkbyYZgIgGpIVdiDKXfwtjvXZSXU9Wm9k40SEmj3aWwGbdX1MC2Q="}],"size":5184,"noattachment":false,"key":"/nconf-redis/-/nconf-redis-0.2.1.tgz"},"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"directories":{},"readme":"# nconf-redis\n\nA Redis store for [nconf][0]\n\n## Installation\n\n### Installing npm (node package manager)\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing nconf-redis\n``` bash\n  $ [sudo] npm install nconf\n  $ [sudo] npm install nconf-redis\n```\n\n## Motivation\n`tldr;?`: To break the [nconf][0] codebase into small modules that work together.\n\n## Usage\nThe store provided by `nconf-redis` will persist all of your configuration settings to a Redis server. All calls to `.get()`, `.set()`, `.clear()`, `.reset()` are asynchronous taking an additional callback parameter.\n\nThe Redis engine also has an in-memory cache with a default TTL of one hour. To change this, just pass the `ttl` option to `.use()`.\n\n``` js\n  var nconf = require('nconf');\n  \n  //\n  // Requiring `nconf-redis` will extend the `nconf`\n  // module.\n  //\n  require('nconf-redis');\n  \n  nconf.use('redis', { host: 'localhost', port: 6379, ttl: 60 * 60 * 1000, db: 0 });\n```\n\n#### Author: [Charlie Robbins](http://www.nodejitsu.com)\n\n[0]: https://github.com/indexzero/nconf","publish_time":1315507908576,"_cnpm_publish_time":1315507908576,"dist-tags":{"latest":"0.3.1"}}