Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

iHub cloud used https://handlebarsjs.com/ as template language.

This is an extension to Mustache and have few smart functions.

Smart functions

toCSV(object, propertyName, useQuotes)

Creates a csv of the array.
example toCSV({{array}},name,'), would take an array of object and use the name property with single quotes to create a csv.

toJSON(object)

Runs JSON.stringify(object) on the object.
Good to use in cases where you get an output like [object Object],[object Object]

  • No labels