If you are interested in using an alternative, updating version to moomooapi, try this by Nuro and Murka. As I have since left the .io community and dont have too much of a desire to update.
An api written for the browser game moomoo.io meant ONLY for the browser
To install:
npm i @Mathrandom7910/moomooapi
The transpiled javascript can be found in the distributions folder. It can alternatively be required for userscripts with
// @require https://raw.githubusercontent.com/Mathrandom7910/moomooapi/master/dist/MooMooAPI.umd.js
Examples can be viewed at the examples folder.
Documentation was created using typedoc, you can view it here.
Add documentation for each packet.
Make packet listener use objects instead of switch for better performance.
Create bot api???
Credit where it's due, Sanctuary for some item ids, as well as For a list of packets, and of course whoever decided it would be a good idea to leave the non-minified version of moomoo's bundle on dev.moomoo.io for a short time.