Strip control-characters from string
Node.JS string module for stripping control-characters from string. Native and pure implementation.
var stripcc = require'stripcc';console.logstripcc'he\u0001llo';
$ npm install stripcc
Module provides single function that removes non-printable control characters from strings. It has native and pure implementation.
It removes characters from C0 and C1 sets except for CR('\r'), LF('\n'), tab('\t') and space(' ').