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

1.1.4 • Public • Published

banner

An easy to use Hypixel API wrapper.

npm version npm downloads

discord server

About

hypixel.ts is a NodeJS module which allows you to interact with the Hypixel API easily.

  • Written in Typescript
  • CommonJS, ESM support
  • 100% coverage of Hypixel API

Installation

Node.js 14+ or newer is required

npm install hypixel.ts
yarn add hypixel.ts
pnpm add hypixel.ts

Example Usage

Get the info of a player:

import { Client } from 'hypixel.ts';

const client = new Client('API_KEY');

client.players.fetch('armc').then(console.log);

Get a skyblock profile:

import { Client } from 'hypixel.ts';

const client = new Client('API_KEY');

client.skyblock.getProfile('lifelong').then(console.log);

Links

Help

If you're having issues with a method, or the wrapper isn't working as expected, you can join our Discord Server or contact FC#5104.

Contributors

Package Sidebar

Install

npm i hypixel.ts

Weekly Downloads

2

Version

1.1.4

License

MIT

Unpacked Size

136 kB

Total Files

153

Last publish

Collaborators

  • fc5570