yapisdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

YAPI sdk

封装了YAPI接口的sdk包

安装

使用 npm:

$ npm install -D yapisdk

使用 yarn:

$ yarn add -D yapisdk

更新:

$ yarn upgrade yapisdk --latest

配置

import { YapiSdk } from 'yapisdk'

const sdk = new YapiSdk({ token: '9a444ebafbea360eab663677865aacc949c156a67b1d9f7152b42541b3840a33' })
let res = await sdk.getProject() // 获取项目基本信息

Readme

Keywords

none

Package Sidebar

Install

npm i yapisdk

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

21.2 kB

Total Files

6

Last publish

Collaborators

  • nbczw8750