Detalhes do pacote

backslash

Qix-1.1m0.2.0

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

backslash, escape, escaped, parse

readme (leia-me)

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.