haxball-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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,
});

Readme

Keywords

none

Package Sidebar

Install

npm i haxball-types

Weekly Downloads

6

Version

1.0.2

License

ISC

Unpacked Size

11.4 kB

Total Files

13

Last publish

Collaborators

  • tyde81