Skip to content

Unofficial Lark client JS API based on ECMAScript 6 Promise & TypeScript 4, makes it easier to build Web or Mini-app in Lark client.

Notifications You must be signed in to change notification settings

idea2app/Lark-client-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lark client API

Lark client JS API unofficial wrapper based on ECMAScript 6 Promise & TypeScript 4

CI & CD

NPM

Document

https://ideapp.dev/Lark-client-API/

Modules

  1. Utility
  2. Authorization
  3. Chat

Usage

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
});

Inspired by

  1. WeChat JS-SDK Promise
  2. WeChat Mini-Program API Typings

Related with

About

Unofficial Lark client JS API based on ECMAScript 6 Promise & TypeScript 4, makes it easier to build Web or Mini-app in Lark client.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published