I've published another prerelease of #MastoBot to #npm; this prerelease expands coverage of the MastoBotAPI class and significantly improves method documentation coverage.
The library is at https://gitlab.com/eroosenmaallen/mastobot and https://www.npmjs.com/package/mastobot.
This covers most of the basic API endpoints, one could build a fairly full-featured bot or client around it, and the underlying MastoBotHttp methods are exposed so any missing endpoints can be called manually.
Real Soon Now ™, I will start building out the really cool stuff in the top-layer api.
The main “smart” api pattern I'm planning is `processNotifications(callbacks)` (and `processHomeTimeline()`, `processLocalTimeline()`, etc), where `callbacks` is an object containing callback functions for each type of object the timeline can return; the method will return a Promise resolving to the array of callback returns.
As I mentioned earlier, I'm dogfooding MastoBot in a silly little Mastodon bot called Multiverse Coordinates, at https://botsin.space/@multiverse. Right now it's a bit messy, using the MastoBotAPI endpoint wrappers, but as I build out the library I'm updating the bot to use new features. Once it's a reasonable representation of the library, I plan to release the code as an example for MastoBot.