{"_id":"template-utils","_rev":"75075","name":"template-utils","description":"Utils for [Template], and Template-based applications.","dist-tags":{"latest":"0.6.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:22.000Z","created":"2014-11-14T01:56:05.082Z","0.6.2":"2015-05-10T18:22:45.392Z","0.6.1":"2015-05-10T12:43:12.057Z","0.6.0":"2015-05-10T12:31:52.359Z","0.5.1":"2015-02-27T15:18:42.956Z","0.5.0":"2015-02-26T02:13:42.941Z","0.4.1":"2015-02-15T15:17:38.709Z","0.4.0":"2015-02-01T20:31:19.741Z","0.3.0":"2014-12-20T08:33:49.808Z","0.1.8":"2014-12-11T23:17:56.114Z","0.1.7":"2014-12-09T21:24:05.197Z","0.2.0":"2014-12-03T16:29:55.906Z","0.1.6":"2014-11-26T03:52:12.858Z","0.1.5":"2014-11-26T03:49:42.056Z","0.1.4":"2014-11-17T17:07:09.038Z","0.1.2":"2014-11-14T02:40:36.463Z","0.1.1":"2014-11-14T02:36:23.233Z","0.1.0":"2014-11-14T01:56:05.082Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"versions":{"0.6.2":{"name":"template-utils","description":"Utils for [Template], and Template-based applications.","version":"0.6.2","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","chalk":"^1.0.0","export-dirs":"^0.2.4","export-files":"^2.0.1","extract-gfm":"^0.1.0","is-number":"^2.0.2","is-plain-object":"^2.0.0","is-stream":"^1.0.1","isobject":"^1.0.0","load-templates":"^0.7.3","map-files":"^0.7.4","mixin-deep":"^1.1.0","object.reduce":"^0.1.7","parse-gitignore":"^0.1.2","to-template":"^0.1.2","to-vinyl":"^0.1.2","vinyl":"^0.4.6"},"devDependencies":{"mocha":"^2.2.4","should":"^6.0.1","template":"^0.13.1"},"keywords":["templateutil","util","utils","utilities","utility","engine","templates","template"],"gitHead":"d3cbe12d0c10312bf21116c0bee23b232ada4c5b","_id":"template-utils@0.6.2","_shasum":"148e64edf12d84d99eeb950c647088be4da251d9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"148e64edf12d84d99eeb950c647088be4da251d9","size":7049,"noattachment":false,"key":"/template-utils/-/template-utils-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.6.2.tgz"},"directories":{},"publish_time":1431282165392,"_cnpm_publish_time":1431282165392,"_hasShrinkwrap":false},"0.6.1":{"name":"template-utils","description":"Utils for [Template], and Template-based applications.","version":"0.6.1","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","export-dirs":"^0.2.4","export-files":"^2.0.1","extract-gfm":"^0.1.0","is-number":"^2.0.2","is-plain-object":"^2.0.0","is-stream":"^1.0.1","isobject":"^1.0.0","map-files":"^0.7.4","object.reduce":"^0.1.7","parse-gitignore":"^0.1.2","relative":"^3.0.0","to-template":"^0.1.2","to-vinyl":"^0.1.2","vinyl":"^0.4.6"},"devDependencies":{"mocha":"^2.2.4","should":"^6.0.1","template":"^0.13.1"},"keywords":["templateutil","util","utils","utilities","utility","engine","templates","template"],"gitHead":"65c234603c72c4880c2a8d28543c347dceac9197","_id":"template-utils@0.6.1","_shasum":"348ef225463f0682934a19fa5c8f7df4fe7324a7","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"348ef225463f0682934a19fa5c8f7df4fe7324a7","size":7032,"noattachment":false,"key":"/template-utils/-/template-utils-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.6.1.tgz"},"directories":{},"publish_time":1431261792057,"_cnpm_publish_time":1431261792057,"_hasShrinkwrap":false},"0.6.0":{"name":"template-utils","description":"Utils for [Template], and Template-based applications.","version":"0.6.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","export-dirs":"^0.2.4","export-files":"^2.0.1","extract-gfm":"^0.1.0","is-number":"^2.0.2","is-plain-object":"^2.0.0","is-stream":"^1.0.1","isobject":"^1.0.0","map-files":"^0.7.4","object.reduce":"^0.1.7","parse-gitignore":"^0.1.2","relative":"^3.0.0","to-template":"^0.1.2","to-vinyl":"^0.1.2","vinyl":"^0.4.6"},"devDependencies":{"mocha":"^2.2.4","should":"^6.0.1","template":"^0.13.1"},"keywords":["templateutil","util","utils","utilities","utility","engine","templates","template"],"gitHead":"fe37363a8a87557e8db738b2cc350e6a3ebfb928","_id":"template-utils@0.6.0","_shasum":"78daab7eedb7b8d76b87162addbffa90a62e3181","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"78daab7eedb7b8d76b87162addbffa90a62e3181","size":7127,"noattachment":false,"key":"/template-utils/-/template-utils-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.6.0.tgz"},"directories":{},"publish_time":1431261112359,"_cnpm_publish_time":1431261112359,"_hasShrinkwrap":false},"0.5.1":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.5.1","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","debug":"^2.1.1","escape-delims":"^0.4.0","export-files":"^1.1.0","extend-shallow":"^0.2.0","extract-gfm":"^0.1.0","gray-matter":"^1.2.5","merge-deep":"^0.1.3","noncharacters":"^1.1.0","object.pick":"^1.1.1","parse-filepath":"^0.5.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"^5.0.0","verb":"^0.5.0"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"411f5bc4572cbc0c318163b00a0083d965836d53","_id":"template-utils@0.5.1","_shasum":"bc05499ae5e94ef4df98a1944d40a6400d601394","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"bc05499ae5e94ef4df98a1944d40a6400d601394","size":5234,"noattachment":false,"key":"/template-utils/-/template-utils-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.5.1.tgz"},"directories":{},"publish_time":1425050322956,"_cnpm_publish_time":1425050322956,"_hasShrinkwrap":false},"0.5.0":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.5.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","debug":"^2.1.1","escape-delims":"^0.4.0","export-files":"^1.1.0","extend-shallow":"^0.2.0","extract-gfm":"^0.1.0","gray-matter":"^1.2.5","merge-deep":"^0.1.3","object.pick":"^1.1.1","parse-filepath":"^0.5.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"^5.0.0","verb":"^0.5.0"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"2b1ca1d624f89680ca4514478235aa4b73563ed6","_id":"template-utils@0.5.0","_shasum":"282984120d73af0c70dfab784ed8c75f52c4d215","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"282984120d73af0c70dfab784ed8c75f52c4d215","size":4863,"noattachment":false,"key":"/template-utils/-/template-utils-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.5.0.tgz"},"directories":{},"publish_time":1424916822941,"_cnpm_publish_time":1424916822941,"_hasShrinkwrap":false},"0.4.1":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.4.1","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"},"main":"index.js","engines":{"node":">=0.10.0"},"files":["index.js","lib/"],"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","debug":"^2.1.1","escape-delims":"^0.4.0","export-files":"^1.0.0","extend-shallow":"^0.2.0","extract-gfm":"^0.1.0","gray-matter":"^1.2.3","merge-deep":"^0.1.3","object.pick":"^1.1.1","parse-filepath":"^0.5.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"^5.0.0","verb":"^0.3.9"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"b9b9dd18339332ef40257612740016a9cfad224f","_id":"template-utils@0.4.1","_shasum":"50655781176d78cf7332c4651c2e1fd988c03492","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"50655781176d78cf7332c4651c2e1fd988c03492","size":4515,"noattachment":false,"key":"/template-utils/-/template-utils-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.4.1.tgz"},"directories":{},"publish_time":1424013458709,"_cnpm_publish_time":1424013458709,"_hasShrinkwrap":false},"0.4.0":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.4.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"files":["index.js","lib/"],"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","debug":"^2.1.1","escape-delims":"^0.4.0","export-files":"^1.0.0","extend-shallow":"^0.2.0","extract-gfm":"^0.1.0","gray-matter":"^1.1.2","merge-deep":"^0.1.3","object.pick":"^1.1.0","parse-filepath":"^0.5.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.3.9"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"02339433caa00143094ba4c5038dcf60d621c650","_id":"template-utils@0.4.0","_shasum":"e291ffc4e7e151524b040b2a2b6de8a41ebd009d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e291ffc4e7e151524b040b2a2b6de8a41ebd009d","size":3853,"noattachment":false,"key":"/template-utils/-/template-utils-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.4.0.tgz"},"directories":{},"publish_time":1422822679741,"_cnpm_publish_time":1422822679741,"_hasShrinkwrap":false},"0.3.0":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.3.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.2.0","extract-gfm":"^0.1.0","gray-matter":"^1.0.2","merge-deep":"^0.1.3","object.pick":"^1.1.0","parse-filepath":"^0.5.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.3.9"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"21b3c25a393f9586daed6e4b120bbc5d9081bb71","_id":"template-utils@0.3.0","_shasum":"60cf5f5c576231ce48cf13714660d15aef2587ef","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"60cf5f5c576231ce48cf13714660d15aef2587ef","size":6368,"noattachment":false,"key":"/template-utils/-/template-utils-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.3.0.tgz"},"directories":{},"publish_time":1419064429808,"_cnpm_publish_time":1419064429808,"_hasShrinkwrap":false},"0.1.8":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.8","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^1.0.0","gray-matter":"^0.6.0","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.5","parse-filepath":"^0.5.0","pretty-hrtime":"^0.2.2","verb":"^0.3.7","vinyl":"^0.4.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"6780d8177ef23ca643eaaefaecee0841c14c0b62","_id":"template-utils@0.1.8","_shasum":"b7117e7637e9a3e14e8d5289bdde288c64c1f260","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b7117e7637e9a3e14e8d5289bdde288c64c1f260","size":7564,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.8.tgz"},"directories":{},"publish_time":1418339876114,"_cnpm_publish_time":1418339876114,"_hasShrinkwrap":false},"0.1.7":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.7","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^1.0.0","gray-matter":"^0.6.0","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.5","parse-filepath":"^0.5.0","pretty-hrtime":"^0.2.2","verb":"^0.3.7","vinyl":"^0.4.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"gitHead":"ffd43475c3797444ca78587996c53eca8c6e97f4","_id":"template-utils@0.1.7","_shasum":"e42f124375851376127718241c3d6c40323f5ec9","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e42f124375851376127718241c3d6c40323f5ec9","size":7263,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.7.tgz"},"directories":{},"publish_time":1418160245197,"_cnpm_publish_time":1418160245197,"_hasShrinkwrap":false},"0.2.0":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.2.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^1.0.0","gray-matter":"^0.6.1","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.5","parse-filepath":"^0.5.0","pretty-hrtime":"^0.2.2","vinyl":"^0.4.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.2.0","_shasum":"cb5063cea46f959f4b137ae95358a4f1bc4065cb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cb5063cea46f959f4b137ae95358a4f1bc4065cb","size":5588,"noattachment":false,"key":"/template-utils/-/template-utils-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.2.0.tgz"},"directories":{},"publish_time":1417624195906,"_cnpm_publish_time":1417624195906,"_hasShrinkwrap":false},"0.1.6":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.6","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^1.0.0","gray-matter":"^0.6.0","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.5","parse-filepath":"^0.5.0","pretty-hrtime":"^0.2.2","verb":"^0.3.7","vinyl":"^0.4.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.6","_shasum":"0d90870daf462a9be6281102b7aac667fe1884a8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0d90870daf462a9be6281102b7aac667fe1884a8","size":6952,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.6.tgz"},"directories":{},"publish_time":1416973932858,"_cnpm_publish_time":1416973932858,"_hasShrinkwrap":false},"0.1.5":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.5","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^1.0.0","gray-matter":"^0.6.0","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.5","parse-filepath":"^0.5.0","pretty-hrtime":"^0.2.2","verb":"^0.3.7","vinyl":"^0.4.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.5","_shasum":"52390b31971b12a380dded41f02c0a3a5b8fd9da","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"52390b31971b12a380dded41f02c0a3a5b8fd9da","size":7364,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.5.tgz"},"directories":{},"publish_time":1416973782056,"_cnpm_publish_time":1416973782056,"_hasShrinkwrap":false},"0.1.4":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.4","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"async":"^0.9.0","chalk":"^0.5.1","debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.4","extend-shallow":"^0.1.1","extract-gfm":"^0.1.0","globby":"^0.1.1","gray-matter":"^0.5.3","js-comments":"^0.3.4","lodash":"^2.4.1","lookup-deps":"^0.2.4","parse-filepath":"^0.4.0","pretty-hrtime":"^0.2.2","vinyl":"^0.4.4"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.3.4"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.4","_shasum":"5e0a7c47749ca87979a6cd5c82c5d88048d9691d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5e0a7c47749ca87979a6cd5c82c5d88048d9691d","size":6905,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.4.tgz"},"directories":{},"publish_time":1416244029038,"_cnpm_publish_time":1416244029038,"_hasShrinkwrap":false},"0.1.2":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.2","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.0","extract-gfm":"^0.1.0","gray-matter":"^0.5.3","lodash":"^2.4.1","parse-filepath":"^0.4.0","vinyl":"^0.4.4"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.3.4"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.2","_shasum":"6437b0f83419a88a2fafbf375d2fbbeaed038bb0","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6437b0f83419a88a2fafbf375d2fbbeaed038bb0","size":5931,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.2.tgz"},"directories":{},"publish_time":1415932836463,"_cnpm_publish_time":1415932836463,"_hasShrinkwrap":false},"0.1.1":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.1","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.0","gray-matter":"^0.5.3","lodash":"^2.4.1","parse-filepath":"^0.4.0","vinyl":"^0.4.4"},"devDependencies":{"extract-gfm":"^0.1.0","mocha":"*","should":"*","verb":"^0.3.4"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.1","_shasum":"4f9e0f50b40e6402eb7a066932b1b476e6dd0ecb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4f9e0f50b40e6402eb7a066932b1b476e6dd0ecb","size":6007,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.1.tgz"},"directories":{},"publish_time":1415932583233,"_cnpm_publish_time":1415932583233,"_hasShrinkwrap":false},"0.1.0":{"name":"template-utils","description":"Utils for [Template](https://github.com/jonschlinkert/template).","version":"0.1.0","homepage":"https://github.com/jonschlinkert/template-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/template-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"debug":"^2.1.0","escape-delims":"^0.4.0","export-files":"^0.1.0","gray-matter":"^0.5.3","lodash":"^2.4.1","parse-filepath":"^0.4.0","vinyl":"^0.4.4"},"devDependencies":{"extract-gfm":"^0.1.0","mocha":"*","should":"*"},"keywords":["util","utils","utilities","utility","engine","templates","template"],"_id":"template-utils@0.1.0","_shasum":"178b8f3ab3f6698c0e5024226e80bca5c2630539","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"178b8f3ab3f6698c0e5024226e80bca5c2630539","size":5662,"noattachment":false,"key":"/template-utils/-/template-utils-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/template-utils/download/template-utils-0.1.0.tgz"},"directories":{},"publish_time":1415930165082,"_cnpm_publish_time":1415930165082,"_hasShrinkwrap":false}},"readme":"# template-utils [![NPM version](https://badge.fury.io/js/template-utils.svg)](http://badge.fury.io/js/template-utils)  [![Build Status](https://travis-ci.org/jonschlinkert/template-utils.svg)](https://travis-ci.org/jonschlinkert/template-utils)\n\n> Utils for [Template](https://github.com/jonschlinkert/template), and Template-based applications.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```bash\nnpm i template-utils --save\n```\n\n## Table of contents\n\n<!-- toc -->\n\n* [Usage](#usage)\n* [API](#api)\n* [Related projects](#related-projects)\n* [Running tests](#running-tests)\n* [Contributing](#contributing)\n* [Author](#author)\n* [License](#license)\n\n_(Table of contents generated by [verb])_\n\n<!-- tocstop -->\n\n## Usage\n\n```js\nvar utils = require('template-utils');\n```\n\n## API\n\n### [.loaders.file](lib/loaders/file.js#L15)\n\nVinyl file loader. Used in plugins to load vinyl\nfiles onto `app.views`.\n\n**Params**\n\n* `file` **{Object}**: Vinyl file object\n* `returns` **{Object}**: Template object\n\n### [.toTemplate](lib/utils/index.js#L31)\n\nConvert a Vinyl file object to a non-vinyl template object.\n\n**Params**\n\n* `file` **{Object}**: Vinyl file object\n* `returns` **{Object}**: Object with properties expected by Template or Template apps\n\n**Example**\n\n```js\nvar template = utils.toTemplate(file);\n```\n\n### [.toVinyl](lib/utils/index.js#L46)\n\nConvert a `template` object to a Vinyl file object.\n\n**Params**\n\n* `file` **{Object}**: Object with properties expected by Template\n* `returns` **{Object}**: Vinyl file object\n\n**Example**\n\n```js\nvar file = utils.toVinyl(template);\n```\n\n### [.isVinyl](lib/utils/index.js#L62)\n\nReturns true if a file is a vinyl file object.\n\n**Params**\n\n* `file` **{Object}**: Object to test.\n* `Vinyl` **{Object}**: Optionally pass an instance of [vinyl]\n* `returns` **{Boolean}**: Returns true if it's a vinyl file.\n\n**Example**\n\n```js\nvar file = utils.isVinyl(file);\n```\n\n### [.pushToStream](lib/utils/index.js#L101)\n\nPush a collection of templates into the stream as vinyl files.\n\n**Params**\n\n* `collection` **{Object}**: Template collection\n* `stream` **{Stream}**: Stream to push the files into\n\n**Example**\n\n```js\nmodule.exports = function myPlugin(app) {\n  var id = app.getTask();\n  // create a template type for vinyl files and assign the `task` loader\n  if (!app.hasOwnProperty(id)) {\n    app.create(id, ['task']);\n  }\n  return through.obj(function (file, enc, cb) {\n    // Convert vinyl file to template and add to collection\n    app[id](file);\n    cb();\n  }, function (cb) {\n    // Get the cached template and push into stream\n    app.pushToStream(id, this);\n    cb();\n  });\n};\n```\n\n### [.bindAll](lib/utils/index.js#L125)\n\nBind a `thisArg` to all the functions on the target\narray of object.\n\n**Params**\n\n* `target` **{Object|Array}**: Object or Array with functions as values that will be bound.\n* `thisArg` **{Object}**: Object to bind to the functions\n* `returns` **{Object|Array}**: Object or Array with bound functions.\n\n### [.basename](lib/utils/index.js#L170)\n\nGet the basename of a file path, excluding extension.\n\n**Params**\n\n* `fp` **{String}**\n* `ext` **{String}**: Optionally pass the extension.\n\n**Example**\n\n```js\nutils.basename('a/b/c.hbs');\n//=> 'c'\n```\n\n### [.renameKey](lib/utils/index.js#L198)\n\nRename a filepath to use as the key for caching templates.\n\n**Params**\n\n* `fp` **{String}**\n* `opts` **{String}**: Optionally pass `options.cwd`.\n\n**Example**\n\n```js\nutils.renameKey('a/b/c/d/e/f.md', {last: 2});\n//=> 'e/f.md'\n\nutils.renameKey('a/b/c/d/e/f.md', {last: 3});\n//=> 'c/d/e/f.md'\n\nutils.renameKey('a/b/c/d/e/f.md', {last: 1, ext: false});\n//=> 'f'\n```\n\n### [.getExt](lib/utils/index.js#L232)\n\nGet the extension from a string or from the first string in an array of file paths.\n\n**Params**\n\n* `val` **{String|Array}**: Filepath or array of filepaths\n\n**Example**\n\n```js\nutils.getExt('a/b/c.hbs');\n//=> '.hbs'\n\nutils.getExt(['a/b/c.hbs', 'x/y/z.hbs']);\n//=> '.hbs'\n```\n\n### [.formatExt](lib/utils/index.js#L258)\n\nEnsure file extensions are formatted properly for lookups.\n\n**Params**\n\n* `ext` **{String}**: File extension\n* `returns` **{String}**\n\n**Example**\n\n```js\nutils.formatExt('hbs');\n//=> '.hbs'\n\nutils.formatExt('.hbs');\n//=> '.hbs'\n```\n\n### [.stripDot](lib/utils/index.js#L281)\n\nStrip the dot from a file extension\n\n**Params**\n\n* `ext` **{String}**: extension\n* `returns` **{String}**\n\n**Example**\n\n```js\nutils.stripDot('.hbs');\n//=> 'hbs'\n```\n\n### [.exts](lib/utils/index.js#L303)\n\nSanitize an array of extensions before converting them to regex.\n\nThis is used by the `extensionRe()` util for creating\na regex to match the given file extensions.\n\n**Params**\n\n* `extensions` **{Array}**: Array of file extensions\n* `returns` **{Array}**\n\n### [.extensionRe](lib/utils/index.js#L325)\n\nCreates a regex to match only the file extensions of registered engines.\n\nThis is used by the default middleware to prevent unregistered\nextensions from being processed.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{RegExp}**\n\n### [.arrayify](lib/utils/index.js#L348)\n\nCast `value` to an array.\n\n**Params**\n\n* `value` **{Array|String}**\n* `returns` **{Array}**\n\n**Example**\n\n```js\nutils.arrayify('abc');\n//=> ['abc']\n\nutils.arrayify(['abc']);\n//=> ['abc']\n```\n\n### [.headings](lib/utils/index.js#L373)\n\nAdjust markdown heading levels.\n\nAdds one heading level next to all markdown headings to make\nthem correct within the scope of the inheriting document.\n_Headings in fenced code blocks are skipped_.\n\n**Params**\n\n* `str` **{String}**: Markdown string with headings to format.\n* `returns` **{String}**\n\n**Example**\n\n```js\nutils.heading(str);\n```\n\n## Related projects\n\n* [middleware-utils](https://github.com/jonschlinkert/middleware-utils): Utils for Template middleware.\n* [template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)\n\n## Running tests\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/template-utils/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright (c) 2014-2015 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the [MIT](https://github.com/jonschlinkert/template-utils/blob/master/LICENSE) license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 10, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/template-utils","bugs":{"url":"https://github.com/jonschlinkert/template-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/template-utils/blob/master/LICENSE"}}