@tuby/webapi
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published

#@tuby/webapi

##Installation With NPM:

$ npm install @tuby/webapi

With Yarn:

$ yarn @tuby/webapi

##Update With NPM:

$ npm update @tuby/webapi

With Yarn:

$ yarn upgrade @tuby/webapi

Usage

import {WebAPI} from '@tuby/webapi'

var webapi = new WebAPI({
    "baseUrl": "http://192.168.19.41:10003/api",
});
webapi.signIn({
    "name": "admin",
    "pass": "admin123"
})
.then(res => {
    expect(res).to.be.an('object');
    console.log(res);
}).catch(res=>{
    console.log(res);
})

Testing & Dev

npm run dev
npm run demo

📜 Changelog

Detailed changes for each release are documented in the CHANGELOG.md

©️ License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @tuby/webapi

Weekly Downloads

0

Version

1.0.24

License

MIT

Unpacked Size

18.6 kB

Total Files

6

Last publish

Collaborators

  • tubycn