Strip ANSI escape codes
Clone or download
Latest commit dfab677 Sep 29, 2018

readme.md

strip-ansi Build Status

Strip ANSI escape codes


Get professional support for 'strip-ansi' with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Install

$ npm install strip-ansi

Usage

const stripAnsi = require('strip-ansi');

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

Related

Maintainers

License

MIT