Official JavaScript SDK for Glitch, an open-source live community platform for gaming and esports. Version 3.0.6 is current stable. Released as needed; key differentiator is its tight integration with the Glitch backend API. Supports both browser and Node.js environments. Includes TypeScript definitions.
npm install glitch-javascript-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows setup, authentication via JWT, login call, and user retrieval.
Use import syntax or enable ESM compat in your bundler (e.g., 'type': 'module' in package.json).
Replace Glitch.api.Auth.register with Glitch.api.Users.create.
Explicitly pass true to ensure consistent trailing slash behavior.
Always call setBaseUrl before setAuthToken.
Use: import Glitch from 'glitch-javascript-sdk';
Convert to import syntax or use dynamic import().
Ensure you import Glitch correctly as default and then call Glitch.config.Config.setBaseUrl.
No dependency data recorded yet.