hypixelts / hypixel.ts Goto Github PK
View Code? Open in Web Editor NEWA simple, easy to use wrapper for Hypixel API.
Home Page: https://npmjs.com/hypixel.ts
A simple, easy to use wrapper for Hypixel API.
Home Page: https://npmjs.com/hypixel.ts
title
When writing user facing applications it is annoying to have to externally fetch the user's name from an external source.
const username = await client.util.getUsername("UUID")
Using axios and writing it myself :-(
No response
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: .github/renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid schedule: Invalid schedule: Failed to parse "every sunday at 10am"
hypixel.ts/src/managers/PlayerManager.ts
Line 56 in 3890323
This should return an interface of Friend that has the correct values.
interface Friend {
_id: string;
started: number;
uuidReceiver: string;
uuidSender: string;
}
You have to cast to unknown and then cast back.
const rawResponse = await hpclient.players.getFriends(args[0]);
let friends = rawResponse as unknown as Friend[];
interface Friend {
_id: string;
started: number;
uuidReceiver: string;
uuidSender: string;
}
1.1.0
v17.8.0
macOS
Low (slightly annoying)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-v8
, vitest
).github/workflows/ci.yml
actions/checkout v4
actions/setup-node v4
package.json
@sapphire/async-queue ^1.5.2
@commitlint/cli ^19.3.0
@commitlint/config-conventional ^19.2.2
@favware/cliff-jumper ^3.0.3
@sapphire/eslint-config ^5.0.4
@sapphire/prettier-config ^2.0.0
@sapphire/ts-config ^5.0.1
@types/node ^20.12.7
@typescript-eslint/eslint-plugin ^7.7.1
@typescript-eslint/parser ^7.7.1
@vitest/coverage-c8 ^0.33.0
@vitest/coverage-v8 ^1.5.0
esbuild-plugin-file-path-extensions ^2.0.0
eslint ^8.57.0
eslint-plugin-prettier ^5.1.3
git-cliff ^2.2.1
husky ^9.0.11
lint-staged ^15.2.2
prettier ^3.2.5
tsup ^8.0.2
typedoc ^0.25.13
typescript ^5.4.5
vitest ^1.5.0
yarn 4.1.1
CI not working correctly since you'll need the env variable set correctly.
No response
nan
nan
No response
Low (slightly annoying)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.