Closed spik3r closed 5 years ago
Would be nice to add an option to whitelist certain characters you don't want escaped for example: 'whitelist': 'äöüß' so jsesc ignores these but escapes everything else.
'whitelist': 'äöüß'
Implemented changes in the following fork since this project doesn't seem to be maintained anymore: https://www.npmjs.com/package/js-char-escape
Would be nice to add an option to whitelist certain characters you don't want escaped for example:
'whitelist': 'äöüß'
so jsesc ignores these but escapes everything else.