Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 482 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 482 Bytes

Asker as Promised NPM version

Wraps Asker to return native promises.

Install

npm install asker-as-promised

Usage

var ask = require('asker-as-promised');

ask({ host : 'ya.ru' })
    .then(response => {
        ...
    })
    .catch(error => {
        ...
    });