Skip to content

galaxiat/galaxiat.ts

Repository files navigation


galaxiat.ts


Discord server npm version npm downloads Build status

About

galaxiat.ts Node.js package allows you to easily interact with the Galaxiat API.

Installation

Node.js 16.9.0 or newer is required.

npm install galaxiat.ts

Example

Create Galaxiat User

src/index.ts

import { GalaxiatClient, User } from "galaxiat.ts"

const Client = new GalaxiatClient("dev", "v0");
(async () => {
  const version = Client.dataVersion
  console.log(await User.Create<typeof version>(Client, {
    email : "[email protected]",
    password : "DEMOBlueIsBlueDEMO",
    username : "blue",
    username_at : "blue"
  }))
})()

Links

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested.

License

Software is under MIT license