strip-ansi

WebJar for strip-ansi

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

strip-ansi
Last Version

Last Version

4.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

strip-ansi
WebJar for strip-ansi
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/chalk/strip-ansi

Download strip-ansi

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/strip-ansi/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>strip-ansi</artifactId>
    <version>4.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/strip-ansi/
implementation 'org.webjars.bower:strip-ansi:4.0.0'
// https://jarcasting.com/artifacts/org.webjars.bower/strip-ansi/
implementation ("org.webjars.bower:strip-ansi:4.0.0")
'org.webjars.bower:strip-ansi:jar:4.0.0'
<dependency org="org.webjars.bower" name="strip-ansi" rev="4.0.0">
  <artifact name="strip-ansi" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='strip-ansi', version='4.0.0')
)
libraryDependencies += "org.webjars.bower" % "strip-ansi" % "4.0.0"
[org.webjars.bower/strip-ansi "4.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : ansi-regex jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

strip-ansi

Strip ANSI escape codes from a string

Install

$ npm install strip-ansi

Usage

import stripAnsi from 'strip-ansi';

stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'

stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
//=> 'Click'

strip-ansi for enterprise

Available as part of the Tidelift Subscription.

The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Related

Maintainers

org.webjars.bower

chalk

Terminal string styling done right

Versions

Version
4.0.0