Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sdk0

willin24Apache-2.00.1.0

Minimum viable sdk for all your projects

sdk, minimum, viable

readme

sdk0

Minimum viable sdk for all your projects.

github npm npm npm Maintainability Test Coverage Build Status

Install

npm install --save sdk0
# or
yarn add sdk0

Usage

const sdk0 = require('sdk0');

const client = sdk0({
  baseURL: 'https://api.xxxx.com',
  timeout: 1000,
  headers: {
    'X-Custom-Header': 'foobar'
  }
});

// Use just like axios:
client.get('/xxx').then();

client
  .post('/xxx', {
    // form body
  })
  .then();

LICENSE

Apache-2.0

通过支付宝捐赠:

qr