galaxiat.ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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 : "blue@galaxiatapp.com",
    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

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i galaxiat.ts

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

38.8 kB

Total Files

51

Last publish

Collaborators

  • warstrolo