Filters are used to transform a variable before outputting it. You can pipe a variable through one or more filters using the
Dust.js ships with the following built-in filters.
Helpers are sort of like template functions. Use them to handle basic logic and transform template data in robust ways.
Helpers are always prefixed with
@ so you won't confuse them with variables. The syntax for helpers in Dust.js is as follows: