Lark client JS API unofficial wrapper based on ECMAScript 6 Promise & TypeScript 4
https://ideapp.dev/Lark-client-API/
app.js
as your entry for example:
import { h5sdk, tt } from 'lark-client-api';
// in WebView
window.h5sdk.error(console.error);
h5sdk
.config({
// your configuration
})
.then(() => h5sdk.ready())
.then(() => {
// your logic
});
// in Mini App
tt.login({
// your configuration
}).then(() => {
// your logic
});
- Lark Node.js SDK: https://github.com/idea2app/Lark-TS-SDK