Nothing Particularly Magnificent

    @tng/soa-node-request

    1.0.4 • Public • Published

    SOA Node Request 工具库

    初始化

    /**
     * @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: ... })
    

    功能

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

    Keywords

    none

    Install

    npm i @tng/soa-node-request

    DownloadsWeekly Downloads

    4

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    4.36 kB

    Total Files

    4

    Last publish

    Collaborators

    • aerohui
    • isayme
    • orangemi