beg
Fast and simple HTTP request node module
Last updated 6 years ago by djengo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install beg 
SYNC missed versions from official npm registry.

beg

A fast and simple node HTTP request module

Usage

    var beg = require("beg");
    beg.get(options, parseJson, function (err, body){
      console.log(body);
    });

Where options is a standard options hash like the one of http.request

Additionnally, the option secure provide the ability to emit secure (HTTPS) requests

When setted to true the optional parseJson argument force beg to parse the JSON response

Current Tags

  • 0.0.3-alpha                                ...           latest (6 years ago)

4 Versions

  • 0.0.3-alpha                                ...           6 years ago
  • 0.0.2-alpha                                ...           7 years ago
  • 0.0.1-alpha                                ...           7 years ago
  • 0.0.0-alpha                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 3
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |