remove-unprintable

Return a new string with all unprintable characters removed

#remove-unprintable

Small npm module to remove all unprintable characters from a string

    npm install remove-unprintable
    var removeUnprintable = require('remove-unprintable');
 
    var str = '\u0000foo';
    console.log(removeUnprintable(str) === 'foo'); // will print true;