mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
http://crrev.com/c/5898986 is currently failing presubmit on win bot because command line command for clang format gets too long. It looks like `git cl format` is running for all changes files ignoring the .clang-format Disable-Format directive in node_modules/ Bug: 370734442 Change-Id: Ia790c5998a4d25b42f2f14efc56df26cefa540f5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5907633 Commit-Queue: Danil Somsikov <dsv@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>
strip-ansi 
Strip ANSI escape codes from a string
Install
$ npm install strip-ansi
Usage
const stripAnsi = require('strip-ansi');
stripAnsi('\u001B[4mUnicorn\u001B[0m');
//=> 'Unicorn'
stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
//=> 'Click'
strip-ansi for enterprise
Available as part of the Tidelift Subscription.
The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
Related
- strip-ansi-cli - CLI for this module
- strip-ansi-stream - Streaming version of this module
- has-ansi - Check if a string has ANSI escape codes
- ansi-regex - Regular expression for matching ANSI escape codes
- chalk - Terminal string styling done right