{"_id":"expand","_rev":"225710","name":"expand","description":"Recursively resolve templates in an object, string or array.","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:42:37.000Z","created":"2013-12-26T16:34:39.110Z","0.5.0":"2017-02-09T11:49:58.540Z","0.4.3":"2016-07-11T18:39:04.518Z","0.4.2":"2016-07-05T23:05:50.331Z","0.4.1":"2016-06-24T04:14:58.595Z","0.4.0":"2015-12-14T01:11:16.920Z","0.3.2":"2015-10-22T00:53:29.202Z","0.3.1":"2015-09-17T20:23:30.487Z","0.3.0":"2015-09-17T20:01:08.874Z","0.2.1":"2015-09-16T00:40:07.956Z","0.2.0":"2015-09-14T12:46:30.411Z","0.1.4":"2015-08-31T17:14:41.155Z","0.1.3":"2015-08-31T17:06:55.341Z","0.1.2":"2015-08-25T16:53:40.323Z","0.1.1":"2015-08-25T16:48:05.508Z","0.1.0":"2015-08-25T14:25:06.628Z","0.0.1":"2013-12-26T16:34:39.110Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"versions":{"0.5.0":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.12","get-value":"^2.0.6","is-primitive":"^2.0.0","kind-of":"^3.1.0","lazy-cache":"^2.0.2","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.11","gulp-istanbul":"^1.1.1","gulp-mocha":"^3.0.1","parse-filepath":"^1.0.1"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["engine","expand-object","get-value","glob-object","set-value"],"alternatives":["expander"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"13d3cc88d352a75a223e86492057d101ec156e13","_id":"expand@0.5.0","_shasum":"4526e339c9e4aace1d204d08f81fe6f4fa792db6","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4526e339c9e4aace1d204d08f81fe6f4fa792db6","size":5526,"noattachment":false,"key":"/expand/-/expand-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.5.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/expand-0.5.0.tgz_1486640997969_0.5852875309064984"},"directories":{},"publish_time":1486640998540,"_cnpm_publish_time":1486640998540,"_hasShrinkwrap":false},"0.4.3":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.4.3","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","LICENSE","README.md","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.11","get-value":"^2.0.6","is-primitive":"^2.0.0","kind-of":"^3.0.3","lazy-cache":"^2.0.1","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.1","gulp-eslint":"^2.0.0","gulp-format-md":"^0.1.9","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","mocha":"^2.5.3","parse-filepath":"^1.0.1"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["engine","expand-object","get-value","glob-object","set-value"],"alternatives":["expander"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"e4c4fe67bbdfdf68640c415c6d1a2386f06ef432","_id":"expand@0.4.3","_shasum":"d076b06945a41a9de1f7e151b2254cb73e885d50","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d076b06945a41a9de1f7e151b2254cb73e885d50","size":5479,"noattachment":false,"key":"/expand/-/expand-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.4.3.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expand-0.4.3.tgz_1468262341934_0.14087332785129547"},"directories":{},"publish_time":1468262344518,"_cnpm_publish_time":1468262344518,"_hasShrinkwrap":false},"0.4.2":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.4.2","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","LICENSE","README.md","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.11","get-value":"^2.0.6","is-primitive":"^2.0.0","kind-of":"^3.0.3","lazy-cache":"^2.0.1","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.1","gulp-eslint":"^2.0.0","gulp-format-md":"^0.1.9","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","mocha":"^2.5.3","parse-filepath":"^1.0.1"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["engine","expand-object","get-value","glob-object","set-value"],"alternatives":["expander"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"cd5fcb46025d3c59525ccd69cdfe20b355ece743","_id":"expand@0.4.2","_shasum":"f713c503aba30c1e9035d5fc195ec9fe0de22a1a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f713c503aba30c1e9035d5fc195ec9fe0de22a1a","size":3331,"noattachment":false,"key":"/expand/-/expand-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.4.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expand-0.4.2.tgz_1467759948328_0.18509940337389708"},"directories":{},"publish_time":1467759950331,"_cnpm_publish_time":1467759950331,"_hasShrinkwrap":false},"0.4.1":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.11","get-value":"^2.0.6","is-primitive":"^2.0.0","kind-of":"^3.0.3","lazy-cache":"^2.0.1","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.1","gulp-eslint":"^2.0.0","gulp-format-md":"^0.1.9","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","mocha":"^2.5.3","parse-filepath":"^1.0.1"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["engine","expand-object","get-value","glob-object","set-value"],"alternatives":["expander"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"699056f1badea0fd8d1886429ff272c4a47ce5df","_id":"expand@0.4.1","_shasum":"38adbca1195a335d1989d7140527e973ac99d30f","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"38adbca1195a335d1989d7140527e973ac99d30f","size":3303,"noattachment":false,"key":"/expand/-/expand-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.4.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/expand-0.4.1.tgz_1466741696336_0.857334649655968"},"directories":{},"publish_time":1466741698595,"_cnpm_publish_time":1466741698595,"_hasShrinkwrap":false},"0.4.0":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^2.0.2","is-primitive":"^2.0.0","kind-of":"^3.0.2","lazy-cache":"^1.0.2","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","parse-filepath":"^0.6.3"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"22b5faf4b56d83588d265936adcee1b37001fe99","_id":"expand@0.4.0","_shasum":"11c2e10e9d948a0a0a6e49205109cb9bf0300180","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"11c2e10e9d948a0a0a6e49205109cb9bf0300180","size":5249,"noattachment":false,"key":"/expand/-/expand-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.4.0.tgz"},"directories":{},"publish_time":1450055476920,"_cnpm_publish_time":1450055476920,"_hasShrinkwrap":false},"0.3.2":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^1.2.1","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"extend-shallow":"^2.0.1","gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*","parse-filepath":"^0.6.3"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"f61c12b2c9ac6ec02d75373bc503108b9391a9d0","_id":"expand@0.3.2","_shasum":"11de5a2f238c85758064ef3a32e0994aba5a305b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"11de5a2f238c85758064ef3a32e0994aba5a305b","size":5082,"noattachment":false,"key":"/expand/-/expand-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.3.2.tgz"},"directories":{},"publish_time":1445475209202,"_cnpm_publish_time":1445475209202,"_hasShrinkwrap":false},"0.3.1":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^1.2.1","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"f61c12b2c9ac6ec02d75373bc503108b9391a9d0","_id":"expand@0.3.1","_shasum":"931561593b191451fb0f4821183e2944b69e8407","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"931561593b191451fb0f4821183e2944b69e8407","size":4761,"noattachment":false,"key":"/expand/-/expand-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.3.1.tgz"},"directories":{},"publish_time":1442521410487,"_cnpm_publish_time":1442521410487,"_hasShrinkwrap":false},"0.3.0":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^1.2.1","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"8329b23347a1ccdb8706f84fee17f2d3700d7a74","_id":"expand@0.3.0","_shasum":"ca9d77bb1d785cc7241623eee910ba3ae5d2df44","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ca9d77bb1d785cc7241623eee910ba3ae5d2df44","size":4726,"noattachment":false,"key":"/expand/-/expand-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.3.0.tgz"},"directories":{},"publish_time":1442520068874,"_cnpm_publish_time":1442520068874,"_hasShrinkwrap":false},"0.2.1":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^1.2.1","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"b04eccaa958669380c0789d66a3d0685478015b1","_id":"expand@0.2.1","_shasum":"483e6e27c5d000d1418d6f7424b5583c948d645b","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"483e6e27c5d000d1418d6f7424b5583c948d645b","size":4650,"noattachment":false,"key":"/expand/-/expand-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.2.1.tgz"},"directories":{},"publish_time":1442364007956,"_cnpm_publish_time":1442364007956,"_hasShrinkwrap":false},"0.2.0":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.8","get-value":"^1.2.1","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"b04eccaa958669380c0789d66a3d0685478015b1","_id":"expand@0.2.0","_shasum":"48c2bdc4e934702962f1e39837b90f2ea3cdb2a2","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"48c2bdc4e934702962f1e39837b90f2ea3cdb2a2","size":4638,"noattachment":false,"key":"/expand/-/expand-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.2.0.tgz"},"directories":{},"publish_time":1442234790411,"_cnpm_publish_time":1442234790411,"_hasShrinkwrap":false},"0.1.4":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.1.4","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.6","get-value":"^1.1.5","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"0a6dc59a4854e9b5cfa25ba079f181adbe6be069","_id":"expand@0.1.4","_shasum":"b33beae981a0459f5cfd3a185c1ca7fbe751f3ff","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b33beae981a0459f5cfd3a185c1ca7fbe751f3ff","size":4533,"noattachment":false,"key":"/expand/-/expand-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.1.4.tgz"},"directories":{},"publish_time":1441041281155,"_cnpm_publish_time":1441041281155,"_hasShrinkwrap":false},"0.1.3":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.6","get-value":"^1.1.5","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3","regex-flags":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"93a81c5d80e553a15a7665b722de488416a5ca44","_id":"expand@0.1.3","_shasum":"d56e464ab5cef5429ca6ae27fad5955d66b15293","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d56e464ab5cef5429ca6ae27fad5955d66b15293","size":4550,"noattachment":false,"key":"/expand/-/expand-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.1.3.tgz"},"directories":{},"publish_time":1441040815341,"_cnpm_publish_time":1441040815341,"_hasShrinkwrap":false},"0.1.2":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.6","get-value":"^1.1.5","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3"},"devDependencies":{"mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"d278e19964962c333530ca3ef462b8e9772f6bc7","_id":"expand@0.1.2","_shasum":"8d64b91ace8f9db6e07deda4dbbd07a2d20d86f7","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8d64b91ace8f9db6e07deda4dbbd07a2d20d86f7","size":4160,"noattachment":false,"key":"/expand/-/expand-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.1.2.tgz"},"directories":{},"publish_time":1440521620323,"_cnpm_publish_time":1440521620323,"_hasShrinkwrap":false},"0.1.1":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.6","get-value":"^1.1.5","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3"},"devDependencies":{"mocha":"*"},"keywords":["config","configuration","declarative","dot","dot-notation","expand","lodash","resolve","template","underscore"],"verb":{"related":{"list":["get-value","set-value","engine","glob-object","expand-object"],"alternatives":["expander"]},"reflinks":{"list":"expander"}},"gitHead":"c9ff30ad4c15cb37808def04e31a8cbe87ae48b4","_id":"expand@0.1.1","_shasum":"6e6c0440ba7cef855f1f9feb2c63973140f739a3","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6e6c0440ba7cef855f1f9feb2c63973140f739a3","size":4131,"noattachment":false,"key":"/expand/-/expand-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.1.1.tgz"},"directories":{},"publish_time":1440521285508,"_cnpm_publish_time":1440521285508,"_hasShrinkwrap":false},"0.1.0":{"name":"expand","description":"Recursively resolve templates in an object, string or array.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/expand","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine":"^0.1.6","get-value":"^1.1.5","is-primitive":"^2.0.0","kind-of":"^2.0.1","lazy-cache":"^0.2.3"},"devDependencies":{"mocha":"*"},"keywords":["config","declarative","dot","dot-notation","expand","filepath","lodash","nested","notation","path","placeholder","prop","property","resolve","string","template","underscore","value","variable"],"verb":{"related":{"list":["expander","expand-object","expand-config"]},"reflinks":{"list":"expander"}},"gitHead":"e849843cc8a30346e8a2583f4a51674f173b46f3","_id":"expand@0.1.0","_shasum":"d8d47281973aa0b612293d7a62d4b8d384eeca4d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d8d47281973aa0b612293d7a62d4b8d384eeca4d","size":2758,"noattachment":false,"key":"/expand/-/expand-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.1.0.tgz"},"directories":{},"publish_time":1440512706628,"_cnpm_publish_time":1440512706628,"_hasShrinkwrap":false},"0.0.1":{"name":"expand","version":"0.0.1","description":"Expand lodash templates into objects.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/assemble/expand.git"},"keywords":["lodash","templates","expand","assemble"],"author":{"name":"Brian Woodward"},"license":"MIT","bugs":{"url":"https://github.com/assemble/expand/issues"},"dependencies":{"lodash":"~2.4.1","traverse":"~0.6.6"},"devDependencies":{"mocha":"~1.16.2","chai":"~1.8.1"},"readmeFilename":"README.md","_id":"expand@0.0.1","dist":{"shasum":"ae01041c5d37279aab2430103718e449ee8e62fe","size":1469,"noattachment":false,"key":"/expand/-/expand-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand/download/expand-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1388075679110,"_cnpm_publish_time":1388075679110,"_hasShrinkwrap":false}},"readme":"# expand [![NPM version](https://img.shields.io/npm/v/expand.svg?style=flat)](https://www.npmjs.com/package/expand) [![NPM monthly downloads](https://img.shields.io/npm/dm/expand.svg?style=flat)](https://npmjs.org/package/expand)  [![NPM total downloads](https://img.shields.io/npm/dt/expand.svg?style=flat)](https://npmjs.org/package/expand) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/expand.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/expand)\n\n> Recursively resolve templates in an object, string or array.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save expand\n```\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save expand\n```\n\n## Usage\n\n```js\nvar expand = require('expand')();\nexpand({a: '<%= b %>', b: 'c'});\n//=> {a: 'c', b: 'c'}\n\nexpand({a: '<%= b.c.d %>', b: {c: {d: 'eee'}}});\n//=> {a: 'eee', b: {c: {d: 'eee' }}}\n```\n\n**Params**\n\n```js\nexpand(valueToExpand, dataToUse, options);\n```\n\n* `value` **{String|Array|Object}**: The value with templates to resolve.\n* `data` **{Object}**: Pass the data to use for resolving templates. If the first argument is an object, this is optional.\n* `options` **{Object}**: Pass the regex to use for matching templates.\n* `returns` **{any}**: Returns a string, object or array based on what was passed.\n\n**Example**\n\nIf an object is passed, only the first argument is strictly _necessary_.\n\n```js\nexpand({a: '<%= b %>', b: '<%= c %>', c: 'It worked!'});\n//=> {a: 'It worked!', b: 'It worked!', c: 'It worked!'}\n```\n\n## More examples\n\n### process templates in objects\n\n```js\nexpand({a: {c: '<%= d %>'}, d: {f: 'g'}});\n//=>  {a: {c: {f: 'g'}}, d: {f: 'g'}};\n```\n\n### process a template in an array\n\n```js\nexpand(['<%= a %>'], {a: 'b'});\n//=> ['b']\n```\n\n### process templates in a string\n\n```js\nexpand('<%= a %>', {a: 'b'});\n//=> 'b'\n```\n\n### process multiple templates in an array\n\n```js\nexpand(['<%= a %>', '<%= b %>'], {a: 'b', b: 'c'});\n//=> ['b', 'c']\n```\n\n### expand nested templates in an object\n\n```js\nvar data = {a: {b: {c: 'd'}}};\nexpand({foo: '<%= a.b.c %>'}, data);\n//=> {foo: 'd'}\n```\n\n### recursively expand templates\n\n```js\nvar data = {a: '<%= b %>', b: '<%= c %>', c: 'the end!'};\nexpand('<%= a %>', data);\n//=> 'the end!'\n```\n\n### process multiple templates in the same string\n\n```js\nvar str = '<%= a %>/<%= b %>';\nexpand(str, {a: 'foo', b: 'bar'});\n//=> 'foo/bar'\n```\n\n### process multiple templates in an object value\n\n```js\nvar data = {\n  a: {\n    c: '<%= d %>/<%= e %>'\n  },\n  d: 'ddd',\n  e: 'eee'\n};\nexpand(data).a.c;\n//=> 'ddd/eee'\n```\n\n### recursively process templates in object values\n\n```js\nvar data = {\n  a: '<%= b %>/<%= c %>',\n  b: 'xxx',\n  c: '<%= y %>',\n  y: 'zzz'\n};\nexpand('<%= a %>', data);\n//=> 'xxx/zzz'\n```\n\n### call helpers in templates\n\n```js\nvar ctx = {\n  foo: 'bar',\n  c: {\n    d: {\n      e: function (str) {\n        return str.toUpperCase();\n      }\n    }\n  }\n};\nexpand('abc <%= c.d.e(foo) %> xyz', ctx);\n//=> 'abc BAR xyz'\n```\n\n### use custom regex\n\nOptions may be passed as the third argument. Currently `options.regex` is the only option.\n\n```js\nvar data = {a: 'bbb', c: 'ddd', e: 'fff'};\nexpand({foo: ':c/:e'}, data, {regex: /:([(\\w ),]+)/});\n//=> {foo: 'ddd/fff'}\n```\n\n### call functions with custom regex.\n\n```js\nvar data = {\n  a: {c: ':d/:e/:upper(f)'},\n  d: 'ddd',\n  e: 'eee',\n  f: 'foo',\n  upper: function (str) {\n    return str.toUpperCase();\n  }\n};\n\nvar result = expand(data, data, {regex: /:([(\\w ),]+)/});\nconsole.log(result.a.c);\n//=> 'ddd/eee/FOO'\n```\n\n## Alternatives\n\nHere are some great libs by other authors. My needs for expand differed enough to create a new library, but these are definitely worth a look:\n\n* [expander](https://www.npmjs.com/package/expander): Expand template strings in declarative configurations. | [homepage](https://github.com/tkellen/expander \"Expand template strings in declarative configurations.\")\n\n## History\n\n**v0.2.0 - Breaking changes**\n\nThe top-level export now returns a function that takes an options object, which then returns the function to use.\n\n```js\nvar expand = require('expand');\nvar resolve = expand({regex: /:(\\w+)/});\n\nresolve(':a/:b', {a: 'foo', b: 'bar'});\n//=> 'foo/bar'\n```\n\n## About\n\n### Related projects\n\n* [engine](https://www.npmjs.com/package/engine): Template engine based on Lo-Dash template, but adds features like the ability to register helpers… [more](https://github.com/jonschlinkert/engine) | [homepage](https://github.com/jonschlinkert/engine \"Template engine based on Lo-Dash template, but adds features like the ability to register helpers and more easily set data to be used as context in templates.\")\n* [expand-object](https://www.npmjs.com/package/expand-object): Expand a string into a JavaScript object using a simple notation. Use the CLI or… [more](https://github.com/jonschlinkert/expand-object) | [homepage](https://github.com/jonschlinkert/expand-object \"Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.\")\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths (`a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value \"Use property paths (`a.b.c`) to get a nested value from an object.\")\n* [glob-object](https://www.npmjs.com/package/glob-object): Filter an object using glob patterns and dot notation. | [homepage](https://github.com/jonschlinkert/glob-object \"Filter an object using glob patterns and dot notation.\")\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value \"Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 64 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 9 | [doowb](https://github.com/doowb) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nMIT\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 09, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/expand","bugs":{"url":"https://github.com/jonschlinkert/expand/issues"},"license":"MIT"}