Releases: Unarray/tintify
Releases · Unarray/tintify
v1.1.0
Enums
All const enums have been updated to the correct format:
export const FOO = {
BAR: "toto"
} as const;
Types
New types added!
All colors const types: EffectKeys
, EffectValues
, EffectResetKeys
, EffectResetValues
, ForgroundKeys
, ForgroundValues
, BrightForgroundKeys
, BrightForgroundValues
, BackgroundKeys
, BackgroundValues
, BrightBackgroundKeys
, BrightBackgroundValues
v1.0.0
Create project and publish it !
Features:
- ANSI escapement constant (text/background colors as well as effects like bold, strikethrough, blinking, etc.)
- ANSI escapement creator using 256 colors
- ANSI escapement creator using RGB
- Formatting functions:
- Linear gradient creator (you put a start color and an end color, and a gradient will be generated on your text!)
- Matrix effect creator (hello hackers)
- Rainbow creator (you can choose the starting color and the distance between each color)
- Formatting string *(you pass a string containing "flags" and they will be replaced by a color/effect. Of course it is possible to create your own flags!)
- Utility functions:
- Hexadecimal to RGB conversion
- Validators of RGB or hexadecimal values
- ANSI escape sequences remover