Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aprosail/terminal-decorate
Terminal colorization and text style decoration for Dart.
https://github.com/aprosail/terminal-decorate
ansi-color cli color command-line escape-codes style terminal terminal-color terminal-colorized
Last synced: about 2 months ago
JSON representation
Terminal colorization and text style decoration for Dart.
- Host: GitHub
- URL: https://github.com/aprosail/terminal-decorate
- Owner: aprosail
- License: mit
- Created: 2024-05-04T13:52:51.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T13:42:14.000Z (8 months ago)
- Last Synced: 2024-10-13T01:31:11.338Z (3 months ago)
- Topics: ansi-color, cli, color, command-line, escape-codes, style, terminal, terminal-color, terminal-colorized
- Language: Dart
- Homepage: https://pub.dev/packages/terminal_decorate
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Terminal Decorate
Terminal colorization and text style decoration for Dart:
This package is an encapsulation of the terminal escape code,
refer to the standard: `ANSI X3.64`, `ECMA-48`, or `ISO 6429`.
Thanks to Dart's extension mechanism, you can use it like this:```dart
// Font style decoration.
print('normal ${'italic ${'bold'.bold} italic'.italic} normal');// Font color decoration.
print('normal ${'red ${'yellow'.yellow} red'.red} normal');
```