Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
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
Yearly downloads
5,262,576,436
increased by55.37%

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

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