I wanted to use rexpaint.js, made by github user chiguireitor (
https://github.com/chiguireitor/rexpaintjs/) and noticed that it was quite bare-bone.
Because it's FOSS, I made a fork of it, with small automated tests, proper documentation and more features:
https://github.com/adri326/rexpaintjs-forkThis fork now features:
- loading REXPaint .xp files (already present in the original library)
- classes for the different data structures
- QoL functions (getters, setters, for easier image manipulation)
- exporting REXPaint files!
- documentation for most of the functions that are public
I took care to make it as compatible with the original library as possible.
The only thing that I cannot control is interoperability with lower-end functions that would ignore my getters (JSON thankfully can be overridden with the toJSON method, so that's not an issue).
Hopefully my fork will be of help! I'm open for any feedback/bug reports.