HID communication with GJS for QMK

I’m trying to write a GNOME extension that communicates with QMK keyboards via HID. Is there a GJS-compatible library for doing this? There’s node-hid, but it requires Node.js.