op

oboe-p

Oboe.js XHR wrapper with ES6 promises

Showing:

Popularity

Downloads/wk

15

GitHub Stars

1

Maintenance

Last Commit

5yrs ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

5.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

oboe-p

oboe-p is a simple Oboe.js XHR wrapper with ES6 promises optimized for use with your Node.js and React apps.

Examples

Node.js

exports.getExample = function (req, res) {

    var xhrData = {
        url: 'http://example.com/'
    };

    op(xhrData)
        .then((payload) => res.send(payload))
        .catch((error) => res.status(500).send(error));
};

Installation

Install the package

npm install oboe-p --save

Import into your application

import op from 'oboe-p';

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100