node package manager

remove-unprintable

remove-unprintablebuild status

Small npm module to remove all unprintable characters from a string

installation

    npm install remove-unprintable

example/usage

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