1 stable release
1.1.0 | Mar 25, 2024 |
---|
#1841 in Command line utilities
1MB
340 lines
ASCII cli
This is a small CLI for quickly viewing the ascii table in your terminal!
Simple call the CLI with the table
subcommand, to view the table
ascii table
to get the table in base 16, or change the base by adding the argument:
-b {base}
You can also translate text strings to its ascii numbers, by using the to-num
subcommand, like this:
ascii to-num hello world
68 65 6C 6C 6F 20 77 6F 72 6C 64
And you can do the opposite too, by using the to-char
subcommand, like this:
ascii to-char 68 65 6C 6C 6F 20 77 6F 72 6C 64
hello world
Finally, you can use the what-is
subcommand, to get more info about a specific character, like this
ascii what-is 7
7: BEL - Bell
Category: Control Character
Description: Triggers a beep
Dependencies
~1–11MB
~74K SLoC