DailyJS

Node Roundup: armory, imageable, spreadsheets

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

graphics games node modules

Node Roundup: armory, imageable, spreadsheets

Posted by Alex R. Young on .
Featured

graphics games node modules

Node Roundup: armory, imageable, spreadsheets

Posted by Alex R. Young on .

node-armory

node-armory (npm: armory) by Christian Wesselhoeft is a library for accessing Blizzard's REST API
for World of Warcraft
. It can
fetch data about realm status, characters, guilds, arenas, items, and
more.

Rather than messing around with lots of HTTP calls, this is now
possible:

var armory = require('armory');

armory.publicKey = 'publickey';
armory.privateKey = 'privatekey';

// Single character
armory.character('Dargonaut_Shadowmoon', function(err, character) {

});

node-imageable

node-imageable (npm: imageable) is Connect middleware for image manipulation. Given an image's URL, it can resize, fit, and crop it. It also has configuration
options for before/after event handlers, which could be used for
generating statistics or logging.

The actual image processing is down with good old ImageMagick. A wrapper
is used which just shells out with exec.

DaWanda, the company that made node-imageable, also offers
node-imageable-server which is a fully-featured Express app demonstrating the library.

node-spreadsheets

node-spreadsheets (npm: spreadsheets) from EastCloud is a library for accessing Google Spreadsheets:

var authenticate = require("spreadsheets");

authenticate({
  Email: 'alex@example.com',
  Passwd: 'password'
}, function(err, spreadsheets) {
  spreadsheets.list(function(err, list) {
    var spreadsheet = list['spreadsheet key'];
    spreadsheet.worksheet(function(err, sheets) {
      // etc...
    });
  });
});

This library makes it possible to get and set values in spreadsheets,
and even change cell styles.