requesty

http and https requests in node and in browser

npm install requesty
12 downloads in the last week
32 downloads in the last month

requesty

Build Status Npm module Code Climate

browser support

promise based http and https requests, in node and in browser

Getting Started

Install the module with: npm install requesty --save

var requesty = require('requesty');

requesty('http://httpbin.org/html').then(function (res) {

    expect(res.data.indexOf("Herman Melville - Moby-Dick")).to.be.greaterThan(10);

}).then(null, function (err) {

    console.log("%s\n%s", err.message, err.stack);

});

Documentation

(Coming soon)

Examples

see test folder for more advanced usage

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

License

Copyright (c) 2013 parroit
Licensed under the MIT license.

npm loves you