Go to file
Roj Serbest 1692d509a1 Update `.npmignore` 2021-10-18 09:52:53 +03:00
.vscode Add deno config 2021-10-15 12:20:20 +03:00
examples Add upload stream example for Deno 2021-10-15 13:14:02 +03:00
generators Add new validation errors 2021-10-16 17:16:49 +03:00
socialvoid Regenerate errors and types 2021-10-16 17:17:05 +03:00
.gitignore Update .gitingnore 2021-10-11 13:13:18 +03:00
.npmignore Update `.npmignore` 2021-10-18 09:52:53 +03:00
README.md Update README 2021-10-11 13:11:54 +03:00
deno.json Add deno config 2021-10-15 12:20:20 +03:00
package-lock.json Update `package.json` 2021-10-18 09:52:12 +03:00
package.json Update `package.json` 2021-10-18 09:52:12 +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/.