Node.js SDK
Installation
@vigilry/node is published to npm and supports Node.js 18 and above. It has zero runtime dependencies.
Package Managers
Requirements
| Requirement | Version | Notes |
|---|---|---|
| Node.js | ≥ 18.0.0 | Required for native fetch() support |
| TypeScript | ≥ 4.7 | Optional — type definitions included |
| Module format | CommonJS | ESM interop via require/import |
Importing the SDK
Environment Variable
Store your API key in an environment variable. Never hardcode it in source code.