{"id":13513079,"url":"https://github.com/helpers/handlebars-helpers","last_synced_at":"2026-02-21T10:01:10.897Z","repository":{"id":7299380,"uuid":"8615848","full_name":"helpers/handlebars-helpers","owner":"helpers","description":"188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.","archived":false,"fork":false,"pushed_at":"2024-07-04T14:19:49.000Z","size":2533,"stargazers_count":2344,"open_issues_count":87,"forks_count":367,"subscribers_count":60,"default_branch":"master","last_synced_at":"2026-02-19T22:41:42.804Z","etag":null,"topics":["compile","handlebars","handlebars-helpers","helper","helpers","javascript","jonschlinkert","nodejs","render","template"],"latest_commit_sha":null,"homepage":"http://assemble.io/helpers/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helpers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-03-06T23:30:55.000Z","updated_at":"2026-02-19T03:21:17.000Z","dependencies_parsed_at":"2025-01-20T23:10:32.568Z","dependency_job_id":"e96146b2-bb93-4e5d-91f4-3fc8563a7851","html_url":"https://github.com/helpers/handlebars-helpers","commit_stats":{"total_commits":770,"total_committers":60,"mean_commits":"12.833333333333334","dds":0.7025974025974027,"last_synced_commit":"5d3405f178a9ec4c90df3c7dc07b4faf9a09dfd7"},"previous_names":["assemble/handlebars-helpers","assemble/helper-lib"],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/helpers/handlebars-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpers%2Fhandlebars-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpers%2Fhandlebars-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpers%2Fhandlebars-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpers%2Fhandlebars-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helpers","download_url":"https://codeload.github.com/helpers/handlebars-helpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpers%2Fhandlebars-helpers/sbom","scorecard":{"id":213062,"data":{"date":"2025-08-11","repo":{"name":"github.com/helpers/handlebars-helpers","commit":"5d3405f178a9ec4c90df3c7dc07b4faf9a09dfd7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":3,"reason":"Found 6/20 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/helpers/.github/SECURITY.md:1","Info: Found linked content: github.com/helpers/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/helpers/.github/SECURITY.md:1","Info: Found text in security policy: github.com/helpers/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:06:47.396Z","repository_id":7299380,"created_at":"2025-08-17T01:06:47.396Z","updated_at":"2025-08-17T01:06:47.396Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29670124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"ssl_error","status_checked_at":"2026-02-20T23:52:33.807Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compile","handlebars","handlebars-helpers","helper","helpers","javascript","jonschlinkert","nodejs","render","template"],"created_at":"2024-08-01T04:00:37.514Z","updated_at":"2026-02-21T10:01:10.835Z","avatar_url":"https://github.com/helpers.png","language":"JavaScript","readme":"# handlebars-helpers [![NPM version](https://img.shields.io/npm/v/handlebars-helpers.svg?style=flat)](https://www.npmjs.com/package/handlebars-helpers) [![NPM monthly downloads](https://img.shields.io/npm/dm/handlebars-helpers.svg?style=flat)](https://npmjs.org/package/handlebars-helpers)  [![NPM total downloads](https://img.shields.io/npm/dt/handlebars-helpers.svg?style=flat)](https://npmjs.org/package/handlebars-helpers) [![Linux Build Status](https://img.shields.io/travis/helpers/handlebars-helpers.svg?style=flat\u0026label=Travis)](https://travis-ci.org/helpers/handlebars-helpers) [![Windows Build Status](https://img.shields.io/appveyor/ci/helpers/handlebars-helpers.svg?style=flat\u0026label=AppVeyor)](https://ci.appveyor.com/project/helpers/handlebars-helpers)\n\n\u003e More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.\n\nYou might also be interested in [template-helpers](https://github.com/jonschlinkert/template-helpers).\n\n- [Install](#install)\n- [Browser usage](#browser-usage)\n- [Usage](#usage)\n- [Helpers](#helpers)\n- [Utils](#utils)\n- [History](#history)\n- [About](#about)\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save handlebars-helpers\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add handlebars-helpers\n```\n\n## Browser usage\n\nSee how to [use handlebars-helpers in the browser](https://github.com/doowb/handlebars-helpers-browserify-example).\n\n## Usage\n\nThe main export returns a function that needs to be called to expose the object of helpers.\n\n**Get all helpers**\n\n```js\nvar helpers = require('handlebars-helpers')();\n//=\u003e returns object with all (130+) helpers\n```\n\n**Get a specific helper collection**\n\nHelper collections are exposed as getters, so only the helpers you want will be required and loaded.\n\n```js\nvar helpers = require('handlebars-helpers');\nvar math = helpers.math();\n//=\u003e only the `math` helpers\n\nvar helpers = require('handlebars-helpers');\nvar array = helpers.array();\n//=\u003e only the `collections` helpers\n```\n\n**Get multiple helpers collections**\n\nHelper collections are exposed as getters, so only the helpers you want will be required and loaded.\n\n```js\nvar helpers = require('handlebars-helpers')(['math', 'string']);\n//=\u003e only the `math` and `string` helpers\n```\n\n**Optionally pass your own handlebars**\n\n```js\nvar handlebars = require('handlebars');\nvar helpers = require('handlebars-helpers')({\n  handlebars: handlebars\n});\n\n// or for a specific collection\nvar math = helpers.math({\n  handlebars: handlebars\n});\n```\n\n## Helpers\n\n## Categories\n\nCurrently **189 helpers** in **20 categories**:\n\n* **[array](#array)** ([code](lib/array.js) | [unit tests](test/array.js))\n* **[code](#code)** ([code](lib/code.js) | [unit tests](test/code.js))\n* **[collection](#collection)** ([code](lib/collection.js) | [unit tests](test/collection.js))\n* **[comparison](#comparison)** ([code](lib/comparison.js) | [unit tests](test/comparison.js))\n* **[date](#date)** ([code](lib/date.js) | [unit tests](test/date.js))\n* **[fs](#fs)** ([code](lib/fs.js) | [unit tests](test/fs.js))\n* **[html](#html)** ([code](lib/html.js) | [unit tests](test/html.js))\n* **[i18n](#i18n)** ([code](lib/i18n.js) | [unit tests](test/i18n.js))\n* **[inflection](#inflection)** ([code](lib/inflection.js) | [unit tests](test/inflection.js))\n* **[logging](#logging)** ([code](lib/logging.js) | [unit tests](test/logging.js))\n* **[markdown](#markdown)** ([code](lib/markdown.js) | [unit tests](test/markdown.js))\n* **[match](#match)** ([code](lib/match.js) | [unit tests](test/match.js))\n* **[math](#math)** ([code](lib/math.js) | [unit tests](test/math.js))\n* **[misc](#misc)** ([code](lib/misc.js) | [unit tests](test/misc.js))\n* **[number](#number)** ([code](lib/number.js) | [unit tests](test/number.js))\n* **[object](#object)** ([code](lib/object.js) | [unit tests](test/object.js))\n* **[path](#path)** ([code](lib/path.js) | [unit tests](test/path.js))\n* **[regex](#regex)** ([code](lib/regex.js) | [unit tests](test/regex.js))\n* **[string](#string)** ([code](lib/string.js) | [unit tests](test/string.js))\n* **[url](#url)** ([code](lib/url.js) | [unit tests](test/url.js))\n\n## All helpers\n\n### [array helpers](#array)\n\nVisit the: [code](lib/array.js) | [unit tests](test/array.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+array+helpers))\n\n* **[after](#after)** ([code](lib/array.js#L22) | [tests](test/array.js#L13))\n* **[arrayify](#arrayify)** ([code](lib/array.js#L39) | [tests](test/array.js#L29))\n* **[before](#before)** ([code](lib/array.js#L58) | [tests](test/array.js#L36))\n* **[eachIndex](#eachIndex)** ([code](lib/array.js#L77) | [tests](test/array.js#L58))\n* **[filter](#filter)** ([code](lib/array.js#L102) | [tests](test/array.js#L91))\n* **[first](#first)** ([code](lib/array.js#L142) | [tests](test/array.js#L65))\n* **[forEach](#forEach)** ([code](lib/array.js#L184) | [tests](test/array.js#L123))\n* **[inArray](#inArray)** ([code](lib/array.js#L224) | [tests](test/array.js#L160))\n* **[isArray](#isArray)** ([code](lib/array.js#L244) | [tests](test/array.js#L172))\n* **[itemAt](#itemAt)** ([code](lib/array.js#L263) | [tests](test/array.js#L182))\n* **[join](#join)** ([code](lib/array.js#L294) | [tests](test/array.js#L225))\n* **[equalsLength](#equalsLength)** ([code](lib/array.js#L313) | [no tests])\n* **[last](#last)** ([code](lib/array.js#L349) | [tests](test/array.js#L240))\n* **[length](#length)** ([code](lib/array.js#L379) | [tests](test/array.js#L254))\n* **[lengthEqual](#lengthEqual)** ([code](lib/array.js#L395) | [tests](test/array.js#L254))\n* **[map](#map)** ([code](lib/array.js#L414) | [tests](test/array.js#L266))\n* **[pluck](#pluck)** ([code](lib/array.js#L445) | [tests](test/array.js#L300))\n* **[reverse](#reverse)** ([code](lib/array.js#L473) | [no tests])\n* **[some](#some)** ([code](lib/array.js#L504) | [tests](test/array.js#L308))\n* **[sort](#sort)** ([code](lib/array.js#L532) | [tests](test/array.js#L333))\n* **[sortBy](#sortBy)** ([code](lib/array.js#L557) | [tests](test/array.js#L358))\n* **[withAfter](#withAfter)** ([code](lib/array.js#L588) | [tests](test/array.js#L390))\n* **[withBefore](#withBefore)** ([code](lib/array.js#L618) | [tests](test/array.js#L397))\n* **[withFirst](#withFirst)** ([code](lib/array.js#L648) | [tests](test/array.js#L404))\n* **[withGroup](#withGroup)** ([code](lib/array.js#L692) | [tests](test/array.js#L418))\n* **[withLast](#withLast)** ([code](lib/array.js#L727) | [tests](test/array.js#L428))\n* **[withSort](#withSort)** ([code](lib/array.js#L766) | [tests](test/array.js#L442))\n* **[unique](#unique)** ([code](lib/array.js#L816) | [tests](test/array.js#L483))\n\n### [code helpers](#code)\n\nVisit the: [code](lib/code.js) | [unit tests](test/code.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+code+helpers))\n\n* **[embed](#embed)** ([code](lib/code.js#L23) | [tests](test/code.js#L10))\n* **[gist](#gist)** ([code](lib/code.js#L45) | [tests](test/code.js#L62))\n* **[jsfiddle](#jsfiddle)** ([code](lib/code.js#L60) | [tests](test/code.js#L69))\n\n### [collection helpers](#collection)\n\nVisit the: [code](lib/collection.js) | [unit tests](test/collection.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+collection+helpers))\n\n* **[isEmpty](#isEmpty)** ([code](lib/collection.js#L31) | [tests](test/collection.js#L14))\n* **[iterate](#iterate)** ([code](lib/collection.js#L59) | [tests](test/collection.js#L68))\n\n### [comparison helpers](#comparison)\n\nVisit the: [code](lib/comparison.js) | [unit tests](test/comparison.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+comparison+helpers))\n\n* **[and](#and)** ([code](lib/comparison.js#L27) | [tests](test/comparison.js#L10))\n* **[compare](#compare)** ([code](lib/comparison.js#L57) | [tests](test/comparison.js#L41))\n* **[contains](#contains)** ([code](lib/comparison.js#L124) | [tests](test/comparison.js#L167))\n* **[default](#default)** ([code](lib/comparison.js#L143) | [tests](test/comparison.js#L204))\n* **[eq](#eq)** ([code](lib/comparison.js#L165) | [tests](test/comparison.js#L351))\n* **[gt](#gt)** ([code](lib/comparison.js#L188) | [tests](test/comparison.js#L214))\n* **[gte](#gte)** ([code](lib/comparison.js#L212) | [tests](test/comparison.js#L245))\n* **[has](#has)** ([code](lib/comparison.js#L232) | [tests](test/comparison.js#L260))\n* **[isFalsey](#isFalsey)** ([code](lib/comparison.js#L274) | [tests](test/comparison.js#L327))\n* **[isTruthy](#isTruthy)** ([code](lib/comparison.js#L289) | [tests](test/comparison.js#L339))\n* **[ifEven](#ifEven)** ([code](lib/comparison.js#L310) | [tests](test/comparison.js#L368))\n* **[ifNth](#ifNth)** ([code](lib/comparison.js#L327) | [tests](test/comparison.js#L380))\n* **[ifOdd](#ifOdd)** ([code](lib/comparison.js#L350) | [tests](test/comparison.js#L403))\n* **[is](#is)** ([code](lib/comparison.js#L274) | [tests](test/comparison.js#L327))\n* **[isnt](#isnt)** ([code](lib/comparison.js#L389) | [tests](test/comparison.js#L432))\n* **[lt](#lt)** ([code](lib/comparison.js#L411) | [tests](test/comparison.js#L449))\n* **[lte](#lte)** ([code](lib/comparison.js#L435) | [tests](test/comparison.js#L476))\n* **[neither](#neither)** ([code](lib/comparison.js#L456) | [tests](test/comparison.js#L511))\n* **[not](#not)** ([code](lib/comparison.js#L470) | [no tests])\n* **[or](#or)** ([code](lib/comparison.js#L492) | [tests](test/comparison.js#L523))\n* **[unlessEq](#unlessEq)** ([code](lib/comparison.js#L518) | [tests](test/comparison.js#L556))\n* **[unlessGt](#unlessGt)** ([code](lib/comparison.js#L538) | [tests](test/comparison.js#L567))\n* **[unlessLt](#unlessLt)** ([code](lib/comparison.js#L558) | [tests](test/comparison.js#L578))\n* **[unlessGteq](#unlessGteq)** ([code](lib/comparison.js#L578) | [tests](test/comparison.js#L589))\n* **[unlessLteq](#unlessLteq)** ([code](lib/comparison.js#L598) | [tests](test/comparison.js#L604))\n\n### [date helpers](#date)\n\nVisit the: [code](lib/date.js) | [unit tests](test/date.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+date+helpers))\n\n* **[year](#year)** ([code](lib/date.js#L15) | [no tests])\n* **[date](#date)** ([code](lib/date.js#Lundefined) | [no tests])\n* **[moment](#moment)** ([code](lib/date.js#L24) | [no tests])\n\n### [fs helpers](#fs)\n\nVisit the: [code](lib/fs.js) | [unit tests](test/fs.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+fs+helpers))\n\n* **[fileSize](#fileSize)** ([code](lib/fs.js#L14) | [no tests])\n* **[read](#read)** ([code](lib/fs.js#L29) | [tests](test/fs.js#L16))\n* **[readdir](#readdir)** ([code](lib/fs.js#L42) | [tests](test/fs.js#L23))\n\n### [html helpers](#html)\n\nVisit the: [code](lib/html.js) | [unit tests](test/html.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+html+helpers))\n\n* **[attr](#attr)** ([code](lib/html.js#L23) | [tests](test/html.js#L13))\n* **[css](#css)** ([code](lib/html.js#L45) | [tests](test/html.js#L21))\n* **[js](#js)** ([code](lib/html.js#L89) | [tests](test/html.js#L69))\n* **[sanitize](#sanitize)** ([code](lib/html.js#L121) | [tests](test/html.js#L98))\n* **[ul](#ul)** ([code](lib/html.js#L135) | [tests](test/html.js#L108))\n* **[ol](#ol)** ([code](lib/html.js#L154) | [tests](test/html.js#L115))\n* **[thumbnailImage](#thumbnailImage)** ([code](lib/html.js#L176) | [tests](test/html.js#L122))\n\n### [i18n helpers](#i18n)\n\nVisit the: [code](lib/i18n.js) | [unit tests](test/i18n.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+i18n+helpers))\n\n* **[i18n](#i18n)** ([code](lib/i18n.js#L18) | [tests](test/i18n.js#L11))\n\n### [inflection helpers](#inflection)\n\nVisit the: [code](lib/inflection.js) | [unit tests](test/inflection.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+inflection+helpers))\n\n* **[inflect](#inflect)** ([code](lib/inflection.js#L30) | [tests](test/inflection.js#L9))\n* **[ordinalize](#ordinalize)** ([code](lib/inflection.js#L58) | [tests](test/inflection.js#L22))\n\n### [logging helpers](#logging)\n\nVisit the: [code](lib/logging.js) | [unit tests](test/logging.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+logging+helpers))\n\n* **[log](#log)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[ok](#ok)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[success](#success)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[info](#info)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[warning](#warning)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[warn](#warn)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[error](#error)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[danger](#danger)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[bold](#bold)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[_debug](#_debug)** ([code](lib/logging.js#Lundefined) | [no tests])\n* **[_inspect](#_inspect)** ([code](lib/logging.js#Lundefined) | [no tests])\n\n### [markdown helpers](#markdown)\n\nVisit the: [code](lib/markdown.js) | [unit tests](test/markdown.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+markdown+helpers))\n\n* **[markdown](#markdown)** ([code](lib/markdown.js#Lundefined) | [tests](test/markdown.js#L10))\n* **[md](#md)** ([code](lib/markdown.js#L55) | [tests](test/markdown.js#L18))\n\n### [match helpers](#match)\n\nVisit the: [code](lib/match.js) | [unit tests](test/match.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+match+helpers))\n\n* **[match](#match)** ([code](lib/match.js#L23) | [tests](test/match.js#L13))\n* **[isMatch](#isMatch)** ([code](lib/match.js#L47) | [tests](test/match.js#L61))\n* **[mm](#mm)** ([code](lib/match.js#L56) | [no tests])\n\n### [math helpers](#math)\n\nVisit the: [code](lib/math.js) | [unit tests](test/math.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+math+helpers))\n\n* **[abs](#abs)** ([code](lib/math.js#L15) | [no tests])\n* **[add](#add)** ([code](lib/math.js#L31) | [tests](test/math.js#L10))\n* **[avg](#avg)** ([code](lib/math.js#L54) | [no tests])\n* **[ceil](#ceil)** ([code](lib/math.js#L69) | [tests](test/math.js#L29))\n* **[divide](#divide)** ([code](lib/math.js#L84) | [tests](test/math.js#L36))\n* **[floor](#floor)** ([code](lib/math.js#L102) | [tests](test/math.js#L43))\n* **[minus](#minus)** ([code](lib/math.js#L118) | [no tests])\n* **[modulo](#modulo)** ([code](lib/math.js#L137) | [no tests])\n* **[multiply](#multiply)** ([code](lib/math.js#L157) | [tests](test/math.js#L50))\n* **[plus](#plus)** ([code](lib/math.js#L175) | [no tests])\n* **[random](#random)** ([code](lib/math.js#L194) | [tests](test/math.js#L102))\n* **[remainder](#remainder)** ([code](lib/math.js#L212) | [tests](test/math.js#L57))\n* **[round](#round)** ([code](lib/math.js#L224) | [tests](test/math.js#L69))\n* **[subtract](#subtract)** ([code](lib/math.js#L241) | [tests](test/math.js#L76))\n* **[sum](#sum)** ([code](lib/math.js#L263) | [tests](test/math.js#L83))\n* **[times](#times)** ([code](lib/math.js#L286) | [no tests])\n\n### [misc helpers](#misc)\n\nVisit the: [code](lib/misc.js) | [unit tests](test/misc.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+misc+helpers))\n\n* **[frame](#frame)** ([code](lib/misc.js#L11) | [no tests])\n* **[option](#option)** ([code](lib/misc.js#L26) | [tests](test/misc.js#L20))\n* **[noop](#noop)** ([code](lib/misc.js#L39) | [tests](test/misc.js#L13))\n* **[typeOf](#typeOf)** ([code](lib/misc.js#L59) | [no tests])\n* **[withHash](#withHash)** ([code](lib/misc.js#L71) | [tests](test/misc.js#L38))\n\n### [number helpers](#number)\n\nVisit the: [code](lib/number.js) | [unit tests](test/number.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+number+helpers))\n\n* **[bytes](#bytes)** ([code](lib/number.js#L24) | [tests](test/number.js#L10))\n* **[addCommas](#addCommas)** ([code](lib/number.js#L61) | [tests](test/number.js#L84))\n* **[phoneNumber](#phoneNumber)** ([code](lib/number.js#L74) | [tests](test/number.js#L30))\n* **[toAbbr](#toAbbr)** ([code](lib/number.js#L92) | [tests](test/number.js#L91))\n* **[toExponential](#toExponential)** ([code](lib/number.js#L130) | [tests](test/number.js#L59))\n* **[toFixed](#toFixed)** ([code](lib/number.js#L153) | [tests](test/number.js#L37))\n* **[toFloat](#toFloat)** ([code](lib/number.js#L169) | [tests](test/number.js#L77))\n* **[toInt](#toInt)** ([code](lib/number.js#L179) | [tests](test/number.js#L70))\n* **[toPrecision](#toPrecision)** ([code](lib/number.js#L196) | [tests](test/number.js#L48))\n\n### [object helpers](#object)\n\nVisit the: [code](lib/object.js) | [unit tests](test/object.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+object+helpers))\n\n* **[extend](#extend)** ([code](lib/object.js#L18) | [tests](test/object.js#L15))\n* **[forIn](#forIn)** ([code](lib/object.js#L55) | [tests](test/object.js#L33))\n* **[forOwn](#forOwn)** ([code](lib/object.js#L81) | [tests](test/object.js#L50))\n* **[toPath](#toPath)** ([code](lib/object.js#L106) | [tests](test/object.js#L87))\n* **[get](#get)** ([code](lib/object.js#L128) | [tests](test/object.js#L77))\n* **[getObject](#getObject)** ([code](lib/object.js#L149) | [tests](test/object.js#L77))\n* **[hasOwn](#hasOwn)** ([code](lib/object.js#L167) | [tests](test/object.js#L126))\n* **[isObject](#isObject)** ([code](lib/object.js#L183) | [tests](test/object.js#L144))\n* **[JSONparse](#JSONparse)** ([code](lib/object.js#L201) | [tests](test/object.js#L164))\n* **[JSONstringify](#JSONstringify)** ([code](lib/object.js#L218) | [no tests])\n* **[merge](#merge)** ([code](lib/object.js#L235) | [tests](test/object.js#L156))\n* **[parseJSON](#parseJSON)** ([code](lib/object.js#L254) | [no tests])\n* **[pick](#pick)** ([code](lib/object.js#L267) | [tests](test/object.js#L171))\n* **[stringify](#stringify)** ([code](lib/object.js#L290) | [tests](test/object.js#L199))\n\n### [path helpers](#path)\n\nVisit the: [code](lib/path.js) | [unit tests](test/path.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+path+helpers))\n\n* **[absolute](#absolute)** ([code](lib/path.js#L20) | [tests](test/path.js#L13))\n* **[dirname](#dirname)** ([code](lib/path.js#L40) | [tests](test/path.js#L25))\n* **[relative](#relative)** ([code](lib/path.js#L59) | [tests](test/path.js#L32))\n* **[basename](#basename)** ([code](lib/path.js#L81) | [tests](test/path.js#L47))\n* **[stem](#stem)** ([code](lib/path.js#L100) | [tests](test/path.js#L58))\n* **[extname](#extname)** ([code](lib/path.js#L119) | [tests](test/path.js#L69))\n* **[resolve](#resolve)** ([code](lib/path.js#L138) | [no tests])\n* **[segments](#segments)** ([code](lib/path.js#L166) | [tests](test/path.js#L80))\n\n### [regex helpers](#regex)\n\nVisit the: [code](lib/regex.js) | [unit tests](test/regex.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+regex+helpers))\n\n* **[toRegex](#toRegex)** ([code](lib/regex.js#L19) | [no tests])\n* **[test](#test)** ([code](lib/regex.js#L42) | [no tests])\n\n### [string helpers](#string)\n\nVisit the: [code](lib/string.js) | [unit tests](test/string.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+string+helpers))\n\n* **[append](#append)** ([code](lib/string.js#L22) | [no tests])\n* **[camelcase](#camelcase)** ([code](lib/string.js#L41) | [tests](test/string.js#L10))\n* **[capitalize](#capitalize)** ([code](lib/string.js#L60) | [tests](test/string.js#L25))\n* **[capitalizeAll](#capitalizeAll)** ([code](lib/string.js#L77) | [tests](test/string.js#L36))\n* **[center](#center)** ([code](lib/string.js#L95) | [tests](test/string.js#L47))\n* **[chop](#chop)** ([code](lib/string.js#L125) | [tests](test/string.js#L58))\n* **[dashcase](#dashcase)** ([code](lib/string.js#L143) | [tests](test/string.js#L73))\n* **[dotcase](#dotcase)** ([code](lib/string.js#L162) | [tests](test/string.js#L88))\n* **[downcase](#downcase)** ([code](lib/string.js#L182) | [no tests])\n* **[ellipsis](#ellipsis)** ([code](lib/string.js#L202) | [tests](test/string.js#L103))\n* **[hyphenate](#hyphenate)** ([code](lib/string.js#L223) | [tests](test/string.js#L118))\n* **[isString](#isString)** ([code](lib/string.js#L240) | [tests](test/string.js#L129))\n* **[lowercase](#lowercase)** ([code](lib/string.js#L256) | [tests](test/string.js#L151))\n* **[occurrences](#occurrences)** ([code](lib/string.js#L278) | [tests](test/string.js#L162))\n* **[pascalcase](#pascalcase)** ([code](lib/string.js#L303) | [tests](test/string.js#L173))\n* **[pathcase](#pathcase)** ([code](lib/string.js#L323) | [tests](test/string.js#L188))\n* **[plusify](#plusify)** ([code](lib/string.js#L343) | [tests](test/string.js#L203))\n* **[prepend](#prepend)** ([code](lib/string.js#L363) | [no tests])\n* **[raw](#raw)** ([code](lib/string.js#L385) | [no tests])\n* **[remove](#remove)** ([code](lib/string.js#L413) | [no tests])\n* **[removeFirst](#removeFirst)** ([code](lib/string.js#L432) | [no tests])\n* **[replace](#replace)** ([code](lib/string.js#L452) | [tests](test/string.js#L222))\n* **[replaceFirst](#replaceFirst)** ([code](lib/string.js#L473) | [no tests])\n* **[reverse](#reverse)** ([code](lib/string.js#L492) | [tests](test/string.js#L241))\n* **[sentence](#sentence)** ([code](lib/string.js#L509) | [tests](test/string.js#L252))\n* **[snakecase](#snakecase)** ([code](lib/string.js#L528) | [tests](test/string.js#L263))\n* **[split](#split)** ([code](lib/string.js#L547) | [tests](test/string.js#L278))\n* **[startsWith](#startsWith)** ([code](lib/string.js#L572) | [tests](test/string.js#L293))\n* **[titleize](#titleize)** ([code](lib/string.js#L596) | [tests](test/string.js#L312))\n* **[trim](#trim)** ([code](lib/string.js#L623) | [tests](test/string.js#L323))\n* **[trimLeft](#trimLeft)** ([code](lib/string.js#L639) | [no tests])\n* **[trimRight](#trimRight)** ([code](lib/string.js#L657) | [no tests])\n* **[truncate](#truncate)** ([code](lib/string.js#L680) | [tests](test/string.js#L338))\n* **[truncateWords](#truncateWords)** ([code](lib/string.js#L712) | [no tests])\n* **[upcase](#upcase)** ([code](lib/string.js#L742) | [no tests])\n* **[uppercase](#uppercase)** ([code](lib/string.js#L763) | [tests](test/string.js#L362))\n\n### [url helpers](#url)\n\nVisit the: [code](lib/url.js) | [unit tests](test/url.js) | [issues](https://github.com/helpers/handlebars-helpers/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+url+helpers))\n\n* **[encodeURI](#encodeURI)** ([code](lib/url.js#L19) | [tests](test/url.js#L31))\n* **[escape](#escape)** ([code](lib/url.js#L34) | [no tests])\n* **[decodeURI](#decodeURI)** ([code](lib/url.js#L48) | [tests](test/url.js#L38))\n* **[url_encode](#url_encode)** ([code](lib/url.js#L59) | [no tests])\n* **[url_decode](#url_decode)** ([code](lib/url.js#L68) | [no tests])\n* **[urlResolve](#urlResolve)** ([code](lib/url.js#L82) | [tests](test/url.js#L11))\n* **[urlParse](#urlParse)** ([code](lib/url.js#L94) | [tests](test/url.js#L45))\n* **[stripQuerystring](#stripQuerystring)** ([code](lib/url.js#L106) | [tests](test/url.js#L24))\n* **[stripProtocol](#stripProtocol)** ([code](lib/url.js#L126) | [no tests])\n\n***\n\n## array\n\n### [{{after}}](lib/array.js#L22)\n\nReturns all of the items in an array after the specified index. Opposite of [before](#before).\n\n**Params**\n\n* `array` **{Array}**: Collection\n* `n` **{Number}**: Starting index (number of items to exclude)\n* `returns` **{Array}**: Array exluding `n` items.\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{after array 1}}\n\u003c!-- results in: '[\"c\"]' --\u003e\n```\n\n### [{{arrayify}}](lib/array.js#L39)\n\nCast the given `value` to an array.\n\n**Params**\n\n* `value` **{any}**\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n{{arrayify \"foo\"}}\n\u003c!-- results in: [ \"foo\" ] --\u003e\n```\n\n### [{{before}}](lib/array.js#L58)\n\nReturn all of the items in the collection before the specified count. Opposite of [after](#after).\n\n**Params**\n\n* `array` **{Array}**\n* `n` **{Number}**\n* `returns` **{Array}**: Array excluding items after the given number.\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{before array 2}}\n\u003c!-- results in: '[\"a\", \"b\"]' --\u003e\n```\n\n### [{{eachIndex}}](lib/array.js#L77)\n\n**Params**\n\n* `array` **{Array}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'] --\u003e\n{{#eachIndex array}}\n  {{item}} is {{index}}\n{{/eachIndex}}\n```\n\n### [{{filter}}](lib/array.js#L102)\n\nBlock helper that filters the given array and renders the block for values that evaluate to `true`, otherwise the inverse block is returned.\n\n**Params**\n\n* `array` **{Array}**\n* `value` **{any}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{#filter array \"foo\"}}AAA{{else}}BBB{{/filter}}\n\u003c!-- results in: 'BBB' --\u003e\n```\n\n### [{{first}}](lib/array.js#L142)\n\nReturns the first item, or first `n` items of an array.\n\n**Params**\n\n* `array` **{Array}**\n* `n` **{Number}**: Number of items to return, starting at `0`.\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n{{first \"['a', 'b', 'c', 'd', 'e']\" 2}}\n\u003c!-- results in: '[\"a\", \"b\"]' --\u003e\n```\n\n### [{{forEach}}](lib/array.js#L184)\n\nIterates over each item in an array and exposes the current item in the array as context to the inner block. In addition to the current array item, the helper exposes the following variables to the inner block:\n\n* `index`\n* `total`\n* `isFirst`\n* `isLast`\nAlso, `@index` is exposed as a private variable, and additional\nprivate variables may be defined as hash arguments.\n\n**Params**\n\n* `array` **{Array}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- accounts = [\n{'name': 'John', 'email': 'john@example.com'},\n{'name': 'Malcolm', 'email': 'malcolm@example.com'},\n{'name': 'David', 'email': 'david@example.com'}\n] --\u003e\n\n{{#forEach accounts}}\n  \u003ca href=\"mailto:{{ email }}\" title=\"Send an email to {{ name }}\"\u003e\n    {{ name }}\n  \u003c/a\u003e{{#unless isLast}}, {{/unless}}\n{{/forEach}}\n```\n\n### [{{inArray}}](lib/array.js#L224)\n\nBlock helper that renders the block if an array has the given `value`. Optionally specify an inverse block to render when the array does not have the given value.\n\n**Params**\n\n* `array` **{Array}**\n* `value` **{any}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{#inArray array \"d\"}}\n  foo\n{{else}}\n  bar\n{{/inArray}}\n\u003c!-- results in: 'bar' --\u003e\n```\n\n### [{{isArray}}](lib/array.js#L244)\n\nReturns true if `value` is an es5 array.\n\n**Params**\n\n* `value` **{any}**: The value to test.\n* `returns` **{Boolean}**\n\n**Example**\n\n```handlebars\n{{isArray \"abc\"}}\n\u003c!-- results in: false --\u003e\n\n\u003c!-- array: [1, 2, 3] --\u003e\n{{isArray array}}\n\u003c!-- results in: true --\u003e\n```\n\n### [{{itemAt}}](lib/array.js#L263)\n\nReturns the item from `array` at index `idx`.\n\n**Params**\n\n* `array` **{Array}**\n* `idx` **{Number}**\n* `returns` **{any}** `value`\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{itemAt array 1}}\n\u003c!-- results in: 'b' --\u003e\n```\n\n### [{{join}}](lib/array.js#L294)\n\nJoin all elements of array into a string, optionally using a given separator.\n\n**Params**\n\n* `array` **{Array}**\n* `separator` **{String}**: The separator to use. Defaults to `,`.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{join array}}\n\u003c!-- results in: 'a, b, c' --\u003e\n\n{{join array '-'}}\n\u003c!-- results in: 'a-b-c' --\u003e\n```\n\n### [{{equalsLength}}](lib/array.js#L313)\n\nReturns true if the the length of the given `value` is equal\nto the given `length`. Can be used as a block or inline helper.\n\n**Params**\n\n* `value` **{Array|String}**\n* `length` **{Number}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{last}}](lib/array.js#L349)\n\nReturns the last item, or last `n` items of an array or string. Opposite of [first](#first).\n\n**Params**\n\n* `value` **{Array|String}**: Array or string.\n* `n` **{Number}**: Number of items to return from the end of the array.\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n\u003c!-- var value = ['a', 'b', 'c', 'd', 'e'] --\u003e\n\n{{last value}}\n\u003c!-- results in: ['e'] --\u003e\n\n{{last value 2}}\n\u003c!-- results in: ['d', 'e'] --\u003e\n\n{{last value 3}}\n\u003c!-- results in: ['c', 'd', 'e'] --\u003e\n```\n\n### [{{length}}](lib/array.js#L379)\n\nReturns the length of the given string or array.\n\n**Params**\n\n* `value` **{Array|Object|String}**\n* `returns` **{Number}**: The length of the value.\n\n**Example**\n\n```handlebars\n{{length '[\"a\", \"b\", \"c\"]'}}\n\u003c!-- results in: 3 --\u003e\n\n\u003c!-- results in: myArray = ['a', 'b', 'c', 'd', 'e']; --\u003e\n{{length myArray}}\n\u003c!-- results in: 5 --\u003e\n\n\u003c!-- results in: myObject = {'a': 'a', 'b': 'b'}; --\u003e\n{{length myObject}}\n\u003c!-- results in: 2 --\u003e\n```\n\n### [{{lengthEqual}}](lib/array.js#L395)\n\nAlias for [equalsLength](#equalsLength)\n\n### [{{map}}](lib/array.js#L414)\n\nReturns a new array, created by calling `function` on each element of the given `array`. For example,\n\n**Params**\n\n* `array` **{Array}**\n* `fn` **{Function}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'], and \"double\" is a\nfictitious function that duplicates letters --\u003e\n{{map array double}}\n\u003c!-- results in: '[\"aa\", \"bb\", \"cc\"]' --\u003e\n```\n\n### [{{pluck}}](lib/array.js#L445)\n\nMap over the given object or array or objects and create an array of values from the given `prop`. Dot-notation may be used (as a string) to get nested properties.\n\n**Params**\n\n* `collection` **{Array|Object}**\n* `prop` **{Function}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n// {{pluck items \"data.title\"}}\n\u003c!-- results in: '[\"aa\", \"bb\", \"cc\"]' --\u003e\n```\n\n### [{{reverse}}](lib/array.js#L473)\n\nReverse the elements in an array, or the characters in a string.\n\n**Params**\n\n* `value` **{Array|String}**\n* `returns` **{Array|String}**: Returns the reversed string or array.\n\n**Example**\n\n```handlebars\n\u003c!-- value: 'abcd' --\u003e\n{{reverse value}}\n\u003c!-- results in: 'dcba' --\u003e\n\u003c!-- value: ['a', 'b', 'c', 'd'] --\u003e\n{{reverse value}}\n\u003c!-- results in: ['d', 'c', 'b', 'a'] --\u003e\n```\n\n### [{{some}}](lib/array.js#L504)\n\nBlock helper that returns the block if the callback returns true for some value in the given array.\n\n**Params**\n\n* `array` **{Array}**\n* `iter` **{Function}**: Iteratee\n* **{Options}**: Handlebars provided options object\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: [1, 'b', 3] --\u003e\n{{#some array isString}}\n  Render me if the array has a string.\n{{else}}\n  Render me if it doesn't.\n{{/some}}\n\u003c!-- results in: 'Render me if the array has a string.' --\u003e\n```\n\n### [{{sort}}](lib/array.js#L532)\n\nSort the given `array`. If an array of objects is passed, you may optionally pass a `key` to sort on as the second argument. You may alternatively pass a sorting function as the second argument.\n\n**Params**\n\n* `array` **{Array}**: the array to sort.\n* `key` **{String|Function}**: The object key to sort by, or sorting function.\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['b', 'a', 'c'] --\u003e\n{{sort array}}\n\u003c!-- results in: '[\"a\", \"b\", \"c\"]' --\u003e\n```\n\n### [{{sortBy}}](lib/array.js#L557)\n\nSort an `array`. If an array of objects is passed, you may optionally pass a `key` to sort on as the second argument. You may alternatively pass a sorting function as the second argument.\n\n**Params**\n\n* `array` **{Array}**: the array to sort.\n* `props` **{String|Function}**: One or more properties to sort by, or sorting functions to use.\n\n**Example**\n\n```handlebars\n\u003c!-- array: [{a: 'zzz'}, {a: 'aaa'}] --\u003e\n{{sortBy array \"a\"}}\n\u003c!-- results in: '[{\"a\":\"aaa\"}, {\"a\":\"zzz\"}]' --\u003e\n```\n\n### [{{withAfter}}](lib/array.js#L588)\n\nUse the items in the array _after_ the specified index as context inside a block. Opposite of [withBefore](#withBefore).\n\n**Params**\n\n* `array` **{Array}**\n* `idx` **{Number}**\n* `options` **{Object}**\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c', 'd', 'e'] --\u003e\n{{#withAfter array 3}}\n  {{this}}\n{{/withAfter}}\n\u003c!-- results in: \"de\" --\u003e\n```\n\n### [{{withBefore}}](lib/array.js#L618)\n\nUse the items in the array _before_ the specified index as context inside a block. Opposite of [withAfter](#withAfter).\n\n**Params**\n\n* `array` **{Array}**\n* `idx` **{Number}**\n* `options` **{Object}**\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c', 'd', 'e'] --\u003e\n{{#withBefore array 3}}\n  {{this}}\n{{/withBefore}}\n\u003c!-- results in: 'ab' --\u003e\n```\n\n### [{{withFirst}}](lib/array.js#L648)\n\nUse the first item in a collection inside a handlebars block expression. Opposite of [withLast](#withLast).\n\n**Params**\n\n* `array` **{Array}**\n* `idx` **{Number}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{#withFirst array}}\n  {{this}}\n{{/withFirst}}\n\u003c!-- results in: 'a' --\u003e\n```\n\n### [{{withGroup}}](lib/array.js#L692)\n\nBlock helper that groups array elements by given group `size`.\n\n**Params**\n\n* `array` **{Array}**: The array to iterate over\n* `size` **{Number}**: The desired length of each array \"group\"\n* `options` **{Object}**: Handlebars options\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a','b','c','d','e','f','g','h'] --\u003e\n{{#withGroup array 4}}\n  {{#each this}}\n    {{.}}\n  {{each}}\n  \u003cbr\u003e\n{{/withGroup}}\n\u003c!-- results in: --\u003e\n\u003c!-- 'a','b','c','d'\u003cbr\u003e --\u003e\n\u003c!-- 'e','f','g','h'\u003cbr\u003e --\u003e\n```\n\n### [{{withLast}}](lib/array.js#L727)\n\nUse the last item or `n` items in an array as context inside a block. Opposite of [withFirst](#withFirst).\n\n**Params**\n\n* `array` **{Array}**\n* `idx` **{Number}**: The starting index.\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'b', 'c'] --\u003e\n{{#withLast array}}\n  {{this}}\n{{/withLast}}\n\u003c!-- results in: 'c' --\u003e\n```\n\n### [{{withSort}}](lib/array.js#L766)\n\nBlock helper that sorts a collection and exposes the sorted collection as context inside the block.\n\n**Params**\n\n* `array` **{Array}**\n* `prop` **{String}**\n* `options` **{Object}**: Specify `reverse=\"true\"` to reverse the array.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['b', 'a', 'c'] --\u003e\n{{#withSort array}}{{this}}{{/withSort}}\n\u003c!-- results in: 'abc' --\u003e\n```\n\n### [{{unique}}](lib/array.js#L816)\n\nBlock helper that return an array with all duplicate values removed. Best used along with a [each](#each) helper.\n\n**Params**\n\n* `array` **{Array}**\n* `options` **{Object}**\n* `returns` **{Array}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: ['a', 'a', 'c', 'b', 'e', 'e'] --\u003e\n{{#each (unique array)}}{{.}}{{/each}}\n\u003c!-- results in: 'acbe' --\u003e\n```\n\n## code\n\n### [{{embed}}](lib/code.js#L23)\n\nEmbed code from an external file as preformatted text.\n\n**Params**\n\n* `filepath` **{String}**: filepath to the file to embed.\n* `language` **{String}**: Optionally specify the language to use for syntax highlighting.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{embed 'path/to/file.js'}}\n\u003c!-- optionally specify the language to use --\u003e\n{{embed 'path/to/file.hbs' 'html')}}\n```\n\n### [{{gist}}](lib/code.js#L45)\n\nEmbed a GitHub Gist using only the id of the Gist\n\n**Params**\n\n* `id` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{gist \"12345\"}}\n```\n\n### [{{jsfiddle}}](lib/code.js#L60)\n\nGenerate the HTML for a jsFiddle link with the given `params`\n\n**Params**\n\n* `params` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{jsfiddle id=\"0dfk10ks\" tabs=\"true\"}}\n```\n\n## collection\n\n### [{{isEmpty}}](lib/collection.js#L31)\n\nInline, subexpression, or block helper that returns true (or the block) if the given collection is empty, or false (or the inverse block, if supplied) if the colleciton is not empty.\n\n**Params**\n\n* `collection` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- array: [] --\u003e\n{{#isEmpty array}}AAA{{else}}BBB{{/isEmpty}}\n\u003c!-- results in: 'AAA' --\u003e\n\n\u003c!-- array: [] --\u003e\n{{isEmpty array}}\n\u003c!-- results in: true --\u003e\n```\n\n### [{{iterate}}](lib/collection.js#L59)\n\nBlock helper that iterates over an array or object. If\nan array is given, `.forEach` is called, or if an object\nis given, `.forOwn` is called, otherwise the inverse block\nis returned.\n\n**Params**\n\n* `collection` **{Object|Array}**: The collection to iterate over\n* `options` **{Object}**\n* `returns` **{String}**\n\n## comparison\n\n### [{{and}}](lib/comparison.js#L27)\n\nHelper that renders the block if **both** of the given values are truthy. If an inverse block is specified it will be rendered when falsy. Works as a block helper, inline helper or subexpression.\n\n**Params**\n\n* `a` **{any}**\n* `b` **{any}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- {great: true, magnificent: true} --\u003e\n{{#and great magnificent}}A{{else}}B{{/and}}\n\u003c!-- results in: 'A' --\u003e\n```\n\n### [{{compare}}](lib/comparison.js#L57)\n\nRender a block when a comparison of the first and third\narguments returns true. The second argument is\nthe [arithemetic operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators) to use. You may also\noptionally specify an inverse block to render when falsy.\n\n**Params**\n\n* `a` **{}**\n* `operator` **{}**: The operator to use. Operators must be enclosed in quotes: `\"\u003e\"`, `\"=\"`, `\"\u003c=\"`, and so on.\n* `b` **{}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or if specified the inverse block is rendered if falsey.\n\n### [{{contains}}](lib/comparison.js#L124)\n\nBlock helper that renders the block if `collection` has the given `value`, using strict equality (`===`) for comparison, otherwise the inverse block is rendered (if specified). If a `startIndex` is specified and is negative, it is used as the offset from the end of the collection.\n\n**Params**\n\n* `collection` **{Array|Object|String}**: The collection to iterate over.\n* `value` **{any}**: The value to check for.\n* `[startIndex=0]` **{Number}**: Optionally define the starting index.\n* `options` **{Object}**: Handlebars provided options object.\n\n**Example**\n\n```handlebars\n\u003c!-- array = ['a', 'b', 'c'] --\u003e\n{{#contains array \"d\"}}\n  This will not be rendered.\n{{else}}\n  This will be rendered.\n{{/contains}}\n```\n\n### [{{default}}](lib/comparison.js#L143)\n\nReturns the first value that is not undefined, otherwise the \"default\" value is returned.\n\n**Params**\n\n* `value` **{any}**\n* `defaultValue` **{any}**\n* `returns` **{String}**\n\n### [{{eq}}](lib/comparison.js#L165)\n\nBlock helper that renders a block if `a` is **equal to** `b`.\nIf an inverse block is specified it will be rendered when falsy.\nYou may optionally use the `compare=\"\"` hash argument for the\nsecond value.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{gt}}](lib/comparison.js#L188)\n\nBlock helper that renders a block if `a` is **greater than** `b`.\n\nIf an inverse block is specified it will be rendered when falsy.\nYou may optionally use the `compare=\"\"` hash argument for the\nsecond value.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{gte}}](lib/comparison.js#L212)\n\nBlock helper that renders a block if `a` is **greater than or equal to** `b`.\n\nIf an inverse block is specified it will be rendered when falsy.\nYou may optionally use the `compare=\"\"` hash argument for the\nsecond value.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{has}}](lib/comparison.js#L232)\n\nBlock helper that renders a block if `value` has `pattern`.\nIf an inverse block is specified it will be rendered when falsy.\n\n**Params**\n\n* `val` **{any}**: The value to check.\n* `pattern` **{any}**: The pattern to check for.\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**\n\n### [{{isFalsey}}](lib/comparison.js#L274)\n\nReturns true if the given `value` is falsey. Uses the [falsey](https://github.com/jonschlinkert/falsey)\nlibrary for comparisons. Please see that library for more information\nor to report bugs with this helper.\n\n**Params**\n\n* `val` **{any}**\n* `options` **{Options}**\n* `returns` **{Boolean}**\n\n### [{{isTruthy}}](lib/comparison.js#L289)\n\nReturns true if the given `value` is truthy. Uses the [falsey](https://github.com/jonschlinkert/falsey)\nlibrary for comparisons. Please see that library for more information\nor to report bugs with this helper.\n\n**Params**\n\n* `val` **{any}**\n* `options` **{Options}**\n* `returns` **{Boolean}**\n\n### [{{ifEven}}](lib/comparison.js#L310)\n\nReturn true if the given value is an even number.\n\n**Params**\n\n* `number` **{Number}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n**Example**\n\n```handlebars\n{{#ifEven value}}\n  render A\n{{else}}\n  render B\n{{/ifEven}}\n```\n\n### [{{ifNth}}](lib/comparison.js#L327)\n\nConditionally renders a block if the remainder is zero when\n`a` operand is divided by `b`. If an inverse block is specified\nit will be rendered when the remainder is **not zero**.\n\n**Params**\n\n* **{}**: {Number}\n* **{}**: {Number}\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{ifOdd}}](lib/comparison.js#L350)\n\nBlock helper that renders a block if `value` is **an odd number**. If an inverse block is specified it will be rendered when falsy.\n\n**Params**\n\n* `value` **{Object}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n**Example**\n\n```handlebars\n{{#ifOdd value}}\n  render A\n{{else}}\n  render B\n{{/ifOdd}}\n```\n\n### [{{is}}](lib/comparison.js#L367)\n\nBlock helper that renders a block if `a` is **equal to** `b`.\nIf an inverse block is specified it will be rendered when falsy.\nSimilar to [eq](#eq) but does not do strict equality.\n\n**Params**\n\n* `a` **{any}**\n* `b` **{any}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**\n\n### [{{isnt}}](lib/comparison.js#L389)\n\nBlock helper that renders a block if `a` is **not equal to** `b`.\nIf an inverse block is specified it will be rendered when falsy.\nSimilar to [unlessEq](#unlesseq) but does not use strict equality for\ncomparisons.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**\n\n### [{{lt}}](lib/comparison.js#L411)\n\nBlock helper that renders a block if `a` is **less than** `b`.\n\nIf an inverse block is specified it will be rendered when falsy.\nYou may optionally use the `compare=\"\"` hash argument for the\nsecond value.\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{lte}}](lib/comparison.js#L435)\n\nBlock helper that renders a block if `a` is **less than or equal to** `b`.\n\nIf an inverse block is specified it will be rendered when falsy.\nYou may optionally use the `compare=\"\"` hash argument for the\nsecond value.\n\n**Params**\n\n* `a` **{Sring}**\n* `b` **{Sring}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{neither}}](lib/comparison.js#L456)\n\nBlock helper that renders a block if **neither of** the given values\nare truthy. If an inverse block is specified it will be rendered\nwhen falsy.\n\n**Params**\n\n* `a` **{any}**\n* `b` **{any}**\n* `options` **{}**: Handlebars options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{not}}](lib/comparison.js#L470)\n\nReturns true if `val` is falsey. Works as a block or inline helper.\n\n**Params**\n\n* `val` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**\n\n### [{{or}}](lib/comparison.js#L492)\n\nBlock helper that renders a block if **any of** the given values is truthy. If an inverse block is specified it will be rendered when falsy.\n\n**Params**\n\n* `arguments` **{...any}**: Variable number of arguments\n* `options` **{Object}**: Handlebars options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n**Example**\n\n```handlebars\n{{#or a b c}}\n  If any value is true this will be rendered.\n{{/or}}\n```\n\n### [{{unlessEq}}](lib/comparison.js#L518)\n\nBlock helper that always renders the inverse block **unless `a` is\nis equal to `b`**.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Inverse block by default, or block if falsey.\n\n### [{{unlessGt}}](lib/comparison.js#L538)\n\nBlock helper that always renders the inverse block **unless `a` is\nis greater than `b`**.\n\n**Params**\n\n* `a` **{Object}**: The default value\n* `b` **{Object}**: The value to compare\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Inverse block by default, or block if falsey.\n\n### [{{unlessLt}}](lib/comparison.js#L558)\n\nBlock helper that always renders the inverse block **unless `a` is\nis less than `b`**.\n\n**Params**\n\n* `a` **{Object}**: The default value\n* `b` **{Object}**: The value to compare\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{unlessGteq}}](lib/comparison.js#L578)\n\nBlock helper that always renders the inverse block **unless `a` is\nis greater than or equal to `b`**.\n\n**Params**\n\n* `a` **{any}**\n* `b` **{any}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n### [{{unlessLteq}}](lib/comparison.js#L598)\n\nBlock helper that always renders the inverse block **unless `a` is\nis less than or equal to `b`**.\n\n**Params**\n\n* `a` **{any}**\n* `b` **{any}**\n* `options` **{Object}**: Handlebars provided options object\n* `returns` **{String}**: Block, or inverse block if specified and falsey.\n\n## date\n\n### [{{year}}](lib/date.js#L15)\n\nGet the current year.\n\n**Example**\n\n```handlebars\n{{year}}\n\u003c!-- 2017 --\u003e\n```\n\n### [{{moment}}](lib/date.js#L24)\n\nUse [moment](http://momentjs.com) as a helper. See [helper-date](https://github.com/helpers/helper-date) for more details.\n\n## fs\n\n### [{{read}}](lib/fs.js#L29)\n\nRead a file from the file system. This is useful in composing \"include\"-style helpers using sub-expressions.\n\n**Params**\n\n* `filepath` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{read \"a/b/c.js\"}}\n{{someHelper (read \"a/b/c.md\")}}\n```\n\n### [{{readdir}}](lib/fs.js#L42)\n\nReturn an array of files from the given\ndirectory.\n\n**Params**\n\n* `directory` **{String}**\n* `returns` **{Array}**\n\n## html\n\n### [{{attr}}](lib/html.js#L23)\n\nStringify attributes on the options `hash`.\n\n**Params**\n\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- value = 'bar' --\u003e\n\u003cdiv{{attr foo=value}}\u003e\u003c/div\u003e\n\u003c!-- results in: \u003cdiv foo=\"bar\"\u003e\u003c/div\u003e\n```\n\n### [{{css}}](lib/html.js#L45)\n\nAdd an array of `\u003clink\u003e` tags. Automatically resolves relative paths to `options.assets` if passed on the context.\n\n**Params**\n\n* `list` **{String|Array}**: One or more stylesheet urls.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- {stylesheets: ['foo.css', 'bar.css']} --\u003e\n{{css stylesheets}}\n\n\u003c!-- results in: --\u003e\n\u003c!-- \u003clink type=\"text/css\" rel=\"stylesheet\" href=\"foo.css\"\u003e --\u003e\n\u003c!-- \u003clink type=\"text/css\" rel=\"stylesheet\" href=\"bar.css\"\u003e --\u003e\n```\n\n### [{{js}}](lib/html.js#L89)\n\nGenerate one or more `\u003cscript\u003e\u003c/script\u003e` tags with paths/urls to javascript or coffeescript files.\n\n**Params**\n\n* `context` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{js scripts}}\n```\n\n### [{{sanitize}}](lib/html.js#L121)\n\nStrip HTML tags from a string, so that only the text nodes are preserved.\n\n**Params**\n\n* `str` **{String}**: The string of HTML to sanitize.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{sanitize \"\u003cspan\u003efoo\u003c/span\u003e\"}}\n\u003c!-- results in: 'foo' --\u003e\n```\n\n### [{{ul}}](lib/html.js#L135)\n\nBlock helper for creating unordered lists (`\u003cul\u003e\u003c/ul\u003e`)\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{ol}}](lib/html.js#L154)\n\nBlock helper for creating ordered lists  (`\u003col\u003e\u003c/ol\u003e`)\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{thumbnailImage}}](lib/html.js#L176)\n\nReturns a `\u003cfigure\u003e` with a thumbnail linked to a full picture\n\n**Params**\n\n* `context` **{Object}**: Object with values/attributes to add to the generated elements:\n* `context.alt` **{String}**\n* `context.src` **{String}**\n* `context.width` **{Number}**\n* `context.height` **{Number}**\n* `returns` **{String}**: HTML `\u003cfigure\u003e` element with image and optional caption/link.\n\n## i18n\n\n### [{{i18n}}](lib/i18n.js#L18)\n\ni18n helper. See [button-i18n](https://github.com/assemble/buttons)\nfor a working example.\n\n**Params**\n\n* `key` **{String}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n## inflection\n\n### [{{inflect}}](lib/inflection.js#L30)\n\nReturns either the `singular` or `plural` inflection of a word based on the given `count`.\n\n**Params**\n\n* `count` **{Number}**\n* `singular` **{String}**: The singular form\n* `plural` **{String}**: The plural form\n* `includeCount` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{inflect 0 \"string\" \"strings\"}}\n\u003c!-- \"strings\" --\u003e\n{{inflect 1 \"string\" \"strings\"}}\n\u003c!-- \"string\" --\u003e\n{{inflect 1 \"string\" \"strings\" true}}\n\u003c!-- \"1 string\" --\u003e\n{{inflect 2 \"string\" \"strings\"}}\n\u003c!-- \"strings\" --\u003e\n{{inflect 2 \"string\" \"strings\" true}}\n\u003c!-- \"2 strings\" --\u003e\n```\n\n### [{{ordinalize}}](lib/inflection.js#L58)\n\nReturns an ordinalized number as a string.\n\n**Params**\n\n* `val` **{String}**: The value to ordinalize.\n* `returns` **{String}**: The ordinalized number\n\n**Example**\n\n```handlebars\n{{ordinalize 1}}\n\u003c!-- '1st' --\u003e\n{{ordinalize 21}}\n\u003c!-- '21st' --\u003e\n{{ordinalize 29}}\n\u003c!-- '29th' --\u003e\n{{ordinalize 22}}\n\u003c!-- '22nd' --\u003e\n```\n\n## logging\n\n[logging-helpers](https://github.com/helpers/logging-helpers).\n\n## markdown\n\n### [{{markdown}}](lib/markdown.js#L28)\n\nBlock helper that converts a string of inline markdown to HTML.\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{#markdown}}\n# Foo\n{{/markdown}}\n\u003c!-- results in: \u003ch1\u003eFoo\u003c/h1\u003e --\u003e\n```\n\n### [{{md}}](lib/markdown.js#L55)\n\nRead a markdown file from the file system and inject its contents after converting it to HTML.\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{md \"foo/bar.md\"}}\n```\n\n## match\n\n### [{{match}}](lib/match.js#L23)\n\nReturns an array of strings that match the given glob pattern(s). Options may be passed on the options hash or locals.\n\n**Params**\n\n* `files` **{Array|String}**\n* `patterns` **{Array|String}**: One or more glob patterns.\n* `locals` **{Object}**\n* `options` **{Object}**\n* `returns` **{Array}**: Array of matches\n\n**Example**\n\n```handlebars\n{{match (readdir \"foo\") \"*.js\"}}\n{{match (readdir \"foo\") (toRegex \"\\\\.js$\")}}\n```\n\n### [{{isMatch}}](lib/match.js#L47)\n\nReturns true if a filepath contains the given pattern. Options may be passed on the options hash or locals.\n\n**Params**\n\n* `filepath` **{String}**\n* `pattern` **{String}**\n* `options` **{Object}**\n* `returns` **{Boolean}**\n\n**Example**\n\n```handlebars\n{{isMatch \"foo.md\" \"*.md\"}}\n\u003c!-- results in: true --\u003e\n```\n\n## math\n\n### [{{abs}}](lib/math.js#L15)\n\nReturn the magnitude of `a`.\n\n**Params**\n\n* `a` **{Number}**\n* `returns` **{Number}**\n\n### [{{add}}](lib/math.js#L31)\n\nReturn the sum of `a` plus `b`.\n\n**Params**\n\n* `a` **{Number}**\n* `b` **{Number}**\n* `returns` **{Number}**\n\n### [{{avg}}](lib/math.js#L54)\n\nReturns the average of all numbers in the given array.\n\n**Params**\n\n* `array` **{Array}**: Array of numbers to add up.\n* `returns` **{Number}**\n\n**Example**\n\n```handlebars\n{{avg \"[1, 2, 3, 4, 5]\"}}\n\u003c!-- results in: '3' --\u003e\n```\n\n### [{{ceil}}](lib/math.js#L69)\n\nGet the `Math.ceil()` of the given value.\n\n**Params**\n\n* `value` **{Number}**\n* `returns` **{Number}**\n\n### [{{divide}}](lib/math.js#L84)\n\nDivide `a` by `b`\n\n**Params**\n\n* `a` **{Number}**: numerator\n* `b` **{Number}**: denominator\n\n### [{{floor}}](lib/math.js#L102)\n\nGet the `Math.floor()` of the given value.\n\n**Params**\n\n* `value` **{Number}**\n* `returns` **{Number}**\n\n### [{{minus}}](lib/math.js#L118)\n\nReturn the difference of `a` minus `b`.\n\n**Params**\n\n* `a` **{Number}**\n* `b` **{Number}**\n\n### [{{modulo}}](lib/math.js#L137)\n\nGet the remainder of a division operation.\n\n**Params**\n\n* `a` **{Number}**\n* `b` **{Number}**\n* `returns` **{Number}**\n\n### [{{multiply}}](lib/math.js#L157)\n\nReturn the product of `a` times `b`.\n\n**Params**\n\n* `a` **{Number}**: factor\n* `b` **{Number}**: multiplier\n* `returns` **{Number}**\n\n### [{{plus}}](lib/math.js#L175)\n\nAdd `a` by `b`.\n\n**Params**\n\n* `a` **{Number}**: factor\n* `b` **{Number}**: multiplier\n\n### [{{random}}](lib/math.js#L194)\n\nGenerate a random number between two values\n\n**Params**\n\n* `min` **{Number}**\n* `max` **{Number}**\n* `returns` **{String}**\n\n### [{{remainder}}](lib/math.js#L212)\n\nGet the remainder when `a` is divided by `b`.\n\n**Params**\n\n* `a` **{Number}**: a\n* `b` **{Number}**: b\n\n### [{{round}}](lib/math.js#L224)\n\nRound the given number.\n\n**Params**\n\n* `number` **{Number}**\n* `returns` **{Number}**\n\n### [{{subtract}}](lib/math.js#L241)\n\nReturn the product of `a` minus `b`.\n\n**Params**\n\n* `a` **{Number}**\n* `b` **{Number}**\n* `returns` **{Number}**\n\n### [{{sum}}](lib/math.js#L263)\n\nReturns the sum of all numbers in the given array.\n\n**Params**\n\n* `array` **{Array}**: Array of numbers to add up.\n* `returns` **{Number}**\n\n**Example**\n\n```handlebars\n{{sum \"[1, 2, 3, 4, 5]\"}}\n\u003c!-- results in: '15' --\u003e\n```\n\n### [{{times}}](lib/math.js#L286)\n\nMultiply number `a` by number `b`.\n\n**Params**\n\n* `a` **{Number}**: factor\n* `b` **{Number}**: multiplier\n* `returns` **{Number}**\n\n## misc\n\n### [{{option}}](lib/misc.js#L26)\n\nReturn the given value of `prop` from `this.options`.\n\n**Params**\n\n* `prop` **{String}**\n* `returns` **{any}**\n\n**Example**\n\n```handlebars\n\u003c!-- context = {options: {a: {b: {c: 'ddd'}}}} --\u003e\n{{option \"a.b.c\"}}\n\u003c!-- results =\u003e `ddd` --\u003e\n```\n\n### [{{noop}}](lib/misc.js#L39)\n\nBlock helper that renders the block without taking any arguments.\n\n**Params**\n\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{typeOf}}](lib/misc.js#L59)\n\nGet the native type of the given `value`\n\n**Params**\n\n* `value` **{any}**\n* `returns` **{String}**: Returns the type of value.\n\n**Example**\n\n```handlebars\n{{typeOf 1}}\n//=\u003e 'number'\n{{typeOf \"1\"}}\n//=\u003e 'string'\n{{typeOf \"foo\"}}\n//=\u003e 'string'\n```\n\n### [{{withHash}}](lib/misc.js#L71)\n\nBlock helper that builds the context for the block\nfrom the options hash.\n\n**Params**\n\n* `options` **{Object}**: Handlebars provided options object.\n\n## number\n\n### [{{bytes}}](lib/number.js#L24)\n\nFormat a number to it's equivalent in bytes. If a string is passed, it's length will be formatted and returned.\n\n**Examples:**\n\n* `'foo' =\u003e 3 B`\n* `13661855 =\u003e 13.66 MB`\n* `825399 =\u003e 825.39 kB`\n* `1396 =\u003e 1.4 kB`\n\n**Params**\n\n* `number` **{Number|String}**\n* `returns` **{String}**\n\n### [{{addCommas}}](lib/number.js#L61)\n\nAdd commas to numbers\n\n**Params**\n\n* `num` **{Number}**\n* `returns` **{Number}**\n\n### [{{phoneNumber}}](lib/number.js#L74)\n\nConvert a string or number to a formatted phone number.\n\n**Params**\n\n* `num` **{Number|String}**: The phone number to format, e.g. `8005551212`\n* `returns` **{Number}**: Formatted phone number: `(800) 555-1212`\n\n### [{{toAbbr}}](lib/number.js#L92)\n\nAbbreviate numbers to the given number of `precision`. This is for\ngeneral numbers, not size in bytes.\n\n**Params**\n\n* `number` **{Number}**\n* `precision` **{Number}**\n* `returns` **{String}**\n\n### [{{toExponential}}](lib/number.js#L130)\n\nReturns a string representing the given number in exponential notation.\n\n**Params**\n\n* `number` **{Number}**\n* `fractionDigits` **{Number}**: Optional. An integer specifying the number of digits to use after the decimal point. Defaults to as many digits as necessary to specify the number.\n* `returns` **{Number}**\n\n**Example**\n\n```handlebars\n{{toExponential number digits}};\n```\n\n### [{{toFixed}}](lib/number.js#L153)\n\nFormats the given number using fixed-point notation.\n\n**Params**\n\n* `number` **{Number}**\n* `digits` **{Number}**: (Optional) The number of digits to appear after the decimal point; this may be a value between 0 and 20. If this argument is omitted, it is treated as 0.\n* `returns` **{String}**: A string representing the given number using fixed-point notation.\n\n**Example**\n\n```handlebars\n{{toFixed \"1.1234\" 2}}\n//=\u003e '1.12'\n```\n\n### [{{toFloat}}](lib/number.js#L169)\n\n**Params**\n\n* `number` **{Number}**\n* `returns` **{Number}**\n\n### [{{toInt}}](lib/number.js#L179)\n\n**Params**\n\n* `number` **{Number}**\n* `returns` **{Number}**\n\n### [{{toPrecision}}](lib/number.js#L196)\n\nReturns a string representing the `Number` object to the specified precision.\n\n**Params**\n\n* `number` **{Number}**\n* `precision` **{Number}**: (Optional) An integer specifying the number of significant digits. If precison is not between 1 and 100 (inclusive), it will be coerced to `0`.\n* `returns` **{String}**: A string representing a Number object in fixed-point or exponential notation rounded to precision significant digits.\n\n**Example**\n\n```handlebars\n{{toPrecision \"1.1234\" 2}}\n//=\u003e '1.1'\n```\n\n## object\n\n### [{{extend}}](lib/object.js#L18)\n\nExtend the context with the properties of other objects.\nA shallow merge is performed to avoid mutating the context.\n\n**Params**\n\n* `objects` **{Object}**: One or more objects to extend.\n* `returns` **{Object}**\n\n### [{{forIn}}](lib/object.js#L55)\n\nBlock helper that iterates over the properties of\nan object, exposing each key and value on the context.\n\n**Params**\n\n* `context` **{Object}**\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{forOwn}}](lib/object.js#L81)\n\nBlock helper that iterates over the **own** properties of\nan object, exposing each key and value on the context.\n\n**Params**\n\n* `obj` **{Object}**: The object to iterate over.\n* `options` **{Object}**\n* `returns` **{String}**\n\n### [{{toPath}}](lib/object.js#L106)\n\nTake arguments and, if they are string or number, convert them to a dot-delineated object property path.\n\n**Params**\n\n* `prop` **{String|Number}**: The property segments to assemble (can be multiple).\n* `returns` **{String}**\n\n### [{{get}}](lib/object.js#L128)\n\nUse property paths (`a.b.c`) to get a value or nested value from\nthe context. Works as a regular helper or block helper.\n\n**Params**\n\n* `prop` **{String}**: The property to get, optionally using dot notation for nested properties.\n* `context` **{Object}**: The context object\n* `options` **{Object}**: The handlebars options object, if used as a block helper.\n* `returns` **{String}**\n\n### [{{getObject}}](lib/object.js#L149)\n\nUse property paths (`a.b.c`) to get an object from\nthe context. Differs from the `get` helper in that this\nhelper will return the actual object, including the\ngiven property key. Also, this helper does not work as a\nblock helper.\n\n**Params**\n\n* `prop` **{String}**: The property to get, optionally using dot notation for nested properties.\n* `context` **{Object}**: The context object\n* `returns` **{String}**\n\n### [{{hasOwn}}](lib/object.js#L167)\n\nReturn true if `key` is an own, enumerable property of the given `context` object.\n\n**Params**\n\n* `key` **{String}**\n* `context` **{Object}**: The context object.\n* `returns` **{Boolean}**\n\n**Example**\n\n```handlebars\n{{hasOwn context key}}\n```\n\n### [{{isObject}}](lib/object.js#L183)\n\nReturn true if `value` is an object.\n\n**Params**\n\n* `value` **{String}**\n* `returns` **{Boolean}**\n\n**Example**\n\n```handlebars\n{{isObject \"foo\"}}\n//=\u003e false\n```\n\n### [{{JSONparse}}](lib/object.js#L201)\n\nParses the given string using `JSON.parse`.\n\n**Params**\n\n* `string` **{String}**: The string to parse\n\n**Example**\n\n```handlebars\n\u003c!-- string: '{\"foo\": \"bar\"}' --\u003e\n{{JSONparse string}}\n\u003c!-- results in: { foo: 'bar' } --\u003e\n```\n\n### [{{JSONstringify}}](lib/object.js#L218)\n\nStringify an object using `JSON.stringify`.\n\n**Params**\n\n* `obj` **{Object}**: Object to stringify\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- object: { foo: 'bar' } --\u003e\n{{JSONstringify object}}\n\u003c!-- results in: '{\"foo\": \"bar\"}' --\u003e\n```\n\n### [{{merge}}](lib/object.js#L235)\n\nDeeply merge the properties of the given `objects` with the\ncontext object.\n\n**Params**\n\n* `object` **{Object}**: The target object. Pass an empty object to shallow clone.\n* `objects` **{Object}**\n* `returns` **{Object}**\n\n### [{{pick}}](lib/object.js#L267)\n\nPick properties from the context object.\n\n**Params**\n\n* `properties` **{Array|String}**: One or more properties to pick.\n* `context` **{Object}**\n* `options` **{Object}**: Handlebars options object.\n* `returns` **{Object}**: Returns an object with the picked values. If used as a block helper, the values are passed as context to the inner block. If no values are found, the context is passed to the inverse block.\n\n## path\n\n### [{{absolute}}](lib/path.js#L20)\n\nGet the directory path segment from the given `filepath`.\n\n**Params**\n\n* `ext` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{absolute \"docs/toc.md\"}}\n\u003c!-- results in: 'docs' --\u003e\n```\n\n### [{{dirname}}](lib/path.js#L40)\n\nGet the directory path segment from the given `filepath`.\n\n**Params**\n\n* `ext` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{dirname \"docs/toc.md\"}}\n\u003c!-- results in: 'docs' --\u003e\n```\n\n### [{{relative}}](lib/path.js#L59)\n\nGet the relative filepath from `a` to `b`.\n\n**Params**\n\n* `a` **{String}**\n* `b` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{relative a b}}\n```\n\n### [{{basename}}](lib/path.js#L81)\n\nGet the file extension from the given `filepath`.\n\n**Params**\n\n* `ext` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{basename \"docs/toc.md\"}}\n\u003c!-- results in: 'toc.md' --\u003e\n```\n\n### [{{stem}}](lib/path.js#L100)\n\nGet the \"stem\" from the given `filepath`.\n\n**Params**\n\n* `filepath` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{stem \"docs/toc.md\"}}\n\u003c!-- results in: 'toc' --\u003e\n```\n\n### [{{extname}}](lib/path.js#L119)\n\nGet the file extension from the given `filepath`.\n\n**Params**\n\n* `filepath` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{extname \"docs/toc.md\"}}\n\u003c!-- results in: '.md' --\u003e\n```\n\n### [{{resolve}}](lib/path.js#L138)\n\nResolve an absolute path from the given `filepath`.\n\n**Params**\n\n* `filepath` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{resolve \"docs/toc.md\"}}\n\u003c!-- results in: '/User/dev/docs/toc.md' --\u003e\n```\n\n### [{{segments}}](lib/path.js#L166)\n\nGet specific (joined) segments of a file path by passing a range of array indices.\n\n**Params**\n\n* `filepath` **{String}**: The file path to split into segments.\n* `returns` **{String}**: Returns a single, joined file path.\n\n**Example**\n\n```handlebars\n{{segments \"a/b/c/d\" \"2\" \"3\"}}\n\u003c!-- results in: 'c/d' --\u003e\n\n{{segments \"a/b/c/d\" \"1\" \"3\"}}\n\u003c!-- results in: 'b/c/d' --\u003e\n\n{{segments \"a/b/c/d\" \"1\" \"2\"}}\n\u003c!-- results in: 'b/c' --\u003e\n```\n\n## regex\n\n### [{{toRegex}}](lib/regex.js#L19)\n\nConvert the given string to a regular expression.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{RegExp}**\n\n**Example**\n\n```handlebars\n{{toRegex \"foo\"}}\n\u003c!-- results in: /foo/ --\u003e\n```\n\n### [{{test}}](lib/regex.js#L42)\n\nReturns true if the given `str` matches the given regex. A regex can be passed on the context, or using the [toRegex](#toregex) helper as a subexpression.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{RegExp}**\n\n**Example**\n\n```handlebars\n{{test \"bar\" (toRegex \"foo\")}}\n\u003c!-- results in: false --\u003e\n{{test \"foobar\" (toRegex \"foo\")}}\n\u003c!-- results in: true --\u003e\n{{test \"foobar\" (toRegex \"^foo$\")}}\n\u003c!-- results in: false --\u003e\n```\n\n## string\n\n### [{{append}}](lib/string.js#L22)\n\nAppend the specified `suffix` to the given string.\n\n**Params**\n\n* `str` **{String}**\n* `suffix` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- given that \"item.stem\" is \"foo\" --\u003e\n{{append item.stem \".html\"}}\n\u003c!-- results in:  'foo.html' --\u003e\n```\n\n### [{{camelcase}}](lib/string.js#L41)\n\ncamelCase the characters in the given `string`.\n\n**Params**\n\n* `string` **{String}**: The string to camelcase.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{camelcase \"foo bar baz\"}};\n\u003c!-- results in:  'fooBarBaz' --\u003e\n```\n\n### [{{capitalize}}](lib/string.js#L60)\n\nCapitalize the first word in a sentence.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{capitalize \"foo bar baz\"}}\n\u003c!-- results in:  \"Foo bar baz\" --\u003e\n```\n\n### [{{capitalizeAll}}](lib/string.js#L77)\n\nCapitalize all words in a string.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{capitalizeAll \"foo bar baz\"}}\n\u003c!-- results in:  \"Foo Bar Baz\" --\u003e\n```\n\n### [{{center}}](lib/string.js#L95)\n\nCenter a string using non-breaking spaces\n\n**Params**\n\n* `str` **{String}**\n* `spaces` **{String}**\n* `returns` **{String}**\n\n### [{{chop}}](lib/string.js#L125)\n\nLike trim, but removes both extraneous whitespace **and non-word characters** from the beginning and end of a string.\n\n**Params**\n\n* `string` **{String}**: The string to chop.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{chop \"_ABC_\"}}\n\u003c!-- results in:  'ABC' --\u003e\n\n{{chop \"-ABC-\"}}\n\u003c!-- results in:  'ABC' --\u003e\n\n{{chop \" ABC \"}}\n\u003c!-- results in:  'ABC' --\u003e\n```\n\n### [{{dashcase}}](lib/string.js#L143)\n\ndash-case the characters in `string`. Replaces non-word characters and periods with hyphens.\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{dashcase \"a-b-c d_e\"}}\n\u003c!-- results in:  'a-b-c-d-e' --\u003e\n```\n\n### [{{dotcase}}](lib/string.js#L162)\n\ndot.case the characters in `string`.\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{dotcase \"a-b-c d_e\"}}\n\u003c!-- results in:  'a.b.c.d.e' --\u003e\n```\n\n### [{{downcase}}](lib/string.js#L182)\n\nLowercase all of the characters in the given string. Alias for [lowercase](#lowercase).\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{downcase \"aBcDeF\"}}\n\u003c!-- results in:  'abcdef' --\u003e\n```\n\n### [{{ellipsis}}](lib/string.js#L202)\n\nTruncates a string to the specified `length`, and appends it with an elipsis, `…`.\n\n**Params**\n\n* `str` **{String}**\n* `length` **{Number}**: The desired length of the returned string.\n* `returns` **{String}**: The truncated string.\n\n**Example**\n\n```handlebars\n{{ellipsis (sanitize \"\u003cspan\u003efoo bar baz\u003c/span\u003e\"), 7}}\n\u003c!-- results in:  'foo bar…' --\u003e\n{{ellipsis \"foo bar baz\", 7}}\n\u003c!-- results in:  'foo bar…' --\u003e\n```\n\n### [{{hyphenate}}](lib/string.js#L223)\n\nReplace spaces in a string with hyphens.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{hyphenate \"foo bar baz qux\"}}\n\u003c!-- results in:  \"foo-bar-baz-qux\" --\u003e\n```\n\n### [{{isString}}](lib/string.js#L240)\n\nReturn true if `value` is a string.\n\n**Params**\n\n* `value` **{String}**\n* `returns` **{Boolean}**\n\n**Example**\n\n```handlebars\n{{isString \"foo\"}}\n\u003c!-- results in:  'true' --\u003e\n```\n\n### [{{lowercase}}](lib/string.js#L256)\n\nLowercase all characters in the given string.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{lowercase \"Foo BAR baZ\"}}\n\u003c!-- results in:  'foo bar baz' --\u003e\n```\n\n### [{{occurrences}}](lib/string.js#L278)\n\nReturn the number of occurrences of `substring` within the given `string`.\n\n**Params**\n\n* `str` **{String}**\n* `substring` **{String}**\n* `returns` **{Number}**: Number of occurrences\n\n**Example**\n\n```handlebars\n{{occurrences \"foo bar foo bar baz\" \"foo\"}}\n\u003c!-- results in:  2 --\u003e\n```\n\n### [{{pascalcase}}](lib/string.js#L303)\n\nPascalCase the characters in `string`.\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{pascalcase \"foo bar baz\"}}\n\u003c!-- results in:  'FooBarBaz' --\u003e\n```\n\n### [{{pathcase}}](lib/string.js#L323)\n\npath/case the characters in `string`.\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{pathcase \"a-b-c d_e\"}}\n\u003c!-- results in:  'a/b/c/d/e' --\u003e\n```\n\n### [{{plusify}}](lib/string.js#L343)\n\nReplace spaces in the given string with pluses.\n\n**Params**\n\n* `str` **{String}**: The input string\n* `returns` **{String}**: Input string with spaces replaced by plus signs\n\n**Example**\n\n```handlebars\n{{plusify \"foo bar baz\"}}\n\u003c!-- results in:  'foo+bar+baz' --\u003e\n```\n\n### [{{prepend}}](lib/string.js#L363)\n\nPrepends the given `string` with the specified `prefix`.\n\n**Params**\n\n* `str` **{String}**\n* `prefix` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n\u003c!-- given that \"val\" is \"bar\" --\u003e\n{{prepend val \"foo-\"}}\n\u003c!-- results in:  'foo-bar' --\u003e\n```\n\n### [{{raw}}](lib/string.js#L385)\n\nRender a block without processing mustache templates inside the block.\n\n**Params**\n\n* `options` **{Object}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{{{#raw}}}}\n{{foo}}\n{{{{/raw}}}}\n\u003c!-- results in:  '{{foo}}' --\u003e\n```\n\n### [{{remove}}](lib/string.js#L413)\n\nRemove all occurrences of `substring` from the given `str`.\n\n**Params**\n\n* `str` **{String}**\n* `substring` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{remove \"a b a b a b\" \"a \"}}\n\u003c!-- results in:  'b b b' --\u003e\n```\n\n### [{{removeFirst}}](lib/string.js#L432)\n\nRemove the first occurrence of `substring` from the given `str`.\n\n**Params**\n\n* `str` **{String}**\n* `substring` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{remove \"a b a b a b\" \"a\"}}\n\u003c!-- results in:  ' b a b a b' --\u003e\n```\n\n### [{{replace}}](lib/string.js#L452)\n\nReplace all occurrences of substring `a` with substring `b`.\n\n**Params**\n\n* `str` **{String}**\n* `a` **{String}**\n* `b` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{replace \"a b a b a b\" \"a\" \"z\"}}\n\u003c!-- results in:  'z b z b z b' --\u003e\n```\n\n### [{{replaceFirst}}](lib/string.js#L473)\n\nReplace the first occurrence of substring `a` with substring `b`.\n\n**Params**\n\n* `str` **{String}**\n* `a` **{String}**\n* `b` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{replace \"a b a b a b\" \"a\" \"z\"}}\n\u003c!-- results in:  'z b a b a b' --\u003e\n```\n\n### [{{reverse}}](lib/string.js#L492)\n\nReverse a string.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{reverse \"abcde\"}}\n\u003c!-- results in:  'edcba' --\u003e\n```\n\n### [{{sentence}}](lib/string.js#L509)\n\nSentence case the given string\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{sentence \"hello world. goodbye world.\"}}\n\u003c!-- results in:  'Hello world. Goodbye world.' --\u003e\n```\n\n### [{{snakecase}}](lib/string.js#L528)\n\nsnake_case the characters in the given `string`.\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{snakecase \"a-b-c d_e\"}}\n\u003c!-- results in:  'a_b_c_d_e' --\u003e\n```\n\n### [{{split}}](lib/string.js#L547)\n\nSplit `string` by the given `character`.\n\n**Params**\n\n* `string` **{String}**: The string to split.\n* `returns` **{String}** `character`: Default is an empty string.\n\n**Example**\n\n```handlebars\n{{split \"a,b,c\" \",\"}}\n\u003c!-- results in:  ['a', 'b', 'c'] --\u003e\n```\n\n### [{{startsWith}}](lib/string.js#L572)\n\nTests whether a string begins with the given prefix.\n\n**Params**\n\n* `prefix` **{String}**\n* `testString` **{String}**\n* `options` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{#startsWith \"Goodbye\" \"Hello, world!\"}}\n  Whoops\n{{else}}\n  Bro, do you even hello world?\n{{/startsWith}}\n```\n\n### [{{titleize}}](lib/string.js#L596)\n\nTitle case the given string.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{titleize \"this is title case\"}}\n\u003c!-- results in:  'This Is Title Case' --\u003e\n```\n\n### [{{trim}}](lib/string.js#L623)\n\nRemoves extraneous whitespace from the beginning and end of a string.\n\n**Params**\n\n* `string` **{String}**: The string to trim.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{trim \" ABC \"}}\n\u003c!-- results in:  'ABC' --\u003e\n```\n\n### [{{trimLeft}}](lib/string.js#L639)\n\nRemoves extraneous whitespace from the beginning of a string.\n\n**Params**\n\n* `string` **{String}**: The string to trim.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{trim \" ABC \"}}\n\u003c!-- results in:  'ABC ' --\u003e\n```\n\n### [{{trimRight}}](lib/string.js#L657)\n\nRemoves extraneous whitespace from the end of a string.\n\n**Params**\n\n* `string` **{String}**: The string to trim.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{trimRight \" ABC \"}}\n\u003c!-- results in:  ' ABC' --\u003e\n```\n\n### [{{truncate}}](lib/string.js#L680)\n\nTruncate a string to the specified `length`. Also see [ellipsis](#ellipsis).\n\n**Params**\n\n* `str` **{String}**\n* `limit` **{Number}**: The desired length of the returned string.\n* `suffix` **{String}**: Optionally supply a string to use as a suffix to denote when the string has been truncated. Otherwise an ellipsis (`…`) will be used.\n* `returns` **{String}**: The truncated string.\n\n**Example**\n\n```handlebars\ntruncate(\"foo bar baz\", 7);\n\u003c!-- results in:  'foo bar' --\u003e\ntruncate(sanitize(\"\u003cspan\u003efoo bar baz\u003c/span\u003e\", 7));\n\u003c!-- results in:  'foo bar' --\u003e\n```\n\n### [{{truncateWords}}](lib/string.js#L712)\n\nTruncate a string to have the specified number of words. Also see [truncate](#truncate).\n\n**Params**\n\n* `str` **{String}**\n* `limit` **{Number}**: The desired length of the returned string.\n* `suffix` **{String}**: Optionally supply a string to use as a suffix to denote when the string has been truncated.\n* `returns` **{String}**: The truncated string.\n\n**Example**\n\n```handlebars\ntruncateWords(\"foo bar baz\", 1);\n\u003c!-- results in:  'foo…' --\u003e\ntruncateWords(\"foo bar baz\", 2);\n\u003c!-- results in:  'foo bar…' --\u003e\ntruncateWords(\"foo bar baz\", 3);\n\u003c!-- results in:  'foo bar baz' --\u003e\n```\n\n### [{{upcase}}](lib/string.js#L742)\n\nUppercase all of the characters in the given string. Alias for [uppercase](#uppercase).\n\n**Params**\n\n* `string` **{String}**\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{upcase \"aBcDeF\"}}\n\u003c!-- results in:  'ABCDEF' --\u003e\n```\n\n### [{{uppercase}}](lib/string.js#L763)\n\nUppercase all of the characters in the given string. If used as a block helper it will uppercase the entire block. This helper does not support inverse blocks.\n\n**Params**\n\n* `str` **{String}**: The string to uppercase\n* `options` **{Object}**: Handlebars options object\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\n{{uppercase \"aBcDeF\"}}\n\u003c!-- results in:  'ABCDEF' --\u003e\n```\n\n## url\n\n### [{{encodeURI}}](lib/url.js#L19)\n\nEncodes a Uniform Resource Identifier (URI) component\nby replacing each instance of certain characters by\none, two, three, or four escape sequences representing\nthe UTF-8 encoding of the character.\n\n**Params**\n\n* `str` **{String}**: The un-encoded string\n* `returns` **{String}**: The endcoded string\n\n### [{{escape}}](lib/url.js#L34)\n\nEscape the given string by replacing characters with escape sequences.\nUseful for allowing the string to be used in a URL, etc.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**: Escaped string.\n\n### [{{decodeURI}}](lib/url.js#L48)\n\nDecode a Uniform Resource Identifier (URI) component.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**\n\n### [{{url_encode}}](lib/url.js#L59)\n\nAlias for [encodeURI](#encodeuri).\n\n### [{{url_decode}}](lib/url.js#L68)\n\nAlias for [decodeURI](#decodeuri).\n\n### [{{urlResolve}}](lib/url.js#L82)\n\nTake a base URL, and a href URL, and resolve them as a\nbrowser would for an anchor tag.\n\n**Params**\n\n* `base` **{String}**\n* `href` **{String}**\n* `returns` **{String}**\n\n### [{{urlParse}}](lib/url.js#L94)\n\nParses a `url` string into an object.\n\n**Params**\n\n* `str` **{String}**: URL string\n* `returns` **{String}**: Returns stringified JSON\n\n### [{{stripQuerystring}}](lib/url.js#L106)\n\nStrip the query string from the given `url`.\n\n**Params**\n\n* `url` **{String}**\n* `returns` **{String}**: the url without the queryString\n\n### [{{stripProtocol}}](lib/url.js#L126)\n\nStrip protocol from a `url`. Useful for displaying media that may have an 'http' protocol on secure connections.\n\n**Params**\n\n* `str` **{String}**\n* `returns` **{String}**: the url with http protocol stripped\n\n**Example**\n\n```handlebars\n\u003c!-- url = 'http://foo.bar' --\u003e\n{{stripProtocol url}}\n\u003c!-- results in: '//foo.bar' --\u003e\n```\n\n***\n\n## Utils\n\nThe following utils are exposed on `.utils`.\n\n### [{{changecase}}](lib/utils/index.js#L54)\n\nChange casing on the given `string`, optionally passing a delimiter to use between words in the returned string.\n\n**Params**\n\n* `string` **{String}**: The string to change.\n* `returns` **{String}**\n\n**Example**\n\n```handlebars\nutils.changecase('fooBarBaz');\n//=\u003e 'foo bar baz'\n\nutils.changecase('fooBarBaz' '-');\n//=\u003e 'foo-bar-baz'\n```\n\n### [{{random}}](lib/utils/index.js#L80)\n\nGenerate a random number\n\n**Params**\n\n* `min` **{Number}**\n* `max` **{Number}**\n* `returns` **{Number}**\n\n***\n\n## History\n\n## [v0.10.0](https://github.com/helpers/handlebars-helpers/compare/v0.9.0...v0.10.0) - 2017-11-17\n\n**changes**\n\n* adds `unique` to array helpers\n* updates `css` helper to ensure that path.join() is not called on an absolute URL.\n\n## [v0.9.0](https://github.com/helpers/handlebars-helpers/compare/v0.8.4...v0.9.0) - 2017-07-03\n\n**changes**\n\n* all unit tests now use assert instead of should\n* remove `fileSize` helper in favor of new `bytes` helper, which does the same thing, but returns `B` instead of `byte` or `bytes`.\n* JSONParse helper is no longer a block helper. It now returns an object, which can be used as a subexpression to achieve the same behavior as before.\n* adds better error handling for path helpers, since node.js errors are terrible. We have a better way to handle errors that will be implemented in a near future release.\n* adds inline helper support to `isEmpty`, so it can now be used as an inline or block helper\n* adds `raw` helper\n* adds regex helpers\n* adds inline helper support to most of the comparison helpers, so they can now be used as inline or block helpers\n* adds `pluck` helper to array helpers\n* adds `prepend` and `append` helpers to string helpers\n* adds `isTruthy` and `isFalsey` comparison helpers\n* adds `escape` and `url_encode` and `url_decode` URL helpers\n* adds `attr` helper to html helpers\n* adds `year` helper to date helpers\n* adds `typeOf` and `frame` helpers to misc helpers\n* adds `abs`, `minus`, `modulo`, `plus`, `times` to math helpers\n* moves `ellipsis` helper from `html` helpers to string helpers\n* moves `truncate` helper from `html` helpers to string helpers\n* moves `reverse` helper from `string` helpers to array helpers\n* differentiate `eq` and `is` helpers so that `eq` is strict equality and `is` is not\n* removes `mm` helper, use `match` instead\n\n## [v0.8.4](https://github.com/helpers/handlebars-helpers/compare/v0.8.3...v0.8.4) - 2017-07-03\n\n**changes**\n\n* removes strlen helper in favor of fixing the length helper\n\n## [v0.8.3](https://github.com/helpers/handlebars-helpers/compare/v0.8.2...v0.8.3) - 2017-07-03\n\n**changes**\n\n* adds strlen helper\n* adds itemAt helper\n* clean up code comments for array helpers\n\n## [v0.8.2](https://github.com/helpers/handlebars-helpers/compare/v0.8.1...v0.8.2) - 2017-03-30\n\n**changes**\n\n* documentation updates\n* fixes md helper to use sync by default\n\n## [v0.8.1](https://github.com/helpers/handlebars-helpers/compare/v0.8.0...v0.8.1) - 2017-03-30\n\n**changes**\n\n* fixes sorting in withSort helper. see https://github.com/helpers/handlebars-helpers/pull/245\n* adds toPath helper\n* handle null inputs in number helpers\n* adds stripProtocol helper\n\n## [v0.8.0](https://github.com/helpers/handlebars-helpers/compare/v0.7.6...v0.8.0) - 2017-01-25\n\n**changes**\n\n* handle string arguments in list helpers\n* adds JSONParse helper as an alias for parseJSON\n\n## [v0.7.6](https://github.com/helpers/handlebars-helpers/compare/v0.7.0...v0.7.6) - 2017-01-08\n\n**changes**\n\n* fixes markdown helpers. see https://github.com/helpers/handlebars-helpers/pull/226\n* documentation improvements and other minor fixes\n\n## [v0.7.0](https://github.com/helpers/handlebars-helpers/compare/v0.6.0...v0.7.0) - 2016-07-16\n\n**changes**\n\n* The [or](#or) helper can now take a variable number of arguments\n\n## [v0.6.0](https://github.com/helpers/handlebars-helpers/compare/v0.3.3...v0.6.0) - 2016-05-13\n\n**changes**\n\n* the main export is now a function that takes a name or array of names of helper types to load. Example `helpers(['string', 'array'])` will load only the `string` and `array` helpers\n* helper types can alternatively be accessed as methods. example - `helpers.path()` will return all of the path helpers.\n* handlebars may be provided by the user. if not provided it will fall back to the `handlebars-helpers`  handlebars\n* helpers are now as generic as possible, with little to no code related to assemble, grunt, etc.\n* helpers are lazy-loaded using getters for improved performance\n* Once tests are added for the `md` and `markdown` helpers, we'll have 100% unit test coverage on helpers\n\n## [v0.3.3](https://github.com/helpers/handlebars-helpers/compare/v0.3.2...v0.3.3) - 2013-09-03\n\n**changes**\n\n* Adds fileSize helper.\n* Adds startsWith helper.\n\n## [v0.3.2](https://github.com/helpers/handlebars-helpers/compare/v0.3.0...v0.3.2) - 2013-08-20\n\n**changes**\n\n* Adds glob helper.\n\n## [v0.3.0](https://github.com/helpers/handlebars-helpers/compare/v0.2.4...v0.3.0) - 2013-07-30\n\n**changes**\n\n* The project has been refactored, cleaned up, and full documentation has bee put up at http://assemble.io\n\n## [v0.2.4](https://github.com/helpers/handlebars-helpers/compare/v0.2.3...v0.2.4) - 2013-05-11\n\n**changes**\n\n* Adding object globbing utility functions to be used in helpers later.\n\n## [v0.2.3](https://github.com/helpers/handlebars-helpers/compare/v0.2.0...v0.2.3) - 2013-05-11\n\n**changes**\n\n* File globbing added to some helpers. Including md and some file helpers.\n\n## [v0.2.0](https://github.com/helpers/handlebars-helpers/compare/v0.1.32...v0.2.0) - 2013-05-07\n\n**changes**\n\n* A bunch of new tests for markdown and special helpers.\n* Refactored most of the rest of the helpers to separate functions from Handlebars registration.\n\n## [v0.1.32](https://github.com/helpers/handlebars-helpers/compare/v0.1.31...v0.1.32) - 2013-05-02\n\n**changes**\n\n* Updates utils and a number of helpers, including value, property, and stringify.\n\n## [v0.1.31](https://github.com/helpers/handlebars-helpers/compare/v0.1.30...v0.1.31) - 2013-04-21\n\n**changes**\n\n* Fixes relative helper\n\n## [v0.1.30](https://github.com/helpers/handlebars-helpers/compare/v0.1.25...v0.1.30) - 2013-04-20\n\n**changes**\n\n* Refactoring helpers-collection module to separate the functions from the Handlebars helper registration process.\n\n## [v0.1.25](https://github.com/helpers/handlebars-helpers/compare/v0.1.21...v0.1.25) - 2013-04-16\n\n**changes**\n\n* Adding defineSection and renderSection helpers to try to get sections populated in a layout from the page.\n\n## [v0.1.21](https://github.com/helpers/handlebars-helpers/compare/v0.1.20...v0.1.21) - 2013-04-07\n\n**changes**\n\n* Add markdown helpers back, add more tests.\n\n## [v0.1.20](https://github.com/helpers/handlebars-helpers/compare/v0.1.11...v0.1.20) - 2013-04-06\n\n**changes**\n\n* Generalized helpers structure, externalized utilities.\n\n## [v0.1.11](https://github.com/helpers/handlebars-helpers/compare/v0.1.10...v0.1.11) - 2013-04-05\n\n**changes**\n\n* New authors and gist helpers, general cleanup and new tests.\n\n## [v0.1.10](https://github.com/helpers/handlebars-helpers/compare/v0.1.8...v0.1.10) - 2013-04-04\n\n**changes**\n\n* Externalized utility javascript from helpers.js\n\n## [v0.1.8](https://github.com/helpers/handlebars-helpers/compare/v0.1.7...v0.1.8) - 2013-03-28\n\n**changes**\n\n* Gruntfile updated with mocha tests for 71 helpers, bug fixes.\n\n## [v0.1.7](https://github.com/helpers/handlebars-helpers/compare/v0.1.3...v0.1.7) - 2013-03-18\n\n**changes**\n\n* New path helper 'relative', for resolving relative path from one absolute path to another.\n\n## [v0.1.3](https://github.com/helpers/handlebars-helpers/compare/v0.1.2...v0.1.3) - 2013-03-16\n\n**changes**\n\n* New helpers, 'formatPhoneNumber' and 'eachProperty'\n\n## [v0.1.2](https://github.com/helpers/handlebars-helpers/compare/v0.1.0...v0.1.2) - 2013-03-15\n\n**changes**\n\n* Update README.md with documentation, examples.\n\n## [v0.1.0] - 2013-03-06\n\n**changes**\n\n* First commit.\n\n## About\n\n### Related projects\n\n* [assemble](https://www.npmjs.com/package/assemble): Get the rocks out of your socks! Assemble makes you fast at creating web projects… [more](https://github.com/assemble/assemble) | [homepage](https://github.com/assemble/assemble \"Get the rocks out of your socks! Assemble makes you fast at creating web projects. Assemble is used by thousands of projects for rapid prototyping, creating themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websit\")\n* [template-helpers](https://www.npmjs.com/package/template-helpers): Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… [more](https://github.com/jonschlinkert/template-helpers) | [homepage](https://github.com/jonschlinkert/template-helpers \"Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or any engine that supports helper functions.\")\n* [utils](https://www.npmjs.com/package/utils): Fast, generic JavaScript/node.js utility functions. | [homepage](https://github.com/jonschlinkert/utils \"Fast, generic JavaScript/node.js utility functions.\")\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### Release history\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 \u0026\u0026 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 \u0026\u0026 npm test\n```\n\n### Author\n\n**Brian Woodward**\n\n* [github/doowb](https://github.com/doowb)\n* [twitter/doowb](https://twitter.com/doowb)\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).\nWhen this project was created some helpers were sourced from [Swag, by Elving Rodriguez](http://elving.github.com/swag/).\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 November 17, 2017._","funding_links":[],"categories":["Helpers","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelpers%2Fhandlebars-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelpers%2Fhandlebars-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelpers%2Fhandlebars-helpers/lists"}