{"_id":"sb-config-file","_rev":"13-01a91e5fa3324fe95bcaf30e5a52e2cf","name":"sb-config-file","description":"Manage JSON configuration files without race conditions","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"sb-config-file","version":"1.0.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","build":"npm run clean; babel src --out-dir lib","watch":"npm run build -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"strip-bom":"^3.0.0","strip-json-comments":"^2.0.1","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"9e8f3c4baf10af1fc543eb67bff8511df542b100","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@1.0.0","_shasum":"0d74aeca4946955894f6c4c98cef96771461b775","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"0d74aeca4946955894f6c4c98cef96771461b775","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-1.0.0.tgz","integrity":"sha512-0Lph1Npluz//4KeBjOmJaGkR9b95RCpe3cXOlB1k9Mln5TmRRf5rG4dcAOIo3SB/pluYE6BHWG8HfpA5Z7RJ9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARKWyJQFcur+k2i+4qJqjZU9jntwPbJc/3jTYzTscI5AiB1B2h7/10Zq0+YXVEn5REFS39iRHJjV0G98twYbArbSg=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sb-config-file-1.0.0.tgz_1486512979862_0.505558863049373"},"directories":{},"deprecated":"Use lowdb instead"},"1.1.0":{"name":"sb-config-file","version":"1.1.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","build":"npm run clean; babel src --out-dir lib","watch":"npm run build -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"strip-bom":"^3.0.0","strip-json-comments":"^2.0.1","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"a568b4937505714ee4e23147fca10c4a046b24b5","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@1.1.0","_shasum":"49da2eecaf5f29d5e95adda54ed194ef1826577f","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"49da2eecaf5f29d5e95adda54ed194ef1826577f","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-1.1.0.tgz","integrity":"sha512-gQonRlFDrjYopjuvJVWYv4CtpmM9hbDgUDXCanjdF5xTDgXAqq3Uclu8g79TJTp+yixytWKSl85MVU3fSBWYbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZdNx9DZSE2e0VXa2BVAbObOd+gfvsxuH+sEDLSmedzAiEArZguiRbaNCE0qUs+3BXrqfWmJG5SzHaCm6BwqPamQuM="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-1.1.0.tgz_1486514041570_0.7233716223854572"},"directories":{},"deprecated":"Use lowdb instead"},"1.2.0":{"name":"sb-config-file","version":"1.2.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","build":"npm run clean; babel src --out-dir lib","watch":"npm run build -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"strip-bom":"^3.0.0","strip-json-comments":"^2.0.1","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"56efb13a78dd781027ab9e39416327066bd6b186","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@1.2.0","_shasum":"c357053730047d9e5b88920e03bc4b3faaf0a448","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"c357053730047d9e5b88920e03bc4b3faaf0a448","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-1.2.0.tgz","integrity":"sha512-jHX8vDLhxNJwNWJJlcNUBZN7ZQOaG8dzpqo5G2pn58NU54Xj/sUniZLqJykTPMXONobFhV2veGM+Wiy5f+Op7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1OeiHW6lxEc0bcmoX/rePplWT4eqBymjrgzg0M+VFHAiEAvAtVThQp/g/aQWPeYDN5tcQBtvt6Z2O21g2hv/OkV9w="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sb-config-file-1.2.0.tgz_1486681540159_0.3919312655925751"},"directories":{},"deprecated":"Use lowdb instead"},"1.2.1":{"name":"sb-config-file","version":"1.2.1","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"strip-bom":"^3.0.0","strip-json-comments":"^2.0.1","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"c08bcf7bc44768575f2a37955bfda4cd84ed2edc","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@1.2.1","_shasum":"ce487895af6595218bdee4369bf7d03897d6222c","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"ce487895af6595218bdee4369bf7d03897d6222c","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-1.2.1.tgz","integrity":"sha512-Qn/hVTMfRIDet0z2hNQD4tCiI6+RLsZ25+Wiqz9Em+P5NJLBsX6gSEfpFZJXGhO7ElBToV1vMlA6CNS+zX69AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNPPFSJOV2dmSt8fsi83zeV28Rij9G9oRbPTvhKSDkoAiAOOcygcEU91/e1AYmWZKlsLuZw0GXasTBPzTg70Ck0GA=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sb-config-file-1.2.1.tgz_1486681734659_0.11747864284552634"},"directories":{},"deprecated":"Use lowdb instead"},"2.0.0":{"name":"sb-config-file","version":"2.0.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"strip-bom":"^3.0.0","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"6e7fbfcde2ea6598a0f19c168d4f6b8d8665b168","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@2.0.0","_shasum":"e6bcfcfa29d66522edd0b7d47f3128db6b5220a7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"e6bcfcfa29d66522edd0b7d47f3128db6b5220a7","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-2.0.0.tgz","integrity":"sha512-Yra/g60lOKm/6p5EcP/C4hhdLS+XVAvAPd8RoFHovPr7x1DKqN0s+ti2f2kWbllwwUzchqH7P3mN4FX9O+MVuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuFoSiNtAKcRmHC3V9mDYIE/fhHUOamHAG4dKcyXJLiAiA6VBzzCLANKiuHzdRStUtjvwRQMGJYWBwAEE5MtNl4sA=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-2.0.0.tgz_1487021316506_0.6149059198796749"},"directories":{},"deprecated":"Use lowdb instead"},"3.0.0":{"name":"sb-config-file","version":"3.0.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"sb-fs":"^1.1.1","strip-bom":"^3.0.0","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"a8f106be67500109aa8190ae3bdefcdce3798b73","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@3.0.0","_shasum":"e261c3ebb56be4c0f7833dd4ae7443a6eeae0598","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"e261c3ebb56be4c0f7833dd4ae7443a6eeae0598","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-3.0.0.tgz","integrity":"sha512-dXNFVwb+Bg6iJgjjEfGVWsaY4yKFV+lip6uf9NYoMLuTdKG5Xgk1hxNtqvlCpcu2bykbPberMZni0wjdRvKOQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtiMIwbDMqSElFmhOFp1NElBdd+FzgT5FuoSfomHqEGAiAl78csh3lpzbk+vjSvk/+9m4T17u4haRKXLZ0twEjGQQ=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-3.0.0.tgz_1487037340221_0.2247736006975174"},"directories":{},"deprecated":"Use lowdb instead"},"3.0.1":{"name":"sb-config-file","version":"3.0.1","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"sb-fs":"^1.1.1","strip-bom":"^3.0.0","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"20282e876fb604f28a30feb0709d0edf23790fb8","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@3.0.1","_shasum":"bccc4709f5eaf0da0d6c969b39c5f9796db9c63d","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"bccc4709f5eaf0da0d6c969b39c5f9796db9c63d","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-3.0.1.tgz","integrity":"sha512-xztwAokGb3DUHXgTeCIJLxkdzqFv1dRoQZln8yXbAjkAiR7dy/yvkY9XvAcTpED/XXxOtl4BEDmqZ3H1pP5vDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9j4+gNic84wdZmRJz+GMGkpQx0WS/YIvn0bazC9Wh2AiB1qSfoy2i6zOOoyWf0UhwOG94JBfGoWJ1CllGEPslPpA=="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-3.0.1.tgz_1487039038206_0.8830831761006266"},"directories":{},"deprecated":"Use lowdb instead"},"3.0.2":{"name":"sb-config-file","version":"3.0.2","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"sb-fs":"^1.1.1","strip-bom":"^3.0.0","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^4.0.2","eslint-config-steelbrain":"^1.0.4","flow-bin":"^0.32.0","jasmine-fix":"^1.0.1","rimraf":"^2.5.4","sb-copy":"^1.0.1","sb-fs":"^1.1.1"},"gitHead":"fb30d3003aa0dd7bafe0a2582922fa17eb8b31fd","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@3.0.2","_shasum":"48b033a3e45dbc9ced9943af44921ab5eb834313","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"48b033a3e45dbc9ced9943af44921ab5eb834313","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-3.0.2.tgz","integrity":"sha512-SxV81jwcqwfm8ax4Sbun1fLdUwslrlh0eD4n+SwvM4lVkAD4xVQ3vP1dixILTbxH9yEdehs/YPefDd/+m37h0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuGMutEqAqDA9gLVqf0Eqwglpcp6AgkCmVlAH7YE3GwgIgX4xBq+Bf8KFUYArAI9qPtfq0KlE82Ybmly9WjzlKPW0="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-3.0.2.tgz_1487636462529_0.8010003410745412"},"directories":{},"deprecated":"Use lowdb instead"},"3.0.3":{"name":"sb-config-file","version":"3.0.3","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"sb-fs":"^3.0.0","strip-bom":"^3.0.0","write-file-atomic":"^1.3.1"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-steelbrain":"^5.0.2","eslint-config-steelbrain":"^3.0.1","flow-bin":"^0.44.0","jasmine-fix":"^1.0.1","mkdirp":"^0.5.1","rimraf":"^2.6.1","sb-copy":"^1.0.1","sb-fs":"^3.0.0","sb-promisify":"^2.0.1"},"gitHead":"20c12993644a699ec7de70a75d57e97f35b41e55","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@3.0.3","_shasum":"1f4918f6440c26dba281d9686cb98ecdbeea803a","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"shasum":"1f4918f6440c26dba281d9686cb98ecdbeea803a","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-3.0.3.tgz","integrity":"sha512-3z4n/JwQhJfQVHY0sEHncqit9bCuKUD207eq+tR2XAxNCt9UpWrpxX9yRTPMs6OS68CD79Kt7by5a68oq3tWYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSJL/+KXm0xU/psG9akvoAb3fqkkbpqe7dLK9GaTby8QIgZPumciUf3BWm3ugMuIRM/qn1S0cFdxcLw4Vxmpf3jCY="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sb-config-file-3.0.3.tgz_1492313301652_0.8651405514683574"},"directories":{},"deprecated":"Use lowdb instead"},"4.0.0":{"name":"sb-config-file","version":"4.0.0","description":"Manage JSON configuration files without race conditions","main":"lib/index.js","scripts":{"test":"(apm test) && (flow check) && (eslint . )","clean":"rm -rf lib","compile":"npm run clean; babel src --out-dir lib","watch":"npm run compile -- -w"},"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"keywords":["cli","app","config"],"author":{"name":"steelbrain","email":"i@steelbrain.me"},"license":"MIT","bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"dependencies":{"chokidar":"^2.0.0","lodash":"^4.17.4","sb-fs":"^3.0.0","strip-bom":"^3.0.0","write-file-atomic":"^2.3.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-steelbrain":"^5.0.3","eslint-config-steelbrain":"^4.0.1","flow-bin":"^0.63.1","jasmine-fix":"^1.3.1","mkdirp":"^0.5.1","rimraf":"^2.6.2","sb-copy":"^1.0.1","sb-fs":"^3.0.0","sb-promisify":"^2.0.1"},"gitHead":"be6c2d655c4fa1fcaff64b7a70659e29c2259916","homepage":"https://github.com/steelbrain/config-file#readme","_id":"sb-config-file@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"steelbrain","email":"i@steelbrain.me"},"dist":{"integrity":"sha512-glvq8JRw4s1FJ9taQzlPv93RakXOBa5D8hkPiJw79M13RvtdVp0rGlBzVBiuMt83WlfOCVW70ioDEZvG489aMQ==","shasum":"22e612ca10e5dcd7c8d85798ca1849ca31af6fe3","tarball":"https://registry.npmjs.org/sb-config-file/-/sb-config-file-4.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+xvHQfAP4ewX3naPP0YI+c6Z7tfJcQ7DlqEx658+10AIgIL+1Z+UsWemGORgXeMdnpeQOjnSgK3g7JDei3OB8WAc="}]},"maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sb-config-file-4.0.0.tgz_1515528757720_0.6164660782087594"},"directories":{},"deprecated":"Use lowdb instead"}},"readme":"sb-config-file\n=========\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/steelbrain/config-file.svg)](https://greenkeeper.io/)\n\nsb-config-file is a Node.js module to help you manage your JSON configuration files without worrying about concurrency issues or double writes. It uses and therefore supports the [`lodash.get/lodash.set`](https://lodash.com/docs/4.17.4#get) way of accessing properties\n\n## API\n\n```js\ntype Options = {\n  prettyPrint: boolean = true,\n  atomicWrites: boolean = true,\n}\n\nexport default class ConfigFile {\n  get(dotSeparatedKey: string, defaultValue = null): Promise<any>\n  getSync(dotSeparatedKey: string, defaultValue = null): any\n  set(dotSeparatedKey: string, value, strict = false): Promise<void>\n  setSync(dotSeparatedKey: string, value, strict = false): void\n  delete(dotSeparatedKey: string, strict = false): Promise<void>\n  deleteSync(dotSeparatedKey: string, strict = false): void\n\n  static get(filePath: string, defaultConfig: Object, options: Options): ConfigFile\n}}\n```\n\n## Example Usage\n\n```js\nconst Path = require('path')\nconst getConfigFile = require('sb-config-file')\n\ngetConfigFile(Path.join(__dirname, 'config.json')).then(function(configFile) {\n  configFile.set('database.host', 'localhost')\n  configFile.set('database.user', 'steelbrain')\n\n  console.log(configFile.get('database.host')) // 'localhost'\n  console.log(configFile.get('database.user')) // 'steelbrain'\n  console.log(configFile.get('database'))      // { host: 'localhost', user: 'steelbrain' }\n\n  configFile.delete('database.host')\n  console.log(configFile.get('database'))      // { user: 'steelbrain' }\n\n  configFile.set('someArray', [1, 2, 3])\n  configFile.set('someArray.5', 50)\n  console.log(configFile.get('someArray.0')) // 1\n  console.log(configFile.get('someArray.1')) // 2\n  console.log(configFile.get('someArray.2')) // 3\n  console.log(configFile.get('someArray.3')) // undefined\n  console.log(configFile.get('someArray.4')) // undefined\n  console.log(configFile.get('someArray.5')) // 50\n})\n```\n\n## LICENSE\n\nThis package is licensed under the terms of MIT License. See the LICENSE file for more info.\n","maintainers":[{"name":"steelbrain","email":"i@steelbrain.me"}],"time":{"modified":"2022-06-26T16:16:40.388Z","created":"2017-02-08T00:16:20.472Z","1.0.0":"2017-02-08T00:16:20.472Z","1.1.0":"2017-02-08T00:34:03.560Z","1.2.0":"2017-02-09T23:05:40.839Z","1.2.1":"2017-02-09T23:08:55.378Z","2.0.0":"2017-02-13T21:28:38.700Z","3.0.0":"2017-02-14T01:55:42.127Z","3.0.1":"2017-02-14T02:23:59.955Z","3.0.2":"2017-02-21T00:21:04.329Z","3.0.3":"2017-04-16T03:28:23.633Z","4.0.0":"2018-01-09T20:12:37.837Z"},"homepage":"https://github.com/steelbrain/config-file#readme","keywords":["cli","app","config"],"repository":{"type":"git","url":"git+https://github.com/steelbrain/config-file.git"},"author":{"name":"steelbrain","email":"i@steelbrain.me"},"bugs":{"url":"https://github.com/steelbrain/config-file/issues"},"license":"MIT","readmeFilename":"README.md"}