1.0.1 • Published 1 year ago

jees-ansi-has v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Is string has ANSI ? ✨

Check if the string contains ANSI escape codes ✨

  • Install

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

    const result = has('text');                   /* ✨ have fun ✨  */
  • Examples

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

Documents


This package is part of the jees framework.


Made with ❤ by Maysara Elshewehy

1.0.1

1 year ago

1.0.0

1 year ago