0.2.0 • Published 6 years ago

superinstance v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

superinstance

allow creation of separate instances of superagent

Build Status codecov npm downloads js-standard-style Commitizen friendly semantic-release

Usage

import request from 'superinstance';
const server = express();
const app = request(server); // or request('http://example.io/');
const instance = app.set('authorization', `Bearer ${token}`);

await instance.post('/graphql').send({ query, variables: { input } });
await instance.get('/image');
...
0.2.0

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago