Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

strip-ansi

Package Overview
Dependencies
1
Maintainers
2
Versions
19
Issues
File Explorer

Advanced tools

strip-ansi

Strip ANSI escape codes from a string

    7.0.1latest

Version published
Maintainers
2
Weekly downloads
123,514,375
decreased by-3.71%

Weekly downloads

Changelog

Source

  • Upgrade dependencies ed41f38

https://github.com/chalk/strip-ansi/compare/v7.0.0...v7.0.1

Readme

Source

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.

Maintainers

Keywords

FAQs

What is strip-ansi?

Strip ANSI escape codes from a string

Is strip-ansi popular?

The npm package strip-ansi receives a total of 99,819,735 weekly downloads. As such, strip-ansi popularity was classified as popular.

Is strip-ansi well maintained?

We found that strip-ansi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 2 open source maintainers collaborating on the project.

Last updated on 11 Sep 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc