Client for openstack object-storage.

npm install object-storage
8 downloads in the last day
9 downloads in the last week
54 downloads in the last month


node client library for Openstack Object Storage

Build Status


npm install object-storage


var ObjectStorage = require('object-storage'),
    storage = new ObjectStorage({
        host: '',
        username: '',
        password: ''

storage.create('mycontainer').then(function() {
    storage.putFile({src: 'path/to/file.jpg', dst: 'mycontainer/file.jpg'}).then(function(url) {
        console.log('Object storage url to file', url);

See object-storage.test.js for more examples.

Run Tests

npm test

Enable debugging output

Set DEBUG environment variable to object-storage

DEBUG=object-storage node ./app.js
npm loves you