1. 首页
  2. 数据库
  3. 其它
  4. drone js:Drone API的Javascript客户端 源码

drone js:Drone API的Javascript客户端 源码

上传者: 2021-05-22 01:38:34上传 ZIP文件 7KB 热度 27次
用法示例: import DroneClient from 'drone-js' ; // drone server and credentials const server = "https://drone.company.com" ; const token = "..." ; // creates the drone client const client = new DroneClient ( server , token ) ; // fetches the repository list client . getRepoList ( ) . then ( ( repos ) => { } ) ; 从窗口配置客户端: window . DRONE_SERVER = "https://drone.company.com" ; window . DRONE_TOKEN = ".
下载地址
用户评论