backslash
parse string escapes (\n, \r, etc.)
Last updated 4 years ago by qix .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install backslash 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.0                                ...           latest (4 years ago)

5 Versions

  • 0.2.0                                ...           4 years ago
  • 0.1.7                                ...           5 years ago
  • 0.1.6                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 3
This Week 3
This Month 96
Last Day 4
Last Week 56
Last Month 420
Dependencies (0)
None
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |