npm.io
1.0.2 • Published 6 years ago

haxball-types

Licence
ISC
Version
1.0.2
Deps
0
Size
11 kB
Vulns
0
Weekly
0

Haxball types

Haxball types is a way of typing the Haxball API, thus facilitating development.


Install

NPM

npm install haxball-types --save

Yarn

yarn add haxball-types


Example

import { HBInit } from "haxball-types";

declare const HBInit: HBInit;

const room = HBInit({
  roomName: "My room",
  maxPlayers: 16,
  noPlayer: true,
});