Lark SDK
The Lark SDK (@lark-sh/client) is the official JavaScript/TypeScript client for Lark databases. It gives you real-time data synchronization, offline support, and a modern developer experience in a lightweight package.
Why the Lark SDK?
Small footprint. The entire SDK is ~20KB gzipped. No bloated dependency trees. It loads fast and stays out of your way. Modern API design. Subscriptions return an unsubscribe function directly — no need to track callbacks or call a separateoff() method. This plays nicely with React’s useEffect cleanup, Vue’s onUnmounted, and any other framework lifecycle pattern.
Installation
Platform support
The Lark SDK works in browsers and Node.js. Both CommonJS and ESM builds are included — your bundler or runtime will pick the right one automatically.| Platform | Support |
|---|---|
| Modern browsers (Chrome, Firefox, Safari, Edge) | Full support |
| Node.js 18+ | Full support |
| React Native | Full support |
| Deno | ESM import |

