HyPixelic/constants
A monorepo containing a collection of Hypixel Constants used by other HyPixelic Packages.
✨ Quick Start
npm » npx jsr add @hypixelic/constantspnpm » pnpm dlx jsr add @hypixelic/constantsbun » bunx jsr add @hypixelic/constants
ts
import Constants from "@hypixelic/constants";
const constants = new Constants(["GAMES"]);
await constants.init();
/* Optionally set an interval to automatically update the constants every 24 hours */
await constants.setInterval("daily");
const games = constants.GAMES;npm » npx jsr add @hypixelic/static-constantspnpm » pnpm dlx jsr add @hypixelic/static-constantsbun » bunx jsr add @hypixelic/static-constants
ts
import Constants from "@hypixelic/static-constants";
const constants = new Constants(["GAMES"]);
const games = constants.GAMES;📦 Packages
| Name | Description | Version | Downloads |
|---|---|---|---|
@hypixelic/constants | Live Hypixel constants fetched from Hypixel resource endpoints. | ||
@hypixelic/static-constants | Static snapshot of constants for offline or more reliable use. |
📁 Repository Structure
packages/live/»@hypixelic/constantspackages/static/»@hypixelic/static-constantsscripts/— Scripts for updating the static constants
NOTE
This project is not affiliated with or endorsed by Hypixel, Inc.