API Reference util.escape Class Defined in lib/util/escape.js:1 Description Methods diacritic (str) String static Defined in lib/util/escape.js:195 Replace diacritics in a string. More info: http://stackoverflow.com/a/18391901 Parameters str String Returns String filename (str, [transform]) String static Defined in lib/util/escape.js:8 Converts the string to a proper filename. Transform: 1: Lower case 2: Upper case Parameters str String transform Number optional Returns String path (str, transform) String static Defined in lib/util/escape.js:43 Converts the string to a proper path. Transform: 1: Lower case 2: Upper case Parameters str String transform Number Returns String regex (str) String static Defined in lib/util/escape.js:84 Escapes all keywords in regular expressions. Parameters str String Returns String yaml (str) String static Defined in lib/util/escape.js:73 Converts all tabs to spaces in the string. Parameters str String Returns String