Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyPixelic/constants

A monorepo containing a collection of Hypixel Constants used by other HyPixelic Packages.

✨ Quick Start

npm » npx jsr add @hypixelic/constants
pnpm » pnpm dlx jsr add @hypixelic/constants
bun » bunx jsr add @hypixelic/constants

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-constants
pnpm » pnpm dlx jsr add @hypixelic/static-constants
bun » bunx jsr add @hypixelic/static-constants

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. Version Downloads
@hypixelic/static-constants Static snapshot of constants for offline or more reliable use. Version Downloads

📁 Repository Structure

  • packages/live/ » @hypixelic/constants
  • packages/static/ » @hypixelic/static-constants
  • scripts/ — Scripts for updating the static constants

Note

This project is not affiliated with or endorsed by Hypixel, Inc.

About

Collection of Hypixel Constants used by other HyPixelic Packages.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages