Skip to content

spacetradersts/spacetraders.ts

Repository files navigation

Spacetraders.ts

Build Status Coverage Status npm version Dependency Status devDependency Status NPM

spacetraders.ts (WIP)

An object-oriented TypeScript library for spacetraders API.

Example usage:

creating an account then logging in

import { Client } from 'spacetraders.ts';

const client = new Client();
client.createAccount('username').then((newUser) => {
    client.login(newUser.token);
});

client.on('ready', () => {
    console.log(`Logged in as ${client.username}`);
});

The library is still in development and is not yet ready for production use. Contributions and stars are welcome and if you really like the project, support me on Patreon