{"repo":"leapfrogtechnology/just-handlebars-helpers","free":true,"listed":false,"github":"https://github.com/leapfrogtechnology/just-handlebars-helpers","clone":"git clone https://github.com/leapfrogtechnology/just-handlebars-helpers.git","description":"A package with common Handlebars helpers.","language":"JavaScript","stars":74,"topics":["handlebars-helpers","handlebars","just-handlebars-helpers","templating","javascript","template","hacktoberfest"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Just Handlebars Helpers A package with common Handlebars helpers. Installation Usage Browser General Usage Recommended Usage (CDN) Node Helpers Helper Description ----------------------------------- ----------------------------------------------------- eq Strict equality === eqw Equality == neq Strict inequality !== neqw Inequality != lt Less than gte Greater than or equal = not Not ! ifx Imitates conditional operator ?: empty Check if an array is empty count Length of an array and Logical AND operation or Logical OR operation coalesce Returns first non-falsy value from list of parameters includes Check for a value inside an array excerpt Extract a sub-string from a string sanitize Sanitize a string to url friendly dash/kebab case newLineToBr Replace new line with line breaks of a string capitalizeEach Capitalize the first letter of each word in a string capitalizeFirst Capitalize the first letter of a string sprintf String produced according to the formatting format lowercase String to lowercase uppercase String to uppercase first First element of an array last Last element of an array concat Concatenate two or more strings join Join elements of an array using a delimeter sum Sum of two numbers difference Difference of two numbers multiplication Multiplication of two numbers division Division of two numbers remainder Remainder of two numbers ceil Round a number upward to its nearest integer floor Round a number downward to its nearest integer abs Find the absolute value of a","default_branch":null,"files":null,"tree":[],"storefront":"/r/leapfrogtechnology","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leapfrogtechnology/just-handlebars-helpers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}