https://github.com/molnarmark/boxer
Boxer is a small and simple package to print out text in boxes for the Nim Programming Language.
https://github.com/molnarmark/boxer
Last synced: 11 months ago
JSON representation
Boxer is a small and simple package to print out text in boxes for the Nim Programming Language.
- Host: GitHub
- URL: https://github.com/molnarmark/boxer
- Owner: molnarmark
- Created: 2017-07-07T17:26:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T17:41:10.000Z (about 9 years ago)
- Last Synced: 2025-03-06T04:56:36.275Z (over 1 year ago)
- Language: Nim
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Boxer
============
[](http://badge.fury.io/gh/boennemann%2Fbadges)
[]()
Boxer is a small and simple package to print out text in boxes for the Nim Programming Language.
This package currently does not support multiline text.
Feel free to take the [example code](https://github.com/molnarmark/boxer/blob/master/boxer_example.nim) to test out the package!
## Usage
```nim
import boxer, colorize
echo Boxer("Thank you for checking out the demo of Boxer!", "single", 2).bold.fgGreen
echo Boxer("Printing out text in boxes has never been easier.", "double", 5).bold.fgYellow
echo Boxer("Boxer supports multiple box types.", "round").fgLightBlue
echo Boxer("You can find them all inside boxes.json", "classic", 3)
```
## Contributing
All contributions are welcome. Feel free to make this project better. :)
## Authors
* Mark Molnar
## License
* MIT