blackadder
v1.0.10
Published
Async flashheart
Downloads
8
Readme
Blackadder
Async Flashheart
API
Using async-await,
const client = new Blackadder(),
{ body } = await client.get('http://hihi.com/haha.json');
Promise?
const Blackadder = require('blackadder').default,
client = new Blackadder();
client.get('http://hihi.com/haha.json')
.then((res) => { console.log(res.body); console.log(res.response); })
.catch((err)) => { console.log(err); });
Credits
- Copyright © 2016 HOOQ Digital Pte. Ltd. and project authors.
- Licensed under MIT