@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

    Keywords

    Install

    npm i @tuby/webapi

    DownloadsWeekly Downloads

    60

    Version

    1.0.24

    License

    MIT

    Unpacked Size

    18.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • tubycn