New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

glitch-javascript-sdk

Package Overview
Dependencies
Maintainers
0
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glitch-javascript-sdk

Javascript SDK for Glitch

  • 1.6.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
37
decreased by-84.9%
Maintainers
0
Weekly downloads
 
Created
Source

Glitch Javascript SDK

Welcome to the Glitch JavaScript SDK. This SDK is designed to make access Glitch more easy and accessible for developers.

What is Glitch?

Glitch an open-source live community platform for gaming publishers and esports organizations to establish vibrant gaming communities. While the technology is retro-fitted for gaming, it can be used for various other use cases such as:

  • Live Shopping

  • Film Events

  • Conference Events

  • And more

How To Install

The library is agnostic to any application that is using Javascript with includes vanilla Javascript, React, Angular, Express and any of the other major frameworks. To install, simply run the following:

npm install glitch-javascript-sdk --save

This will add the package to your package.json

How To Use

The API coincides with the Glitch Backend. You can use the API as such:


import Glitch from 'glitch-javascript-sdk';

//Set the API Url to your backend
Glitch.config.Config.setBaseUrl("https://api.glitch.local/api/", true);

//Set Auth JSON Web Token (if user has loggedin)
Glitch.config.Config.setAuthToken("some-jwt");

//Make API Calls 
Glitch.api.Auth.login("john@example.com", "abc123").then(()=> {

}).catch(error => {

)

Documentation

Documentation is produced via typedoc as the code comments are extensive and turned in readable documentation.

https://glitch-gaming-platform.github.io/Glitch-Javascript-SDK/

FAQs

Package last updated on 13 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc