Noodles, Poodles and More!

    diy

    1.1.0 • Public • Published

    diy

    JavaScript API client for DIY.org

    Build Status

    Installation

    npm install diy

    Stream Pattern

    var diy    = require('diy')('*');
    var request = diy({
        method: 'GET',
        uri:    '/status'
    }).pipe(process.stdout);
     
    request.on('error', function (err) {
        // Oh noes! 
    });

    Callback Pattern

    var diy = require('diy')('*');
     
    diy({
        method: 'GET',
        uri:    '/status'
    }, function (err, body) {
        window.alert(body); 
    });

    Testing

    npm install && npm test

    Keywords

    none

    Install

    npm i diy

    DownloadsWeekly Downloads

    4

    Version

    1.1.0

    License

    none

    Last publish

    Collaborators

    • diy
    • remixz