1.0.1 • Published 2 years ago
jees-ansi-has v1.0.1
Is string has ANSI ? ✨
Check if the string contains ANSI escape codes ✨
Install
npm i jees-ansi-has # 📥 installimport has from 'jees-ansi-has'; // 📦 importSyntax
const result = has('text'); /* ✨ have fun ✨ */Examples
has('\u001B[31mPlain !\u001B[0m'); // => true has('Plain !'); // => false
Documents
API
This package is part of the
jeesframework.
Made with ❤ by Maysara Elshewehy