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

2.0.0 • Public • Published

banner

An easy to use Hypixel API wrapper.

npm version npm downloads

discord server

About

hypixel.ts is a NodeJS wrapper for the Hypixel API which allows you to interact with it 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

FC
FC

💻 🤔 🚧 📆
Christopher Nethercott
Christopher Nethercott

💻

/hypixel.ts/

    Package Sidebar

    Install

    npm i hypixel.ts

    Weekly Downloads

    78

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    581 kB

    Total Files

    147

    Last publish

    Collaborators

    • fc5570