3.1.1 • Published 7 years ago

oboe-p v3.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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';
3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago