node-bluesky
A node.js library for accessing the Windows Azure REST API's.
Usage
var s = require('bluesky').storage({account: 'account', key: 'key'});
var q = s.queue('happenings');
q.on('message', function(m) {
console.log(m.body);
});
q.poll(10000);
var c1 = s.container('new');
var c2 = s.container('old');
c1.get('readme.txt').pipe(c2.put('archive.txt'));
var t = s.table('folks');
t.filter({'user': 'joe', 'visits': 1, 'isPremium': true}).forEach(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:
Special Thanks
…to Cerebrata for Cloud Storage Studio - an indispensible tool (along with fiddler2) in the node-bluesky debugging process!
TODO
- Finish table, add blob and queue API's
- Management API's
- AppFabric API's