Newline Pending Merge

    if-got

    0.0.2 • Public • Published

    if-got Build Status

    got extension for Iconfinder API

    Install

    $ npm install --save if-got
    

    Usage

    const ifGot = require('if-got');
     
    ifGot('icons/search', {query: {query: 'app'}}).then(res => {
        console.log(res.body.total_count);
    });

    Or:

    const ifGot = require('if-got');
     
    ifGot('https://api.iconfinder.com/v2/icons/search', {query: {query: 'app'}}).then(res => {
        console.log(res.body.total_count);
    });

    API

    Supporting APIs same as got even stream API, but GET method is only supported now.

    License

    MIT © Jimmy Moon

    Install

    npm i if-got

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • ragingwind