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

1.0.6 • Public • Published

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

Package Sidebar

Install

npm i spacetraders.ts

Weekly Downloads

1

Version

1.0.6

License

Apache-2.0

Unpacked Size

164 kB

Total Files

105

Last publish

Collaborators

  • sirh