{"_id":"middleware-utils","_rev":"12-e538ff2f28db9e429eefd4810f804ee8","name":"middleware-utils","description":"Utils for Template middleware.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"middleware-utils","description":"Utils for middleware.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/middleware-utils/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","chalk":"^1.0.0"},"devDependencies":{"engine-lodash":"^0.6.3","mocha":"*","should":"*","template":"^0.13.1"},"keywords":["assemble","async","generate","middleware","route","routes","template","update","verb"],"_id":"middleware-utils@0.1.0","_shasum":"0d51d504abd323354cf352ea899713ee8ca5651a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0d51d504abd323354cf352ea899713ee8ca5651a","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.1.0.tgz","integrity":"sha512-Kze2v+tMkUG272HGHK61gtOAgQZfGh/eZBe7LriXHCbv/yE/BpqSdb6jVgYeJOwNzg1pE2O7Vv14G0bK/loeBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMquEd0ZC8iGjK+rRopQ9sO6XczhIQTvuxfxVCw1gLqgIgYbEQl30Hlv/kOE0x2eT7aPZR78GZOmjwQ6s9ZMdTeFc="}]}},"0.1.1":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/middleware-utils/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","chalk":"^1.0.0"},"devDependencies":{"engine-lodash":"^0.6.3","mocha":"*","should":"*","template":"^0.13.1"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"gitHead":"7fda3af54528bcaec8ba93a8012c15ba2b2d056a","_id":"middleware-utils@0.1.1","_shasum":"2b738e997a573c73083ca11eaa6e3f190fa10ff2","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2b738e997a573c73083ca11eaa6e3f190fa10ff2","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.1.1.tgz","integrity":"sha512-CuLNPY6fxT3vBKM6ljDlECKIoksE0308XZ/0j5NR01AIqtLEJ7ZENuxmkD4hVg46MRbGjsDODCb4M+V0OPMeIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClDrZGrD6weDAzC+e224R9c/Cc7b0ISaOkyuSfkHW8aAIhAOVWHuj7b5rYVQFLcgjCR2cqYwQL/ZJKS58orMH32IhF"}]}},"0.1.2":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/middleware-utils/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","chalk":"^1.0.0"},"devDependencies":{"engine-lodash":"^0.6.3","mocha":"*","should":"*","template":"^0.13.1"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"gitHead":"fbda6d9a6d12786a5ffe542a2e82b2baabb0cd9f","_id":"middleware-utils@0.1.2","_shasum":"e3f3d56f4dbe75327895813886f52c41994b531b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e3f3d56f4dbe75327895813886f52c41994b531b","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.1.2.tgz","integrity":"sha512-mAWtVrawx7pqYNe67zeTjW5EAHWtVXma+2MjNN56p8GW2qP9C2mO54vs5m9Tq2ecofT3vHRdbt+q14C7qlcXNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYwDfRNRj4hK7vu3BYjIJb9k70OnBAEIF+adOfubJ1ewIhAJq3lg/2tQFPwKeLBWtF0l7h/Iahz0SNP1wY3ACaXYEC"}]}},"0.1.3":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/middleware-utils/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async":"^0.9.0","chalk":"^1.0.0"},"devDependencies":{"engine-lodash":"^0.6.3","mocha":"*","should":"*","template":"^0.13.1"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"gitHead":"fbda6d9a6d12786a5ffe542a2e82b2baabb0cd9f","_id":"middleware-utils@0.1.3","_shasum":"58f097404bac85c1123a450a7df2ebd696c2d59f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"58f097404bac85c1123a450a7df2ebd696c2d59f","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.1.3.tgz","integrity":"sha512-U3h/Ky43QYS+a0fTsTAHeU9z/mZbQZEyjaqVx4ucTEJAGZdn6HYA1h6IhO9ieswPux9xzXwLc4tYlM0p9aYjcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtEXWMZr/8spp4ilyx80En1n4DvzKJLQukZCiMf/VNAAiAsIuViavYxvTqtqQSg1UUuwbNdvPe+M4LYxFWEnecBzQ=="}]}},"0.1.4":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.1.4","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/middleware-utils/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-red":"^0.1.1","ansi-yellow":"^0.1.1","async":"^0.9.0"},"devDependencies":{"engine-lodash":"^0.6.3","mocha":"*","should":"*","template":"^0.13.1"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"gitHead":"679d8d34864948e51fbcddd6bd19e0b034684724","_id":"middleware-utils@0.1.4","_shasum":"f57a2331369411f93b8a4232fb9e33d3b6336519","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f57a2331369411f93b8a4232fb9e33d3b6336519","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.1.4.tgz","integrity":"sha512-lrthYjlepLZGm7RiWEy5UbhBI3U9oIy09zS6O7u7Slsyds64lcZSraszmR6ZyGXa1Kos6mruEyDMAmJxMdjIfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0w+UqnQCUTA7ELmuEeoHv++zOppbdiWU0UL6IKVZekAiAjmNeM6PW436waJDlODXZ4eh0u4xQFh5YCDwS4BidHog=="}]}},"0.2.0":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async-each":"^1.0.0","async-each-series":"^1.1.0"},"devDependencies":{"assemble-core":"^0.22.0","engine-base":"^0.1.2","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"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb-readme-generator","verb"]},"gitHead":"f3fccb2f11b89f513fd0eac0c140be5b4c16b24e","_id":"middleware-utils@0.2.0","_shasum":"52544efea930c955cd7d4c81197dd9bdb007379c","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"52544efea930c955cd7d4c81197dd9bdb007379c","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.2.0.tgz","integrity":"sha512-yvgfJdKtUKmC3MxQ0KX45cVar6HUDmEJjFvFz4fxEhHTJOOuPHzlZHogdI3PmKWPjig3ChXYNXy77J3SEHXL9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyuw6vDH42rgZWehmZE9U9cY+QPQ2Ru7wU2DR2e5Ng1AiEA362WO2JOxU5WrdHtjDQVsv+l1UNIL/zx3YgSBtVFyDs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/middleware-utils-0.2.0.tgz_1466501468007_0.6183324495796114"}},"0.3.0":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async-array-reduce":"^0.2.0","async-each":"^1.0.0"},"devDependencies":{"assemble-core":"^0.22.0","engine-base":"^0.1.2","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","vinyl":"^1.2.0"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-readme-generator"]},"gitHead":"1f6bf051eba8e6922e2cc1fc756b7342680f13f9","_id":"middleware-utils@0.3.0","_shasum":"7e82feeed6c0c02d247727b2e6c82d87f8c6765f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"7e82feeed6c0c02d247727b2e6c82d87f8c6765f","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.3.0.tgz","integrity":"sha512-+QErDLspiwDBVnvLw1jw9A+OjICyFqY0ISq4LHeDBWxG9xGOVrAvdaSjlHtGXdvR3/M74z78Pbdc57PjCjOdhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrx8nLhyCtFA5ewXykhyHRBQ8nCwJ0JsTC0Z5veQHtkQIgKXNqptgaFk8OcQaQfYmmbrGoLS0XOz+nntnWEt8dUlo="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/middleware-utils-0.3.0.tgz_1470129915483_0.7439216922502965"}},"0.3.1":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"async-array-reduce":"^0.2.0","async-each":"^1.0.0"},"devDependencies":{"engine-base":"^0.1.2","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","templates":"^0.25.0","vinyl":"^1.2.0"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-readme-generator"]},"gitHead":"1f6bf051eba8e6922e2cc1fc756b7342680f13f9","_id":"middleware-utils@0.3.1","_shasum":"463a0bacb199d47d20e314721683051f0e1f0316","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"463a0bacb199d47d20e314721683051f0e1f0316","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-0.3.1.tgz","integrity":"sha512-feMfEfqPsa1rwtnqAmDKHBESoVqIQYD0LhJTtQ8cCRaBOFW61R2CrLwqKF/g9aMm9YKzuG+d3PWeRNf9FO6YnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHp9eTh+cus73U5+9DEPRa2g0Eb5QlBSumTDGY2L1U/kAiEAwa+ICPZvhkrd7grSfn9oBGZyq7hpBW/L1o3H1tYxDq8="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/middleware-utils-0.3.1.tgz_1470137531470_0.13622623262926936"}},"1.0.0":{"name":"middleware-utils","description":"Utils for Template middleware.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/middleware-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/middleware-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"dependencies":{"async-array-reduce":"^0.2.1","async-each":"^1.0.1"},"devDependencies":{"engine-base":"^0.1.3","gulp":"^3.9.1","gulp-eslint":"^4.0.0","gulp-format-md":"^1.0.0","gulp-istanbul":"^1.1.2","gulp-mocha":"^3.0.1","mocha":"^3.4.2","templates":"^1.2.8","vinyl":"^2.1.0"},"keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":[]},"gitHead":"f8b74a806f210df416486ca7d296bfc432d0a932","_id":"middleware-utils@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-Vn0pc35bCIofTISvlE5d8ePOKqUcA+u0YKdF35ZPoIkqGY1dB7JTTS36/d0QcLb/BH/T++KAOUtZwu+frc1cFA==","shasum":"04cf1684208ecf5f0a9c0eb6993e79a0ae319d8a","tarball":"https://registry.npmjs.org/middleware-utils/-/middleware-utils-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUs8B57jBvL6ncy3TwQf3bslIjg99Jy3kXHWYs3gK74AiEAixXi8Z/ud1HY7TpVijQgC3zusvAIAZopmxqoYNriO08="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/middleware-utils-1.0.0.tgz_1500205285745_0.2573079520370811"}}},"readme":"# middleware-utils [![NPM version](https://img.shields.io/npm/v/middleware-utils.svg?style=flat)](https://www.npmjs.com/package/middleware-utils) [![NPM monthly downloads](https://img.shields.io/npm/dm/middleware-utils.svg?style=flat)](https://npmjs.org/package/middleware-utils) [![NPM total downloads](https://img.shields.io/npm/dt/middleware-utils.svg?style=flat)](https://npmjs.org/package/middleware-utils) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/middleware-utils.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/middleware-utils)\n\n> Utils for Template middleware.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save middleware-utils\n```\n\n## Usage\n\n```js\nvar utils = require('middleware-utils');\n```\n\n## API\n\n### [.series](index.js#L36)\n\nRun one or more middleware in series.\n\n**Params**\n\n* `fns` **{Array|Function}**: Function or array of middleware functions\n\n**Example**\n\n```js\nvar utils = require('middleware-utils');\napp.preRender(/\\.hbs$/, utils.series([\n  fn('foo'),\n  fn('bar'),\n  fn('baz')\n]));\n\nfunction fn(name) {\n  return function(file, next) {\n    console.log(name);\n    next();\n  };\n}\n```\n\n### [.parallel](index.js#L72)\n\nRun one or more middleware in parallel.\n\n**Params**\n\n* `fns` **{Array|Function}**: Function or array of middleware functions\n\n**Example**\n\n```js\nvar utils = require('middleware-utils');\napp.preRender(/\\.hbs$/, utils.parallel([\n  fn('foo'),\n  fn('bar'),\n  fn('baz')\n]));\n\nfunction fn(name) {\n  return function(file, next) {\n    console.log(name);\n    next();\n  };\n}\n```\n\n### [.error](index.js#L100)\n\nFormat errors for the middleware `done` function. Takes the name of the middleware method being handled.\n\n**Params**\n\n* `method` **{String}**: The middleware method name\n\n**Example**\n\n```js\napp.postRender(/./, function(view, next) {\n  // do stuff to view\n  next();\n}, utils.error('postRender'));\n```\n\n### [.handleError](index.js#L132)\n\nFormat errors for the `app.handle()` method.\n\n**Params**\n\n* `view` **{Object}**: View object\n* `method` **{String}**: The middleware method name\n* `next` **{String}**: Callback function\n\n**Example**\n\n```js\napp.handle('onFoo', view, utils.handleError(view, 'onFoo'));\n```\n\n### [.delims](index.js#L151)\n\nReturns a function for escaping and unescaping erb-style template delimiters.\n\n**Params**\n\n* `options` **{Object}**\n\n**Example**\n\n```js\nvar delims = mu.delims();\napp.preRender(/\\.tmpl$/, delims.escape());\napp.postRender(/\\.tmpl$/, delims.unescape());\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\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).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 16, 2017._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-19T19:07:15.318Z","created":"2015-04-29T05:34:14.921Z","0.1.0":"2015-04-29T05:34:14.921Z","0.1.1":"2015-04-29T05:36:42.079Z","0.1.2":"2015-04-30T00:04:53.418Z","0.1.3":"2015-06-13T21:13:42.204Z","0.1.4":"2015-06-14T01:11:55.203Z","0.2.0":"2016-06-21T09:31:10.432Z","0.3.0":"2016-08-02T09:25:17.294Z","0.3.1":"2016-08-02T11:32:13.325Z","1.0.0":"2017-07-16T11:41:26.660Z"},"homepage":"https://github.com/jonschlinkert/middleware-utils","keywords":["assemble","assembleutils","async","generate","middleware","route","routes","template","templateutils","update","utils","verb","verbutils"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/middleware-utils.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/middleware-utils/issues"},"license":"MIT","readmeFilename":"README.md"}