@36node-lecha/chat-sdk-js 中文文档教程
@36node-lecha/chat-sdk
Install
yarn add module
Usage
const SDK = require("@36node-lecha/chat-sdk");
const sdk = new SDK({ base: "http://localhost:3000" });
await sdk.pet.listPets();
Test
yarn test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
GitHub @36node
@36node-lecha/chat-sdk
Install
yarn add module
Usage
const SDK = require("@36node-lecha/chat-sdk");
const sdk = new SDK({ base: "http://localhost:3000" });
await sdk.pet.listPets();
Test
yarn test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
GitHub @36node