Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggjs/egg-dingtalk
egg plugin for dingtalk
https://github.com/eggjs/egg-dingtalk
dingtalk egg-plugin
Last synced: 4 days ago
JSON representation
egg plugin for dingtalk
- Host: GitHub
- URL: https://github.com/eggjs/egg-dingtalk
- Owner: eggjs
- License: mit
- Created: 2016-08-09T06:37:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T03:17:32.000Z (about 5 years ago)
- Last Synced: 2024-10-29T21:05:52.786Z (5 days ago)
- Topics: dingtalk, egg-plugin
- Language: JavaScript
- Size: 15.6 KB
- Stars: 31
- Watchers: 9
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
- awesome-egg - egg-dingtalk - dingtalk plugin for egg ![](https://img.shields.io/github/stars/eggjs/egg-dingtalk.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/egg-dingtalk.svg?style=flat-square) (仓库 / 插件)
- awesome-egg - egg-dingtalk - dingtalk plugin for egg (Plugins)
README
# egg-dingtalk
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url][npm-image]: https://img.shields.io/npm/v/egg-dingtalk.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-dingtalk
[travis-image]: https://img.shields.io/travis/eggjs/egg-dingtalk.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-dingtalk
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-dingtalk.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-dingtalk?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-dingtalk.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-dingtalk
[snyk-image]: https://snyk.io/test/npm/egg-dingtalk/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-dingtalk
[download-image]: https://img.shields.io/npm/dm/egg-dingtalk.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-dingtalkegg plugin for [dingtalk](http://www.dingtalk.com)
## Install
```bash
$ npm i egg-dingtalk --save
```## Usage
```js
// {app_root}/config/plugin.js
exports.dingtalk = {
enable: true,
package: 'egg-dingtalk',
};// {app_root}/app/controller/test.js
exports.list = async ctx => {
ctx.body = await ctx.dingtalk.user.list('1', true);
};
```## Configuration
```js
// {app_root}/config/config.default.js
exports.dingtalk = {
corpid: '',
corpsecret: '',
host: '',
enableContextLogger: '',
};
```## Feature
- https://open-doc.dingtalk.com/
- https://github.com/ali-sdk/node-dingtalk## Questions & Suggestions
Please open an issue [here](https://github.com/eggjs/egg/issues).
## License
[MIT](LICENSE)