Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

handlebars create helper

const hbs = require("hbs")

hbs.registerHelper("name", function(input) {
	return input + 1 // add 1 to whatever numerical input is provided
)
 
PREVIOUS NEXT
Tagged: #handlebars #create #helper
ADD COMMENT
Topic
Name
5+3 =