【文件属性】:
文件名称:ghteams:与 GitHub 团队 API 交互的节点库
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-31 17:17:23
JavaScript
战队
与 GitHub 组织团队 API 交互的节点库
示例用法
const ghteams = require ( 'ghteams' )
, authOptions = { user : 'rvagg' , token : '24d5dee258c64aef38a66c0c5eca459c379901c2' }
// note the auth token needs the 'user' scope to deal with org teams
// list all teams in an organisation
ghteams . list ( authOptions , 'myorg' , function ( err , teamlist ) {
// Array of team data for 'myorg'
console . lo
【文件预览】:
ghteams-master
----.gitignore(14B)
----README.md(2KB)
----ghteams.js(2KB)
----LICENSE(2KB)
----.jshintrc(1KB)
----package.json(718B)
----test.js(4KB)
----.travis.yml(129B)