clearr
Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.
Last updated 6 years ago by zvr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install clearr 
SYNC missed versions from official npm registry.

Clearr

npm version Pipeline Badge

clearr Updates The String To Remove \r (Carriage Return) Just Like The Terminal Would Do.

yarn add clearr
npm i clearr

Table Of Contents

API

The package is available by importing its default function:

import clearr from 'clearr'

clearr(
  string: string,
): string

Clears the carriage return like the terminal would.

/* alanode example/ */
import clearR from 'clearr'

const res = clearR('...\r..?\r.!')
console.log(res)
.!?

Copyright & License

GNU Affero General Public License v3.0

Art Deco © Art Deco™ 2020 AGPL-3.0

Current Tags

  • 1.1.0                                ...           latest (5 years ago)

2 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |