Skip to content

Get started

Enzo Z edited this page Oct 26, 2024 · 6 revisions

To get started with our npm module, follow these simple steps:

  1. Installation:
npm install hostmyservers.js@latest
  1. Use:

JavaScript:

const { HMSClient } = require('hostmyservers.js');
const client = new HMSClient(apiKey);

TypeScript:

import { HMSClient } = 'hostmyservers.js';
const client = new HMSClient(apiKey);
Clone this wiki locally