backslash

parse string escapes (\n, \r, etc.)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
backslash
220.2.07 years ago7 years agoMinified + gzip package size for backslash in KB

Readme

Backslash Travis-CI.org Build Status Coveralls.io Coverage Rating
Parse collected strings with escapes.

Example

var backslash = require('backslash');

var s = backslash("\\\\\\tHello!\\nThis was escaped.");
/*
\	Hello!
This was escaped.
*/

License

Licensed under the MIT license.