https://github.com/th3shadowbroker/spigotmc.js
A wrapper for the Spigot API
https://github.com/th3shadowbroker/spigotmc.js
Last synced: 4 days ago
JSON representation
A wrapper for the Spigot API
- Host: GitHub
- URL: https://github.com/th3shadowbroker/spigotmc.js
- Owner: Th3Shadowbroker
- License: mit
- Created: 2021-12-21T22:19:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-09T06:32:14.000Z (6 days ago)
- Last Synced: 2025-07-09T07:37:26.026Z (6 days ago)
- Language: TypeScript
- Size: 1.46 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SpigotMC.js



SpigotMC.js is an API wrapper for the [XenforoResourceManageAPI](https://github.com/SpigotMC/XenforoResourceManagerAPI). This project is fully open-source.
**Using SpigotMC.js in your project**
`npm install @th3shadowbroker/spigotmc.js` or `yarn add @th3shadowbroker/spigotmc.js`
## Dependencies
**Axios**: This library uses the popular Axios REST client to perform requests to the Spigot API.## Documentation
A full documentation can be found on [GitHub Pages](https://th3shadowbroker.github.io/spigotmc.js/).## Usage
```typescript
import { Spigot } from '@th3shadowbroker/spigotmc.js';new Spigot().findAuthor("th3shadowbroker")
.then(author => {
if (author) {
console.log(`The authors id is ${author.id}!`);
} else {
console.error("Author not found!");
}
})
.catch(error => {
console.error(error);
});
```