ansi-purge
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ANSI Purge

A tiny function for deleting ANSI escape sequences from a string.

Install

npm install --save ansi-purge

Usage

import color from 'tiny-colors';
import ansiPurge from 'ansi-purge';

console.log ( ansiPurge ( color.red ( 'Hello' ) ) ); // => 'Hello'

License

MIT © Fabio Spampinato

Readme

Keywords

Package Sidebar

Install

npm i ansi-purge

Weekly Downloads

19,439

Version

1.0.0

License

none

Unpacked Size

3.82 kB

Total Files

12

Last publish

Collaborators

  • fabiospampinato