sdk0

0.1.0 • Public • Published

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

/sdk0/

    Package Sidebar

    Install

    npm i sdk0

    Weekly Downloads

    3

    Version

    0.1.0

    License

    Apache-2.0

    Unpacked Size

    15.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • willin