Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 651 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 651 Bytes

Blackadder

Migrated to https://github.coupang.net/coupang/couplay-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