Is it possible to use it as a package for other project as well?
Viewing post in Ansizalizer comments
It's not an installable package but you're free to cannibalize the code if you want. I'm mainly using Charm's golang libraries to chunk the different ascii / unicode characters together. You can find the main processing code in the ascii.go, unicode.go, and custom.go files here (sorry for the lack of documentation): https://github.com/Zebbeni/ansizalizer/tree/main/app/process
I've since extracted the processing code into a separate golang package here (if you're still interested): https://github.com/Zebbeni/ansipx