Neurological Phenomenon Multiplexer

npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

http-helper

0.1.4 • Public • Published

http-helper

简易的网络接口调用工具

http请求的工具操作集,包含请求超时时间设置
提供request、get、post等方法调用远程接口

安装与初始化,node

npm install http-helper
var httpHelper = require('http-helper');

方法调用说明

也可以执行grunt命令,查看doc文件夹下生成的帮助文档

request:发起远程请求的基础方法

RequestCallback:数据回调方法

get:以GET的方式发起远程请求,内部调用request

post:以POST的方式发起远程请求,内部调用request

install

npm i http-helper

Downloadsweekly downloads

6

version

0.1.4

license

AGPL-3.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability