@aero/sanitizer
v1.3.2
Published
Tiny text sanitizer that's really just a bunch of libraries in a trenchcoat.
Downloads
405
Readme
@aero/sanitizer
Installation
npm i @aero/sanitizer
Usage
const sanitizer = require('@aero/sanitizer');
sanitizer('aéà)àçé');
> 'aea)ace'
sanitizer(someCompletelyUnusableString, 'fallback');
> 'fallback'