This is an attempt to generate a native wrapper around raylib, for quickjs, using a script written for quickjs.
I am still working out ideas on this, and it's not usable. Check back!
git clone --recursive https://github.com/konsumer/quickray.git
cd quickray/build
cmake ..
make
This will produce a few .so files, and qjs binary you should include with your JS app.