Installation
Install and set up Insightcn.
Package Manager
sh npm install insightcn sh pnpm add insightcn sh yarn add insightcn Environment Variables
The SDK uses the following environment variables:
| Variable | Description |
|---|---|
INSIGHTCN_API_URL | Override default API URL |
INSIGHTCN_API_KEY | Default API key for all requests |
TypeScript
Insightcn is written in TypeScript and includes full type definitions. No additional @types packages are needed.