@36node/auth-sdk 中文文档教程
@36node/auth-sdk
Install
yarn add @36node/auth-sdk
Usage
SDK
const SDK = require("@36node/auth-sdk");
const sdk = new SDK();
sdk.namespace.listNamespaces();
Mock
const mock = require("@36node/auth-sdk/mock");
const db = mock.createDB();
mock.bindRouter({
router,
})
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
Author
在贡献者 (list) 的帮助下由 36node 创作和维护。
GitHub @36node
@36node/auth-sdk
Install
yarn add @36node/auth-sdk
Usage
SDK
const SDK = require("@36node/auth-sdk");
const sdk = new SDK();
sdk.namespace.listNamespaces();
Mock
const mock = require("@36node/auth-sdk/mock");
const db = mock.createDB();
mock.bindRouter({
router,
})
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
Author
module © 36node, Released under the MIT License.
Authored and maintained by 36node with help from contributors (list).
GitHub @36node