🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

backslash

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backslash

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

Source
npmnpm
Version
0.1.6
Version published
Weekly downloads
318K
-10.85%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 26 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts