No description
Find a file
Himujjal Upadhyaya 2e806ac690
Merge pull request #1 from juancarlospaco/master
Refactor, Simplify!
2020-09-18 15:13:08 +05:30
src Refactor, Simplify 2020-09-18 00:57:08 -03:00
tests first change 2020-09-18 02:50:57 +05:30
.gitignore first change 2020-09-18 02:50:57 +05:30
asciitext.nimble first change 2020-09-18 02:50:57 +05:30
README.md readme updated 2020-09-18 03:00:55 +05:30

ASCIITEXT - Large ASCII Text in Nim

Prints ASCII values as large fonts.

Use it in CLI or Web or as a string

Installation

nimble install asciitext

API

Use the function

import asciiText

echo asciiText("23h 23m 0s")

#[
Prints:
 _____   _____   _   _        _____   _____       ___  ___        _____   _____
/___  \ |___  | | | | |      /___  \ |___  |     /   |/   |      /  _  \ /  ___/
 ___| |    _| | | |_| |       ___| |    _| |    / /|   /| |      | | | | | |___
/  ___/   |_  { |  _  |      /  ___/   |_  {   / / |__/ | |      | |/| | \___  \
| |___   ___| | | | | |      | |___   ___| |  / /       | |      | |_| |  ___| |
|_____| |_____/ |_| |_|      |_____| |_____/ /_/        |_|      \_____/ /_____/
]#

Change Styles

Use the enum textStyle to change style:

Currently there are only two styles present. textStyle1 which gives you a string with small Ascii letters. textStyle2 which gives you a string with large Ascii letters as shown above