0 purchases
ansi strip
ansi_strip #
Strip ANSI escape codes from a string
Install #
$ dart pub add ansi_strip
copied to clipboard
Usage #
import 'package:ansi_strip/ansi_strip.dart';
void main() {
print(stripAnsi('\u001B[4mUnicorn\u001B[0m'));
//=> 'Unicorn'
print(stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007'));
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.