rod

1.0.1 • Public • Published

rod

features

This module is designed to be the lightest possible wrapper on top of node.js http, but supporting:

  • follows redirects
  • automatically handles gzip/deflate responses
  • supports HTTPS

install

npm install rod

usage

simple GET request

'use strict';
var rod = require('./../index');
 
rod('http://0x4139.com', function (err, res) {
    if (err) {
        throw err
    }
    console.log(res.statusCode);
    res.pipe(process.stdout);
});

license

MIT. Copyright @ Vali Malinoiu

Package Sidebar

Install

npm i rod

Weekly Downloads

3

Version

1.0.1

License

MIT Copyright Vali Malinoiu

Last publish

Collaborators

  • 0x4139