diff --git a/Ansikit.md b/Ansikit.md new file mode 100644 index 0000000..badde6b --- /dev/null +++ b/Ansikit.md @@ -0,0 +1,12 @@ +Ansikit is an ANSI code library, it makes it so you just have to write simple functions instead of making a big mess trying to make your prompt blue :) +It's a port of a Node.js library by the same name ([which is made by me, sammy](https://github.com/Luvella/AnsiKit)). + +# Functions +### AnsiKit.text(string) + +Formats `string`, replacing `{keys}` with appropriate color codes. + +#### Example +```lua +print(ansikit.text "{blue}blue text hello {green}im green{reset}") +``` \ No newline at end of file