{"id":16244677,"url":"https://github.com/indexzero/nconf-redis","last_synced_at":"2025-10-17T04:15:41.315Z","repository":{"id":57309258,"uuid":"2018638","full_name":"indexzero/nconf-redis","owner":"indexzero","description":"A redis store for nconf","archived":false,"fork":false,"pushed_at":"2022-12-27T02:49:42.000Z","size":163,"stargazers_count":27,"open_issues_count":8,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T11:49:30.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/indexzero/nconf-redis","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-08T16:12:29.000Z","updated_at":"2024-07-03T09:11:08.000Z","dependencies_parsed_at":"2023-01-31T02:30:58.592Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/nconf-redis","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/indexzero/nconf-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnconf-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnconf-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnconf-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnconf-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/nconf-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fnconf-redis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756390,"owners_count":24470563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T14:20:13.079Z","updated_at":"2025-10-17T04:15:41.194Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnconf-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fnconf-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fnconf-redis/lists"}