gitee-client
v1.0.0
Published
Gitee API wrapper.
Downloads
883
Readme
Gitee API wrapper for JavaScript
Gitee gist API wrapper. api docs.
Installation
Node.js
npm i gitee-client
Usage
import Gitee from 'gitee-client'
const gc = new Gitee(
GITEE_TOKEN
)
let r = await gc.get('/v5/gists').catch(console.log)
expect(r.data.length > 0).toBe(true)
Test
cp .sample.env .env
# edit .env fill your github token
npm run test
Credits
Based on Tyler's https://github.com/tylerlong/ringcentral-js-concise.
License
MIT