1. 首页
  2. 数据库
  3. 其它
  4. gh got:Got与GitHub API交互的便捷包装 源码

gh got:Got与GitHub API交互的便捷包装 源码

上传者: 2021-02-08 15:36:05上传 ZIP文件 6.28KB 热度 19次
ghgot 与交互的便捷包装 除非您已经在使用Got,否则可能应该使用GitHub自己的或包。 安装 $ npm install gh-got 用法 代替: const got = require ( 'got' ) ; const token = 'foo' ; ( async ( ) => { const { body } = await got ( 'https://api.github.com/users/sindresorhus' , { json : true , headers : { 'accept' : 'application/vnd.github.v3
下载地址
用户评论