An Imbo client for node.js and recent browsers

npm install imbo-client
24 downloads in the last week
50 downloads in the last month

Javascript client for imbo

A javascript (browser/node.js) client for imbo.

Basic usage (node.js)

var Imbo = require('imbo-client');

var client = new Imbo.Client([''], 'publicKey', 'privateKey');

// Path to local image
var path = '/path/to/image.png';

client.addImage(path, function(err, imageIdentifier, data) {
    if (err) {
        console.log('Something went wrong!', err);
    } else {
        console.log('Image uploaded! Identifier: ' + imageIdentifier);
        console.log('Url: ' + client.getImageUrl(imageIdentifier).thumbnail(100, 100).jpg());


More to come :-)

npm loves you