1.0.0 • Published 2 years ago
jees-ansi-strip v1.0.0
ANSI Strip ✨
Strip ANSI escape codes from a string !
Install
npm i jees-ansi-strip # 📥 installimport strip from 'jees-ansi-strip'; // 📦 importSyntax
const result = strip(text); /* ✨ have fun ✨ */Example
strip('\u001B[31mPlain !\u001B[0m'); // => Plain !
Documents
API
This package is part of the
jeesframework.
Made with ❤ by Maysara Elshewehy
1.0.0
2 years ago