- Moved TypeScript declarations to a
d.ts
file (#82) - Reworked color detection algorithm to properly work with empty strings in
NO_COLOR
andFORCE_COLOR
env variables (#87) - Eliminated
require()
call to make the package compatible with some tools (#87)
- Added bright color variants (#55)
- Updated color detection mechanism to work properly on Vercel Edge Runtime (#64)
- Remove use of recursion to avoid possible stack overflow for very long inputs (#56)
- Removed several code elements to reduce the package size (#31)
- Fixed optional flag for
createColors()
in TypeScript typings (#34)
- Removed semicolons to reduce the package size (#28)
- Fixed type definitions (#29)
- Made
createColors()
useisColorSupported
if no flag was provided (aaf57e1
)