National Pest Management
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bluesky-litepublic

    node-bluesky

    A lightweight, simplified node.js library for accessing Windows Azure storage

    Usage

    var s = require('bluesky').storage({account: 'account', key: 'key'});
     
    // queues, with events
    var q = s.queue('happenings');
    q.on('message', function(msg, done) {
      console.log(msg);
      done();  // delete the message
    });
    q.poll(1000);
     
    // blobs, as streams
    var c1 = s.container('new');
    var c2 = s.container('old');
    c1.get('readme.txt').pipe(c2.put('archive.txt'));
     
    // and tables, oh my! 
    var t = s.table('folks');
    t.filter({'isPremium': true}).rows().on('data', function(err, row) {
      console.log(row.user + '' + row.visits + '' + row.isPremium);
    });
     

    See the tests for additional examples, and the wiki for API documentation and a Road Map.

    Install

      npm install bluesky
    

    Platform Support

    The library can used with both Windows and non-Windows versions of node.js

    Dependencies

    This library depends on:

    ... and for unit tests:

    install

    npm i bluesky-lite

    Downloadsweekly downloads

    7

    version

    0.7.3

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar