A library to connect to Scratch.
Run this command in a terminal.
npm install meowclient
import { ScratchSession, Profile } from "meowclient";
const session = new ScratchSession();
await session.init("user", "pass");
const me = new Profile(session, session.username);
console.log("My status is " + (await me.getStatus()));
await session.logout();
This uses exclusively ESM (ECMAScript Modules) instead of CJS due to some dependencies meowclient uses.
You can get help using Meowclient from the official Meowclient forum topic
Thanks to all of the people who use my library!
Thanks to Scratchclient and Raihan142857 (CubeyTheCube) for a lot of the login stuff!