Socket
Socket
Sign inDemoInstall

@tuby/webapi

Package Overview
Dependencies
2
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tuby/webapi

tuby webapi server visit lib


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

#@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

:scroll: Changelog

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

MIT

Keywords

FAQs

Last updated on 14 Aug 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc