Use the Membit JavaScript/TypeScript SDK to access real-time context with strong typing and simple APIs.
Format | Return Type | Use Case | TypeScript Type |
---|---|---|---|
”json” | Record<string, any> | Structured data for further processing | Object |
”llm” | string | Human-readable text for direct display | String |
apiKey
is not provided in the client options, the SDK will automatically use MEMBIT_API_KEY
.
examples/
directory for more comprehensive usage:
examples/basic-usage.ts
— Complete workflow with realistic API usage