blacklight
v1.1.1
Published
Escape whitespace in strings
Downloads
3
Readme
blacklight
Escape whitespace in strings
Usage
Escape
var blacklight = require('blacklight');
var escaped = blacklight.escape('\t\r\n'); // '\t\r\n' escaped, '\\t\\r\\n'
Log
var blacklight = require('blacklight');
blacklight.log('\t\r\n'); // prints '\t\r\n' instead of whitespace
// or just
blacklight('\t\r\n'); // prints '\t\r\n' instead of whitespace
License
MIT