@36node-fcp/ecs-api-sdk 中文文档教程
@36node-fcp/ecs-api-sdk-js
Install
yarn add module
Usage
const SDK = require("@36node-fcp/ecs-api-sdk-js");
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-fcp/ecs-api-sdk-js
Install
yarn add module
Usage
const SDK = require("@36node-fcp/ecs-api-sdk-js");
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