New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

escape-carriage

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escape-carriage

Escape carriage return the right way.

1.3.1
latest
Source
npm
Version published
Weekly downloads
279K
0.09%
Maintainers
1
Weekly downloads
 
Created
Source

escape-carriage

Build Status Greenkeeper badge

Escape \r the right way.

npm install --save escape-carriage

Usage

var escapeCarriageReturn = require('escape-carriage');

escapeCarriageReturn('This sentence\rThat\nwill make you pause.');
// That sentence
// will make you pause.

Keywords

carriage

FAQs

Package last updated on 28 Mar 2023

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