https://github.com/rosettea/lunacolors
💫 ANSI colors library for Lua.
https://github.com/rosettea/lunacolors
ansi-colors ansi-escape-codes fmt lua
Last synced: 3 months ago
JSON representation
💫 ANSI colors library for Lua.
- Host: GitHub
- URL: https://github.com/rosettea/lunacolors
- Owner: Rosettea
- License: bsd-3-clause
- Created: 2021-04-10T22:51:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T15:48:00.000Z (almost 3 years ago)
- Last Synced: 2025-05-30T12:20:03.432Z (4 months ago)
- Topics: ansi-colors, ansi-escape-codes, fmt, lua
- Language: Lua
- Homepage:
- Size: 27.3 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lunacolors
> 💫 ANSI colors library for Lua.
Lunacolors is an elegant library for handling ANSI colors in Lua.
# Usage
```lua
local lunacolors = require 'lunacolors'print(lunacolors.bold(lunacolors.red('Hello') .. ' World!'))
```# License
Lunacolors is licensed under the BSD 3-Clause license.
[Read here](LICENSE) for more info.