prc.api
Version:
prc.api is an asynchronous Node.js wrapper for the PRC/ERLC API.
28 lines (19 loc) • 1.17 kB
Markdown
> [!WARNING]
> **This package is in BETA!** Release is expected within the following weeks to months after testing on live applications. All BETA releases are tested up to spec; please report any unexpected behavior.
`prc.api` is an asynchronous Node.js wrapper for the Police Roleplay Community (PRC) API.
It provides a convenient way to interact with PRC APIs, including the [private server APIs](https://apidocs.policeroleplay.community) for ER:LC.
### 📖 [Documentation](https://github.com/TychoTeam/prc.api-js/wiki) | [npm](https://npmjs.com/package/prc.api)
## Features
- 🛡️ **Maintained**
Actively maintained and fully open source for any contributions.
- 💫 **Full Coverage**
Supports all features from the API.
### And more...
- **Rate Limits** & **Caching**
By default, the package handles and queues requests to ensure **near-zero** chances of rate limits. It also caches frequent requests and reusable data.
- **Better Types**
The package is strictly typed and all API data is transformed for ease of use. 🎊 **Vehicles and command names are included!**
## Install Latest Release (`npm`)
```sh
npm install prc.api
```