Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 22-Nov-2021 | - | ||||
test/ | H | 03-May-2022 | - | |||
.travis.yml | H A D | 22-Nov-2021 | 36 | 4 | 3 | |
LICENSE | H A D | 22-Nov-2021 | 1 KiB | 22 | 17 | |
README.md | H A D | 22-Nov-2021 | 522 | 21 | 13 | |
index.d.ts | H A D | 22-Nov-2021 | 472 | 14 | 3 | |
package.json | H A D | 22-Nov-2021 | 698 | 33 | 32 |
README.md
1# escape-carriage 2 3[![Build Status](https://travis-ci.org/lgeiger/escape-carriage.svg?branch=master)](https://travis-ci.org/lgeiger/escape-carriage) [![Greenkeeper badge](https://badges.greenkeeper.io/lgeiger/escape-carriage.svg)](https://greenkeeper.io/) 4 5 6Escape `\r` the right way. 7 8``` 9npm install --save escape-carriage 10``` 11 12## Usage 13 14```javascript 15var escapeCarriageReturn = require('escape-carriage'); 16 17escapeCarriageReturn('This sentence\rThat\nwill make you pause.'); 18// That sentence 19// will make you pause. 20``` 21