Package Installation
Install the SDK using your preferred package manager:Quick Start
You can get your API key from the NoCloud
Dashboard.
Configuration Options
You can pass an options object for more control:| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | Required. Your NoCloud API key |
baseUrl | string | https://api.nonefivem.com | API base URL |
basePath | string | /cloud | Base path for API endpoints |
retries | number | 3 | Number of retry attempts for failed requests |
retryDelayMs | number | 1000 | Delay in ms between retry attempts |
Compatibility
The SDK works in both Node.js and browser environments:- Node.js: Version 18 or higher (uses native
fetch) - Browser: All modern browsers with
fetchsupport

