{"_id":"rest-confidence","_rev":"38-da11e4bef557c9a4316df310287e5d23","name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","dist-tags":{"latest":"0.2.16"},"versions":{"0.2.0":{"name":"rest-confidence","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.0","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"*","confidence":"~0.10.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"description":"rest-confidence ===============","bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.0","dist":{"shasum":"876fe755af4920dbfee95b0310b99c7858340d6a","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.0.tgz","integrity":"sha512-BcIPRCTSRCx+fWwQbPdPMEUaDpXSbzbhI7OH6JR5tMDIuAeYuWerh65MvUNv4knAQuHmyhD58LXaSunGnIpYdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpQhBxRacJombZsqXNgWP8v4lIkPsFRT/mBaW2tDPxVAiEA0nvyh4LxY986YNHxC4J+2D/RTlEfPB33xeF3j68r9lQ="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]},"0.2.2":{"name":"rest-confidence","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.2","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"*","confidence":"~0.10.0","alce":"~1.0.0","winston":"~0.7.2","watchr":"~2.4.4"},"scripts":{"start":"node server.js"},"description":"rest-confidence ===============","bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.2","dist":{"shasum":"9f6c32d0088fddd173e79b9dc9d3806e42a7092d","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.2.tgz","integrity":"sha512-MubXrvuGJCrqbfyTu+NVe5JOMoydR8pb1EjYTMaJ/Q9Xq33cRrMsgk+nIkgH0wLBpJ6zdptdGsPnV4KKulGr/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMdpNG6Rw56/KtY3NuH5UpDwutlYtBjl9xL7ZGXAcoFgIhAORO1iXV9OJNXBp4ypDnKzGYXnJcigFGUgOlabIv/Huh"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}],"deprecated":"not compatible with case sensitive operating systems"},"0.2.4":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.4","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.10.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.4","dist":{"shasum":"7e925cbcd56ad276b38f5e6f81b22d2a48f85ced","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.4.tgz","integrity":"sha512-/Gl14PhQaBox2pezmU5yDx+iBeIn6JJdq5yoz5VZoCXxw7YxSEKE+6vnoEGhak7n6ZghkmXnQsDDWI9qyF/LuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjebCyRwXJSa63c2qmvdS8/TMqpNdR10Z5YIG9VMSR5gIhALckWVdKkiSVb5LuspMlDRVpaobI6X/giolptQktQYcr"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}],"deprecated":"not compatible with case sensitive operating systems"},"0.2.6":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.6","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.12.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.6","dist":{"shasum":"28768313b2df4d3978f49e49fab0d080723cf1d4","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.6.tgz","integrity":"sha512-wqgLSgIjEaLq94AMmEISV2eo3xWk46ImFZIVyb7CMDKQ//Cqb38rDEpw93I62pkFOc/sZBxZnNsGXjlKmo/Sfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDf76gNh+vSwUbhvFkeHTPqjGMyIh71VDoyZmn7OIRbWAIhANSyCnrWwJEU4kEYklDN0gleIB9iRyz/VO+OpIcBhZFJ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]},"0.2.8":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.8","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.12.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.8","dist":{"shasum":"623a3f6ad812e3fae554447833c5320adfd0903e","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.8.tgz","integrity":"sha512-efXvSkydRMYtGsp6Dq13G3uI/Rp87xSLt+Q2oVqo+1Mb6xok6EEUQ4Fei1pCxq9dQgoecejrIXoZfLPPPeX8dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgZRVV4jLxdQ/2Hg8hT4wedxI3pMkB++8yKdjvXj6tIAiBsQEeWQojo0GPWuBa+ek5aUW9hwelZNLa66H7bpPVhtQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]},"0.2.10":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.10","engines":{"node":">= 0.10.x"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.12.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.10","dist":{"shasum":"f6ccfd382b722df50fad2a451cd00bd66fed7971","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.10.tgz","integrity":"sha512-g00xuVACDqOJXiJDLSBB0VrRx5g8+Kho8JkgvEADboOYdxf1u3jBBnThf8z8+lwUT34tBnYI1esipeB2zyBgKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG82BjPQvt8bOrYq1oVmXGNKXElYZhwZzPWg2+5kk1b2AiEAw8yAwc4xFaBmOtKCu4KSM8xYuHuo2rR4mcliKIj4I4A="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]},"0.2.14":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.14","engines":{"node":">= 0.10.x"},"bin":{"rest-confidence":"./bin/rest-confidence"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.12.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.14","dist":{"shasum":"ac44050a2cc259f696c5c8e97f7661732d9c7a38","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.14.tgz","integrity":"sha512-Cj088xhR6mpxl04Iy9hd4PXgCRQG2MJdiGC5Qerae4rw34DeroJtJQu2Oa9BOjA2nR/bMsOt92Vbc2HMVd/mlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn8P5nmKkxo63XnmKvgFMJyCyIh2AfQmulJLhf6LqvPwIgEg2wCrBJfMXj6TS4kgy8le4B+q3BX+C9rHkgMym41Ng="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]},"0.2.16":{"name":"rest-confidence","description":"This is a uber-simple but powerful configuration server","repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"version":"0.2.16","engines":{"node":">= 0.10.x"},"bin":{"rest-confidence":"./bin/rest-confidence"},"keywords":["configuration","server","api"],"dependencies":{"hapi":"~1.20.0","confidence":"~0.12.0","alce":"~1.0.0","winston":"~0.7.2"},"scripts":{"start":"node server.js"},"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"homepage":"https://github.com/palmerabollo/rest-confidence","_id":"rest-confidence@0.2.16","dist":{"shasum":"28912df77f6a33d0449eed493888675edb3854fe","tarball":"https://registry.npmjs.org/rest-confidence/-/rest-confidence-0.2.16.tgz","integrity":"sha512-js2u6KJ52PaL/HhvXxedMFbPqqyYcgrtL7+BIy5Bg4cVevQ/N/8C1hEU/RRiLffOaFuq4kfP9NKhKYQ2DyPSZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9MyeCt2xT1VMTtLe1AkOAG0R0bYsx9i3Lx/AAVKRk0wIgDd6prTeCNE6PDZN6RHU/+v5Wr/5BuQBrvsiYaAI0k1Y="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"palmerabollo","email":"palmerabollo@gmail.com"},"maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}]}},"readme":"rest-confidence\n===============\n\nThis is a simple yet powerful **configuration server**. Tired of configuring many components in many different environments? Rest-confidence centralizes your settings and exposes them as a REST service.\n\nOther use cases include using it as a service directory or as a foundation for A/B testing ([read more](http://guidogarcia.net/blog/2014/01/02/a-rest-configuration-server/)). It uses [confidence](https://github.com/spumko/confidence), with all it niceties now remotelly accesible through a simple REST service.\n\nConfiguration example\n---------------------\n\n```\n{\n    \"key1\": \"value\",\n    \"key2\": {\n        \"$filter\": \"env\",\n        \"production\": {\n            \"limit\": 200\n        },\n        \"$default\": {\n            \"limit\": 10\n        }\n    },\n    \"$meta\": {\n        \"anykey\": \"anyvalue\" // comments are also fine\n    }\n}\n```\n\n**GET /**\n\n```\n{\n    \"key1\": \"value\",\n    \"key2\": {\n        \"limit\": 10\n    }\n}\n```\n\n**GET /key2**\n\n```\n{\n    \"limit\": 10\n}\n```\n\n**GET /key2?env=production**\n\n```\n{\n    \"limit\": 200\n}\n```\n\n**GET /__raw**\n\nGets the raw configuration file contents.\n\nInstall & run the server\n------------------------\n\n```\nnpm install -g rest-confidence\nrest-confidence <path-to-your-config-json>\n```\n\nIt runs on **port 8000** by default. You can override it defining a PORT environment variable (e.g. ```PORT=8000 rest-confidence```).\n\nClients\n-------\n\n- node.js: [rest-confidence-client](https://github.com/palmerabollo/rest-confidence-client)\n- python: [rest-confidence-client-python](https://github.com/palmerabollo/rest-confidence-client-python) (contributions are welcome)\n\nTODO\n----\n\n- Allow multiple configuration files / modules\n- Java client\n- Send broadcast datagrams to make itself visible to the clients (under evaluation)\n- Allow clients to subscribe and get notifications when a file/path changes.\n- Managment capabilities: PUT / POST methods (low priority)\n- Simple web UI (low priority)\n- Multitenant (very low priority, under evaluation)\n\nLicense\n-------\n\nMIT\n","maintainers":[{"name":"palmerabollo","email":"palmerabollo@gmail.com"}],"time":{"modified":"2022-06-26T12:02:00.795Z","created":"2013-12-13T22:35:25.551Z","0.2.0":"2013-12-13T22:35:29.476Z","0.2.2":"2013-12-14T11:12:26.943Z","0.2.4":"2013-12-20T12:38:01.921Z","0.2.6":"2014-04-16T16:49:07.220Z","0.2.8":"2014-04-16T17:10:47.295Z","0.2.10":"2014-04-22T11:27:51.842Z","0.2.12":"2014-05-05T18:03:02.772Z","0.2.14":"2014-05-05T20:38:29.681Z","0.2.16":"2014-05-05T20:49:16.042Z"},"author":{"name":"Guido García","email":"guido.garcia.bernardo@gmail.com","url":"http://guidogarcia.net"},"repository":{"type":"git","url":"git://github.com/palmerabollo/rest-confidence"},"homepage":"https://github.com/palmerabollo/rest-confidence","keywords":["configuration","server","api"],"bugs":{"url":"https://github.com/palmerabollo/rest-confidence/issues"},"readmeFilename":"README.md"}