Skip to content

maysara-elshewehy/jees-ansi-strip

Repository files navigation

ANSI Strip ✨

Strip ANSI escape codes from a string !

  • Install

    npm i jees-ansi-strip                         #  📥 install
    import strip from 'jees-ansi-strip';          // 📦 import
  • Syntax

    const result = strip(text);                   /* ✨ have fun ✨  */
  • Example

    strip('\u001B[31mPlain !\u001B[0m');
    // => Plain !

Documents


This package is part of the jees framework.


Made with ❤ by Maysara Elshewehy

About

Strip ANSI escape codes from a string ✨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published