[Tutorial] An Introduction to Node.js Servers (and Express.js)

I am now working with handlebars and have a question about how do you register and use handlebars helpers?

For example I want to add this helper that will offset the index in a loop. (Add +1 to the index of a loop)

But I am not sure where to put the helper function.