Skip to content

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/ansi-purge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published