blacklight

1.1.1 • Public • Published

blacklight Build Status

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

Package Sidebar

Install

npm i blacklight

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • tjmehta