node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

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;