A hack of optilude's xlsx-template module adding support for Angular expressions to handle logic statements within XLSX templates. See for a complete reference of all possibilities of angularjs parsing: http://teropa.info/blog/2014/03/23/angularjs-expressions-cheatsheet.html.
Example (XLSX) template (double pipes define cells)
Date || {{extractDate}}
People ||
{{table:people.name | upper}} || {{table:people.age}}
Example usage
var XlsxTemplate = ;var expressions = ;var fs = ; expressionsfilters { // This condition should be used to make sure that if your input is undefined, your output will be undefined as well and will not throw an error if!input return input; return input;} // Load an XLSX file into memoryfs;