Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.

clearr Updates The String To Remove \r (Carriage Return) Just Like The Terminal Would Do.
``sh`
yarn add clearr
npm i clearr
- Table Of Contents
- API
- clearr(string: string): string
- Copyright & License
The package is available by importing its default function:
`js`
import clearr from 'clearr'
clearr(
): stringClears the carriage return like the terminal would.
`js
/ alanode example/ /
import clearR from 'clearr'
const res = clearR('...\r..?\r.!')
console.log(res)
````
.!?
GNU Affero General Public License v3.0
| © Art Deco™ 2020 |
|---|