{"_id":"confman","_rev":"680375","name":"confman","description":"最好用的配置加载器","dist-tags":{"latest":"0.2.11"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"time":{"modified":"2021-08-30T02:34:23.000Z","created":"2016-07-26T04:32:02.623Z","0.2.11":"2021-08-20T06:59:41.518Z","0.2.10":"2018-04-26T11:05:32.225Z","0.2.8":"2017-11-22T15:47:32.700Z","0.2.7":"2017-10-18T07:38:46.853Z","0.2.6":"2017-07-24T17:17:55.294Z","0.2.5":"2017-05-23T12:15:45.349Z","0.2.4":"2017-05-23T11:40:58.687Z","0.2.3":"2017-01-07T08:55:59.130Z","0.2.2":"2016-08-03T16:52:15.159Z","0.2.1":"2016-07-28T12:52:38.734Z","0.2.0":"2016-07-28T12:46:58.320Z","0.1.2":"2016-07-28T03:06:53.174Z","0.1.1":"2016-07-26T15:25:50.151Z","0.1.0":"2016-07-26T12:06:21.889Z","0.0.6":"2016-07-26T12:04:54.906Z","0.0.5":"2016-07-26T06:49:10.667Z","0.0.4":"2016-07-26T06:24:02.071Z","0.0.2":"2016-07-26T06:19:31.421Z","0.0.1":"2016-07-26T04:32:02.623Z"},"users":{},"author":{"name":"Houfeng"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"versions":{"0.2.11":{"name":"confman","version":"0.2.11","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.12","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.10.0","ntils":"^3.1.9","pixl-xml":"^1.0.13","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.3","vmodule-webpack-plugin":"^2.0.5"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"852b8a25a16ce6981f42da8bb0e646f30096f453","_id":"confman@0.2.11","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"shasum":"48ad5d1507e7bedffae4c094f5c8ad1c3b26f465","size":6442,"noattachment":false,"key":"/confman/-/confman-0.2.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.11.tgz"},"_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"directories":{},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman_0.2.11_1629442781410_0.7591000994543051"},"_hasShrinkwrap":false,"publish_time":1629442781518,"_cnpm_publish_time":1629442781518},"0.2.10":{"name":"confman","version":"0.2.10","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.12","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.10.0","ntils":"^3.1.9","pixl-xml":"^1.0.13","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.3","vmodule-webpack-plugin":"^1.0.8"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"cadfba5cd46b2165b13d9b44329d2ec6a1155068","_id":"confman@0.2.10","_npmVersion":"5.6.0","_nodeVersion":"8.2.1","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"b5e80936f3f9a26c4cb0513078de2762d82ddbb4","size":6481,"noattachment":false,"key":"/confman/-/confman-0.2.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.10.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman_0.2.10_1524740732114_0.9008742133569687"},"_hasShrinkwrap":false,"publish_time":1524740732225,"_cnpm_publish_time":1524740732225},"0.2.8":{"name":"confman","version":"0.2.8","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.12","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.10.0","ntils":"^3.1.9","pixl-xml":"^1.0.13","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.3","vmodule-webpack-plugin":"^1.0.8"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"cd713d313f879827cbb1fd7709b46c45bcc927f9","_id":"confman@0.2.8","_npmVersion":"5.5.1","_nodeVersion":"8.2.1","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"5febb01219a9dc24fe055926f968ddcc598f5143","size":6480,"noattachment":false,"key":"/confman/-/confman-0.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.8.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman-0.2.8.tgz_1511365652636_0.6242980784736574"},"directories":{},"publish_time":1511365652700,"_hasShrinkwrap":false,"_cnpm_publish_time":1511365652700},"0.2.7":{"name":"confman","version":"0.2.7","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.1","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.7.0","ntils":"^2.0.3","pixl-xml":"^1.0.10","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.1","vmodule-webpack-plugin":"^1.0.7"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"ba3f1b689a9d1504efe14ae816538898d877361d","_id":"confman@0.2.7","_npmVersion":"5.4.2","_nodeVersion":"8.2.1","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"f23b2c619852f72285a8eb7ac684cd63ff2ec174","size":5616,"noattachment":false,"key":"/confman/-/confman-0.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.7.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman-0.2.7.tgz_1508312326787_0.4337230399250984"},"directories":{},"publish_time":1508312326853,"_hasShrinkwrap":false,"_cnpm_publish_time":1508312326853},"0.2.6":{"name":"confman","version":"0.2.6","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.1","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.7.0","ntils":"^2.0.3","pixl-xml":"^1.0.10","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.1","vmodule-webpack-plugin":"^1.0.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"233c93c9ad9641bc94a635e428d504c2c782baf7","_id":"confman@0.2.6","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"b1f0e23f5c365909cb902e4fd8a3368c86979810","size":6450,"noattachment":false,"key":"/confman/-/confman-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.6.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman-0.2.6.tgz_1500916674936_0.011339851887896657"},"directories":{},"publish_time":1500916675294,"_hasShrinkwrap":false,"_cnpm_publish_time":1500916675294},"0.2.5":{"name":"confman","version":"0.2.5","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.1","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.7.0","ntils":"^2.0.3","pixl-xml":"^1.0.10","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.1","virtual-module-webpack-plugin":"^0.2.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"6df6f965f69a9ad7c47cd9f36c113cefb2981a0b","_id":"confman@0.2.5","_shasum":"04701a6baa398db7a81147bc227a5189ca601c95","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"04701a6baa398db7a81147bc227a5189ca601c95","size":6461,"noattachment":false,"key":"/confman/-/confman-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.5.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman-0.2.5.tgz_1495541744367_0.695998540148139"},"directories":{},"publish_time":1495541745349,"_hasShrinkwrap":false,"_cnpm_publish_time":1495541745349},"0.2.4":{"name":"confman","version":"0.2.4","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.1","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.7.0","ntils":"^2.0.3","pixl-xml":"^1.0.10","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.1","virtual-module-webpack-plugin":"^0.2.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"b7c8fc9c023b69232ead7dc845d7d4a0260eb0f4","_id":"confman@0.2.4","_shasum":"b5c5cc7ee40fc895e20f1eb4cc1f7682cd88eb5d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"b5c5cc7ee40fc895e20f1eb4cc1f7682cd88eb5d","size":6457,"noattachment":false,"key":"/confman/-/confman-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.4.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/confman-0.2.4.tgz_1495539658556_0.33809190057218075"},"directories":{},"publish_time":1495539658687,"_hasShrinkwrap":false,"_cnpm_publish_time":1495539658687},"0.2.3":{"name":"confman","version":"0.2.3","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^2.1.1","cson-parser":"^1.3.5","ini-parser":"0.0.2","js-yaml":"^3.7.0","ntils":"^2.0.3","pixl-xml":"^1.0.10","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.1"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"605f1a4af3f5be3e8be6c2c39f517b585a0b0b07","_id":"confman@0.2.3","_shasum":"eee63697329039ec0beca4c190c468c8e384526c","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"eee63697329039ec0beca4c190c468c8e384526c","size":6418,"noattachment":false,"key":"/confman/-/confman-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.3.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confman-0.2.3.tgz_1483779358892_0.2610239842906594"},"directories":{},"publish_time":1483779359130,"_cnpm_publish_time":1483779359130,"_hasShrinkwrap":false},"0.2.2":{"name":"confman","version":"0.2.2","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","ntils":"^1.0.1","pixl-xml":"^1.0.7","plist":"^1.2.0","properties":"^1.2.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"0895023ef327369d85423d7bd535c20f58fc0228","_id":"confman@0.2.2","_shasum":"87be058e2c1cc38a4c82007b7f717c679361da82","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"87be058e2c1cc38a4c82007b7f717c679361da82","size":6417,"noattachment":false,"key":"/confman/-/confman-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.2.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confman-0.2.2.tgz_1470243134924_0.01582352234981954"},"directories":{},"publish_time":1470243135159,"_cnpm_publish_time":1470243135159,"_hasShrinkwrap":false},"0.2.1":{"name":"confman","version":"0.2.1","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","plist":"^1.2.0","properties":"^1.2.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"b2e2091764ebf81940214baae91630b4cb1b4513","_id":"confman@0.2.1","_shasum":"bea3827b4109f1a2c8164b752dc17198fdebc2fc","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"bea3827b4109f1a2c8164b752dc17198fdebc2fc","size":6422,"noattachment":false,"key":"/confman/-/confman-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.1.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.2.1.tgz_1469710354823_0.19120940566062927"},"directories":{},"publish_time":1469710358734,"_cnpm_publish_time":1469710358734,"_hasShrinkwrap":false},"0.2.0":{"name":"confman","version":"0.2.0","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","plist":"^1.2.0","properties":"^1.2.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"555176c95cbbcff518084d13b7e337c801fd3db3","_id":"confman@0.2.0","_shasum":"6e5d757a572894effae818e8bdf3602a8d908ae4","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"6e5d757a572894effae818e8bdf3602a8d908ae4","size":6401,"noattachment":false,"key":"/confman/-/confman-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.2.0.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.2.0.tgz_1469710014299_0.8420839821919799"},"directories":{},"publish_time":1469710018320,"_cnpm_publish_time":1469710018320,"_hasShrinkwrap":false},"0.1.2":{"name":"confman","version":"0.1.2","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","plist":"^1.2.0","properties":"^1.2.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"5b7889e02845c082209d8916607cc484f840c952","_id":"confman@0.1.2","_shasum":"0c3a18684f17bb8a8ab761ca05c6c682c1cb3cbf","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"0c3a18684f17bb8a8ab761ca05c6c682c1cb3cbf","size":5137,"noattachment":false,"key":"/confman/-/confman-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.1.2.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.1.2.tgz_1469675209369_0.016121196560561657"},"directories":{},"publish_time":1469675213174,"_cnpm_publish_time":1469675213174,"_hasShrinkwrap":false},"0.1.1":{"name":"confman","version":"0.1.1","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","plist":"^1.2.0","properties":"^1.2.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"43edf215c70a87cc866f2814ebf06c883c881e3d","_id":"confman@0.1.1","_shasum":"96a9bbea9f1701436a3cd79734f715c6d0886526","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"96a9bbea9f1701436a3cd79734f715c6d0886526","size":5049,"noattachment":false,"key":"/confman/-/confman-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.1.1.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.1.1.tgz_1469546746827_0.8344213042873889"},"directories":{},"publish_time":1469546750151,"_cnpm_publish_time":1469546750151,"_hasShrinkwrap":false},"0.1.0":{"name":"confman","version":"0.1.0","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"6e2e067c9caa6498f8e763210fb4ff6dd3273b7d","_id":"confman@0.1.0","_shasum":"7b935fb708e3b42e5a43544022aab3b494712c6b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"7b935fb708e3b42e5a43544022aab3b494712c6b","size":4751,"noattachment":false,"key":"/confman/-/confman-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.1.0.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confman-0.1.0.tgz_1469534781652_0.9970957308541983"},"directories":{},"publish_time":1469534781889,"_cnpm_publish_time":1469534781889,"_hasShrinkwrap":false},"0.0.6":{"name":"confman","version":"0.0.6","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","pixl-xml":"^1.0.7","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"5df7b485d23a737e511d67e148d451291ee25023","_id":"confman@0.0.6","_shasum":"ea51b47dc379c9f9f8fc605848e1898282e4e374","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"ea51b47dc379c9f9f8fc605848e1898282e4e374","size":4747,"noattachment":false,"key":"/confman/-/confman-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.0.6.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confman-0.0.6.tgz_1469534694659_0.6625399943441153"},"directories":{},"publish_time":1469534694906,"_cnpm_publish_time":1469534694906,"_hasShrinkwrap":false},"0.0.5":{"name":"confman","version":"0.0.5","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"6101cd41c9dada9bf20dbec306d94a9479793989","_id":"confman@0.0.5","_shasum":"f491c47078bce469d179d06d719610a916834a19","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"f491c47078bce469d179d06d719610a916834a19","size":4571,"noattachment":false,"key":"/confman/-/confman-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.0.5.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.0.5.tgz_1469515747001_0.1266550594009459"},"directories":{},"publish_time":1469515750667,"_cnpm_publish_time":1469515750667,"_hasShrinkwrap":false},"0.0.4":{"name":"confman","version":"0.0.4","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"fd8944f2304080c3a5da42ee023eb62be384da8d","_id":"confman@0.0.4","_shasum":"8a33c820d39e07115806dd9ae2a2e6e3bab13988","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"8a33c820d39e07115806dd9ae2a2e6e3bab13988","size":4433,"noattachment":false,"key":"/confman/-/confman-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.0.4.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.0.4.tgz_1469514238706_0.21627871366217732"},"directories":{},"publish_time":1469514242071,"_cnpm_publish_time":1469514242071,"_hasShrinkwrap":false},"0.0.2":{"name":"confman","version":"0.0.2","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/confman.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"homepage":"https://github.com/Houfeng/confman#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"973267bf027738c119066b4973b35b2257e6a05d","_id":"confman@0.0.2","_shasum":"96b31ed35a78a94e619bda8bd5c15162826c0607","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"96b31ed35a78a94e619bda8bd5c15162826c0607","size":4468,"noattachment":false,"key":"/confman/-/confman-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.0.2.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/confman-0.0.2.tgz_1469513967775_0.09385698148980737"},"directories":{},"publish_time":1469513971421,"_cnpm_publish_time":1469513971421,"_hasShrinkwrap":false},"0.0.1":{"name":"confman","version":"0.0.1","description":"最好用的配置加载器","main":"./lib/index.js","scripts":{"test":"mocha","cover":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/Houfeng/config-parser.git"},"keywords":["config","conf","loader"],"author":{"name":"Houfeng"},"license":"MIT","bugs":{"url":"https://github.com/Houfeng/config-parser/issues"},"homepage":"https://github.com/Houfeng/config-parser#readme","dependencies":{"cify":"^1.0.0","cson-parser":"^1.3.3","ini-parser":"0.0.2","js-yaml":"^3.6.1","real-utils":"0.0.1","toml":"^2.3.0"},"devDependencies":{"istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"cc40982dc72da285057ccbfea6c69d5d92bdd1d2","_id":"confman@0.0.1","_shasum":"e1b97717872ba3a6bf4b68ab53ced7774916d171","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"houzhanfeng","email":"admin@xhou.net"},"dist":{"shasum":"e1b97717872ba3a6bf4b68ab53ced7774916d171","size":3542,"noattachment":false,"key":"/confman/-/confman-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/confman/download/confman-0.0.1.tgz"},"maintainers":[{"name":"houzhanfeng","email":"admin@xhou.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/confman-0.0.1.tgz_1469507522396_0.07808681600727141"},"directories":{},"publish_time":1469507522623,"_cnpm_publish_time":1469507522623,"_hasShrinkwrap":false}},"readme":"# 一句话介绍\nConfman 是一个强大的配置文件加载器，无论你喜欢 yaml 、cson、json、properties、plist、ini、toml、xml 还是 js，都能满足你的愿望，并且更加简单、更加强大。\n\n[![npm version](https://badge.fury.io/js/confman.svg)](http://badge.fury.io/js/confman)\n[![Build Status](https://travis-ci.org/Houfeng/confman.svg?branch=master)](https://travis-ci.org/Houfeng/confman) \n\n# 支持的特性\n- 支持多种配置文件格式，默认包括 yaml/cson/json/properties/plist/ini/toml/xml/js \n- 支持配置文件相互引用，无论何种格式都可以「引用其它任意格式」的配置文件\n- 支持「基于目录」的多文件配置\n- 支持「环境配置」，区分加载生产、测试等不同的配置\n- 可以非常方便的「扩展」新的配置文件格式\n- 可以「混合使用」不同的配置文件格式\n- 内置多种「指令」，并可轻易的扩展新的指令\n\n# 现在就安装\n```sh\n$ npm install confman --save\n```\n\n# 来几个示例\n\n#### 不同的环境配置\n目录\n```\napp\n├── index.js\n├── config.dev.yaml\n├── config.prod.yaml\n└── config.yaml\n```\n\nindex.js\n```js\nconst confman = require('confman');\nconst configs = confman.load(`${__dirname}/config`);\nconsole.log(configs);\n```\n\n启动应用\n```sh\n$ NODE_ENV=prod node index.js \n```\n\n通过指定 ```NODE_ENV``` 可以加载指定的「环境配置文件 config.prod.yaml」，并和「默认配置 config.yaml」进行合并,\n如果有相同的配置，「环境配置会覆盖默认配置」\n\n#### 配置文件相互引用\n文件一: test1.yaml\n```yaml\nname: test1\n#可以使用 $require 引用其它文件\nchild: $requrie ./test2\n```\n文件二: test2.json\n```json\n{\n  \"name\": \"test2\",\n   \"child\": \"$require other-file\"\n}\n```\n```$require``` 可以在任意支持的格式的配置文件中使用\n\n#### 基于目录的多文件配置\n目录结构\n```\n├── config\n│   ├── conn.yaml\n│   ├── index.yaml\n│   └── mvc.yaml\n├── config.dev\n│   └── conn.yaml\n├── config.prod\n│   └── conn.yaml\n└── index.js\n```\n\nindex.js\n```js\nconst confman = require('confman');\nconst configs = confman.load(`${__dirname}/config`);\nconsole.log(configs);\n```\n\n# 添加新格式\n\n其实，多数情况你不需要这么做，如果确实有需要，你可这样编写一个自定义 ```loader```\n\n```js\nmodule.exports = {\n  extname: '.xxx',\n  load: function (configPath) {\n    //...\n    return configs;\n  }\n};\n```\n\n注册自定义 loader\n```js\nconfman.loaders.push(require('your-loader-path'));\n```\n\n# 新的扩展名\n\n方式一，映射到一个已经添加的 loader\n```js\nconfman.loaders.push({\n  extname: '.xxx',\n  loader: '.yaml'\n});\n```\n\n方式二，直接映射到一个未添加的自定义 loader \n```js\nconfman.loaders.push({\n  extname: '.xxx',\n  loader: require('your-loader-path')\n});\n```\n\n# 内置的指令\n\n如上边用到的 ```$require```，Confman 允许使用指令完成某些配置，内置的指令包括:\n\n- $require 引用指令，用于引用其它配置文件，参数为相对于当前文件的相对路径或绝对路径\n- $calc 计算指令，用于计算一个表达式，如 $calc root.baseUrl+\"/xxx\" (表达式中可用变量有 root:根对象，parent:父对象，self:当前对象)\n- $read 读取指令，用于读取一个文本文件，参数为相对于当前文件的相对路径或绝对路径\n\n示例 example.yaml\n```yaml\nname: example\ntest1: $require ./test1.json\ntest2: $read ./test2.txt\ntest3: $calc root.name + \":test3\"\n```\n\n假如 ```test1.json``` 的内容为 ```{ \"name\": \"test1\" }```，```test2.txt``` 的内容为 ```my name is test2```,\n通过 ```Confman.load('./example')``` 加载 ```example``` 的结果为：\n\n```json\n{\n  \"name\": \"example\",\n  \"test1\": { \"name\": \"test1\" },\n  \"test2\": \"my name is test2\",\n  \"test3\": \"example:test3\"\n}\n```\n\n# 自定义指令\n\n编写一个自定义指令的代码如下：\n\n```js\nmodule.exports = {\n  name: 'xxx',\n  exec: function(context){\n    //context.fromPath 来自哪个配置文件\n    //context.parser 当前 Confman 实例\n    //context.root 根对象\n    //context.parent 父对象\n    //context.self 当前对象\n    //context.name 配置属性名\n    //context.value 指令后的值\n    return {} //返回值为指令执行结果\n  }\n};\n```\n\n注册自定义指令\n```js\nconfman.directives.push(require('your_directive_path'));\n```\n\n# 其它的问题\n- 新的建议或 Bug 请使用 isseus 反馈\n- 贡献代码，请使用 Pull Request，需一并提交相关测试并且不能低于现有覆盖率","_attachments":{},"homepage":"https://github.com/Houfeng/confman#readme","bugs":{"url":"https://github.com/Houfeng/confman/issues"},"license":"MIT"}