Go to file
Roj Serbest 9fa937d78b Update .gitingnore 2021-10-11 13:13:18 +03:00
.vscode Update .gitignore 2021-10-10 21:15:52 +03:00
examples Update deno example 2021-10-10 20:58:16 +03:00
generators Use interfaces for types instead of 2021-10-11 13:11:23 +03:00
socialvoid Use interfaces for types instead of 2021-10-11 13:11:23 +03:00
.gitignore Update .gitingnore 2021-10-11 13:13:18 +03:00
README.md Update README 2021-10-11 13:11:54 +03:00
package-lock.json Support Webpack 2021-10-10 15:25:19 +03:00
package.json Update the generate script 2021-10-11 10:51:57 +03:00
tsconfig.json In-progress Node backport 2021-10-10 15:00:20 +03:00
webpack.config.js Support Webpack 2021-10-10 15:25:19 +03:00

README.md

SocialvoidJS

Deno, Node.js and browser Socialvoid client.

Introduction

SocialvoidJS is a Deno Socialvoid client which is backported to Node.js using the tool deno2node. Also, it can be bundled for browsers using the bundle command of Deno or with Webpack.

Features

  • Everything works on Node.js, Deno and browsers (2 ways).
  • Multiple ways to store session and other data: MemoryStore, FileStore, LocalStorageStore and the ones you define!
  • Typings for Socialvoid types.
  • Most thrown errors can be used with instanceof.
  • CDN upload and download support.
  • Account, Cloud, Help and Network methods.
  • Capability of sending raw requests.

Bundling for browsers

npm run bundle:deno

Method 2: Webpack

npm run build

Examples

See examples/.