0.6.2 • Published 9 years ago

object-storage v0.6.2

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

node-object-storage

node client library for Openstack Object Storage

Build Status

Installation

npm install object-storage

Example

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
0.6.2

9 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

11 years ago