{"name":"nconf-redis","description":"A Redis store for nconf","version":"0.2.0","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"},"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.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"nconf-redis@0.2.0","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"36cd6f9cc6b1d08635c441cad74e5f6023a80dca","tarball":"http://registry-npm.ywwl.com/nconf-redis/download/nconf-redis-0.2.0.tgz","integrity":"sha512-kG/DB/2B25Tg4n+xbnxsuJ1PQIWRjgFK/v0xn5ZfUpoq2+InMJkAZEJ9FQ13rP65GA/3kgGg0WrFYh1NhdqqFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICXH7KiGLa/0y47/gGi/omEB5cP3WpzbI9FwTLpAg5pAAiBTUQYXtW90jgLq97n1GrGyKCbJI099H66JEdetdZ7guA=="}],"size":5293,"noattachment":false,"key":"/nconf-redis/-/nconf-redis-0.2.0.tgz"},"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":1310158740760,"maintainers":[{"name":"indexzero","email":"charlie.robbins@gmail.com"}],"_cnpm_publish_time":1310158740760,"dist-tags":{"latest":"0.3.1"}}