Socket
Book a DemoInstallSign in
Socket

@tng/soa-node-request

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tng/soa-node-request

SOA Node Request =================

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
1
Maintainers
6
Weekly downloads
 
Created
Source

SOA Node Request 工具库

初始化

  • TWSAuth
  • node-teambition
/**
 * @desc SOA Org 构造器
 * @param {any} TWSAuth TWSAuth 模块
 * @param {any} teambition node-teambition instance
 * @param {any} request https://github.com/request/request
 */

const SOARequest = require('@tng/soa-node-request')

// use twsAuth
const sr = new SOARequest({ twsAuth: ... })

// use teambition
const sr = new SOARequest({ teambition: ... })

功能

  • 构造HTTP Methods方法
  • 封装统一的分页逻辑

FAQs

Package last updated on 13 Sep 2018

Did you know?

Socket

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