{"_id":"map-config","_rev":"231004","name":"map-config","description":"Map configuration objects to application methods.","dist-tags":{"latest":"0.5.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T15:46:07.000Z","created":"2015-09-21T23:38:52.896Z","0.5.0":"2016-02-24T04:38:11.348Z","0.4.4":"2016-02-15T07:15:37.221Z","0.4.3":"2016-02-14T02:36:21.813Z","0.4.2":"2016-02-02T03:08:20.053Z","0.4.1":"2016-01-29T15:27:17.087Z","0.4.0":"2016-01-17T22:17:16.530Z","0.3.0":"2015-11-10T15:21:01.035Z","0.2.2":"2015-11-06T19:20:45.462Z","0.2.1":"2015-10-22T14:06:14.290Z","0.2.0":"2015-10-20T01:02:06.483Z","0.1.1":"2015-10-08T18:37:18.977Z","0.1.0":"2015-09-21T23:38:52.896Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"versions":{"0.5.0":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.5.0","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","async":"^1.5.2"},"devDependencies":{"base":"^0.6.7","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*"},"keywords":["config","configuration","settings"],"verb":{"related":{"list":["assemble","generate","templates","update","verb"]}},"gitHead":"20036fe5f2d6619276ded6584ad56191c030d667","_id":"map-config@0.5.0","_shasum":"1702607e267af7a370c8a9d0c62ba6524feb6fe5","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"1702607e267af7a370c8a9d0c62ba6524feb6fe5","size":4624,"noattachment":false,"key":"/map-config/-/map-config-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.5.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/map-config-0.5.0.tgz_1456288690387_0.07718062493950129"},"directories":{},"publish_time":1456288691348,"_cnpm_publish_time":1456288691348,"_hasShrinkwrap":false},"0.4.4":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.4.4","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","async":"^1.5.2"},"devDependencies":{"base":"^0.6.7","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-format-md":"^0.1.5","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*"},"keywords":["config","configuration","settings"],"verb":{"tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble","generate","templates","update","verb"]}},"gitHead":"02957db51f693e36879cdaf7dd649a1d5ba2270e","_id":"map-config@0.4.4","_shasum":"fdcd92205f4a02c9acd3512d163953337cf3e68e","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fdcd92205f4a02c9acd3512d163953337cf3e68e","size":4581,"noattachment":false,"key":"/map-config/-/map-config-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.4.4.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/map-config-0.4.4.tgz_1455520533587_0.983779348898679"},"directories":{},"publish_time":1455520537221,"_cnpm_publish_time":1455520537221,"_hasShrinkwrap":false},"0.4.3":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.4.3","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","async":"^1.5.2"},"devDependencies":{"base":"^0.6.7","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*"},"keywords":["config","configuration","settings"],"verb":{"related":{"list":["assemble","generate","templates","update","verb"]}},"gitHead":"8a869acb9b05136fc49822e351bb10485fb3340e","_id":"map-config@0.4.3","_shasum":"e4a03c34a75b83d9810b6674e8b63104e3e197f3","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"e4a03c34a75b83d9810b6674e8b63104e3e197f3","size":4552,"noattachment":false,"key":"/map-config/-/map-config-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.4.3.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/map-config-0.4.3.tgz_1455417377884_0.7972209062427282"},"directories":{},"publish_time":1455417381813,"_cnpm_publish_time":1455417381813,"_hasShrinkwrap":false},"0.4.2":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.4.2","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","async":"^1.5.2"},"devDependencies":{"base":"^0.6.7","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*"},"keywords":["config","configuration","settings"],"verb":{"related":{"list":["assemble","generate","templates","update","verb"]}},"gitHead":"c3347d77724249cbf9e3243c62f8ed994e253980","_id":"map-config@0.4.2","_shasum":"1083934ef9aa1b3e049680c9b478acfd961e3093","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1083934ef9aa1b3e049680c9b478acfd961e3093","size":4513,"noattachment":false,"key":"/map-config/-/map-config-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.4.2.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/map-config-0.4.2.tgz_1454382498932_0.6898733254056424"},"directories":{},"publish_time":1454382500053,"_cnpm_publish_time":1454382500053,"_hasShrinkwrap":false},"0.4.1":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.4.1","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.4.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"^2.3.3"},"verb":{"related":{"list":["assemble","generate","templates","update","verb"]}},"dependencies":{"async":"^1.5.2"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"keywords":["config","configuration","settings"],"gitHead":"d102bef907b276e3b3c6f7bdccd5693a7cf9f188","_id":"map-config@0.4.1","_shasum":"57b2d8256e6c9ff5f1606cc8fd55003dabd6a22a","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"57b2d8256e6c9ff5f1606cc8fd55003dabd6a22a","size":4148,"noattachment":false,"key":"/map-config/-/map-config-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.4.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1454081237087,"_cnpm_publish_time":1454081237087,"_hasShrinkwrap":false},"0.4.0":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.4.0","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.4.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"^2.3.3"},"verb":{"related":{"list":["assemble","generate","templates","update","verb"]}},"dependencies":{"async":"^1.5.2"},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"keywords":["config","configuration","settings"],"gitHead":"e4629418a37fc3a0c2224f1b0c1798f05752861e","_id":"map-config@0.4.0","_shasum":"6a0510ec296d47369bda340e3b344851bc85f7d5","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"6a0510ec296d47369bda340e3b344851bc85f7d5","size":4136,"noattachment":false,"key":"/map-config/-/map-config-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.4.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1453069036530,"_cnpm_publish_time":1453069036530,"_hasShrinkwrap":false},"0.3.0":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.3.0","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.4.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"^2.3.3"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"df42e30ee4090e32a3c7334b0c66002aac130b21","_id":"map-config@0.3.0","_shasum":"94de39f2aaaeff5bc56ecab983a58aa4d163c092","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"94de39f2aaaeff5bc56ecab983a58aa4d163c092","size":3732,"noattachment":false,"key":"/map-config/-/map-config-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.3.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1447168861035,"_cnpm_publish_time":1447168861035,"_hasShrinkwrap":false},"0.2.2":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.2.2","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.4.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"^2.3.3"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{},"contributors":[{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Jon Schlinkert","email":"github@sellside.com","url":"https://github.com/jonschlinkert"}],"gitHead":"1a8d902a87c7f150973805146fc9c4b681809c90","_id":"map-config@0.2.2","_shasum":"1be23566cf901b4bbe8e789b5b893a0b994d5a88","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"1be23566cf901b4bbe8e789b5b893a0b994d5a88","size":3426,"noattachment":false,"key":"/map-config/-/map-config-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.2.2.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1446837645462,"_cnpm_publish_time":1446837645462,"_hasShrinkwrap":false},"0.2.1":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.2.1","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.3.0","gulp":"^3.9.0","gulp-istanbul":"^0.10.1","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","should":"^7.1.0"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{},"gitHead":"62d1df68ed37840c3bb6cb9638f0a48f413f6f48","_id":"map-config@0.2.1","_shasum":"3eb2392addea75de59c307dc23b9a6675a74b16e","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"3eb2392addea75de59c307dc23b9a6675a74b16e","size":2875,"noattachment":false,"key":"/map-config/-/map-config-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.2.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445522774290,"_cnpm_publish_time":1445522774290,"_hasShrinkwrap":false},"0.2.0":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.2.0","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"base-methods":"^0.2.14","gulp":"^3.9.0","gulp-istanbul":"^0.10.1","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","should":"^7.1.0"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{},"gitHead":"68b3d7acbe57d14e2ab8f50d8b55d736c46f5ba0","_id":"map-config@0.2.0","_shasum":"ab61941423ffe2da66527b9f1ed94d8161fc03b9","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"ab61941423ffe2da66527b9f1ed94d8161fc03b9","size":2883,"noattachment":false,"key":"/map-config/-/map-config-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.2.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1445302926483,"_cnpm_publish_time":1445302926483,"_hasShrinkwrap":false},"0.1.1":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.1.1","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.1","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","should":"^7.1.0"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{"for-own":"^0.1.3"},"gitHead":"56521023e39f8331fbadbf1eecef6f6adf8bc347","_id":"map-config@0.1.1","_shasum":"4a72f10f1dab10a60a056f2cafe9beed3f06f528","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"4a72f10f1dab10a60a056f2cafe9beed3f06f528","size":2528,"noattachment":false,"key":"/map-config/-/map-config-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.1.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1444329438977,"_cnpm_publish_time":1444329438977,"_hasShrinkwrap":false},"0.1.0":{"name":"map-config","description":"Map configuration objects to application methods.","version":"0.1.0","homepage":"https://github.com/doowb/map-config","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/map-config.git"},"bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"^7.1.0"},"verb":{"related":{"list":["verb","assemble","templates"]}},"dependencies":{"for-own":"^0.1.3"},"gitHead":"e52cfbd1b47c885cacb9ae15a1d6e159fafadcaf","_id":"map-config@0.1.0","_shasum":"0662a876e08a6455076ae420fe56f1a1473e1b60","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"0662a876e08a6455076ae420fe56f1a1473e1b60","size":2466,"noattachment":false,"key":"/map-config/-/map-config-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/map-config/download/map-config-0.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1442878732896,"_cnpm_publish_time":1442878732896,"_hasShrinkwrap":false}},"readme":"# map-config [![NPM version](https://img.shields.io/npm/v/map-config.svg)](https://www.npmjs.com/package/map-config) [![Build Status](https://img.shields.io/travis/doowb/map-config.svg)](https://travis-ci.org/doowb/map-config)\n\n> Map configuration objects to application methods.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i map-config --save\n```\n\n## Usage\n\n```js\nvar MapConfig = require('map-config');\n```\n\n## API\n\n### [MapConfig](index.js#L24)\nCreate a new instance of MapConfig with a specified map and application.\n\n**Params**\n\n* `app` **{Object}**: Object containing the methods that will be called based on the map specification.    \n* `map` **{Object}**: Optional object specifying how to map a configuration to an application.    \n\n**Example**\n\n```js\nvar mapper = new MapConfig(app, map);\n```\n\n### [.map](index.js#L63)\nMap properties to methods and/or functions.\n\n**Params**\n\n* `key` **{String}**: property key to map.    \n* `val` **{Function|Object}**: Optional function to call when a config has the given key. Functions will be passed `(val, key, config)` when called. Functions may also take a callback to indicate async usage. May also pass another instance of MapConfig to be processed.    \n* `returns` **{Object}** `this`: to enable chaining  \n\n**Example**\n\n```js\nmapper\n  .map('baz')\n  .map('bang', function(val, key, config) {\n  });\n```\n\n### [.alias](index.js#L122)\nCreate an `alias` for property `key`.\n\n**Params**\n\n* `alias` **{String}**: Alias to use for `key`.    \n* `key` **{String}**: Actual property or method on `app`.    \n* `returns` **{Object}**: Returns the instance for chaining.  \n\n**Example**\n\n```js\nmapper.alias('foo', 'bar');\n```\n\n### [.process](index.js#L143)\nProcess a configuration object with the already configured `map` and `app`.\n\n**Params**\n\n* `config` **{Object}**: Configuration object to map to application methods.    \n* `cb` **{Function}**: Optional callback function that will be called when finished or if an error occurs during processing.    \n\n**Example**\n\n```js\nmapper.process(config);\n```\n\n### [.addKey](index.js#L217)\nAdd a key to the `.keys` array. May also be used to add an array of namespaced keys to the `.keys` array. Useful for mapping \"sub-configs\" to a key in a parent config.\n\n**Params**\n\n* `key` **{String}**: key to push onto `.keys`    \n* `arr` **{Array}**: Array of sub keys to push onto `.keys`    \n* `returns` **{Object}** `this`: for chaining  \n\n**Example**\n\n```js\nmapper.addKey('foo');\nconsole.log(mapper.keys);\n//=> ['foo']\n\nvar one = new MapConfig();\nvar two = new MapConfig();\ntwo.map('foo');\ntwo.map('bar');\ntwo.map('baz');\n\n// map config `two` to config `one`\none.map('two', function(val, key, config, next) {\n  two.process(val, next);\n});\n\n// map keys from config `two` to config `one`\none.addKey('two', two.keys);\nconsole.log(one.keys);\n//=> ['two.foo', 'two.bar', 'two.baz']\n```\n\n## Related projects\n* [assemble](https://www.npmjs.com/package/assemble): Assemble is a powerful, extendable and easy to use static site generator for node.js. Used… [more](https://www.npmjs.com/package/assemble) | [homepage](https://github.com/assemble/assemble)\n* [generate](https://www.npmjs.com/package/generate): Fast, composable, highly extendable project generator with a user-friendly and expressive API. | [homepage](https://github.com/generate/generate)\n* [templates](https://www.npmjs.com/package/templates): System for creating and managing template collections, and rendering templates with any node.js template engine.… [more](https://www.npmjs.com/package/templates) | [homepage](https://github.com/jonschlinkert/templates)\n* [update](https://www.npmjs.com/package/update): Easily keep anything in your project up-to-date by installing the updaters you want to use… [more](https://www.npmjs.com/package/update) | [homepage](https://github.com/update/update)\n* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://www.npmjs.com/package/verb) | [homepage](https://github.com/verbose/verb)\n\n## Running tests\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/map-config/issues/new).\n\n## Author\n**Brian Woodward**\n\n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb)\n\n## License\nCopyright © 2016 [Brian Woodward](https://github.com/doowb)\nReleased under the [MIT license](https://github.com/doowb/map-config/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.1.0, on February 23, 2016._\n","_attachments":{},"homepage":"https://github.com/doowb/map-config","bugs":{"url":"https://github.com/doowb/map-config/issues"},"license":"MIT"}