Connect to FIWARE Object Storage GE from NodeJS

not maintaining this any more
Last updated 4 years ago by arvidkahl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fiware-object-storage 
SYNC missed versions from official npm registry.

This module is deprecated and no longer maintained. A working (and much more feature-complete) Object Storage GE module can be found at renarsvilnis/fiware-object-storage-ge.


A NodeJS module for read/write access to the FIWARE Object Storage GE


  $ [sudo] npm install fiware-object-storage


Include the fiware-object-storage module and initialize it with a configuration object:

fiwareObjectStorageConfig = {
  url       : 'FIWARE_OBJECTSTORAGE_URL'  // IP of the Object Storage GE, e.g. "" (FIWARE Lannion2)
  auth      : 'FIWARE_AUTH_URL'           // IP of the Auth Services, likely ""
  container : 'some-container'            // Whatever container you want to connect to
  user      : "FIWARE_EMAIL_ADDRESS"      // Your FIWARE account email
  password  : "FIWARE_PASSWORD"           // Your FIWARE account password.. i know.. no comment.

var fiwareObjectStorage = require('fiware-object-storage');

fios = fiwareObjectStorage(fiwareObjectStorageConfig);

  // Now we are connected.
  var files = fios.getFileList() // Prints file list to the console and returns it as an array of strings




Connects to the URLs declared in the config. Then calls the callback function


Prints and returns Array of File Names

putFile(name, data, meta)

Uploads file into the container. name will be the filename inside the container, data must be the file data in base64 encoding. meta can be any additional data, will be stringified.


Downloads the file called name from the container and returns:

  meta : String
  mimetype: String
  value : base64-encoded data


No warranties. It's fiware-related code.

For anything else: MIT.

Current Tags

  • 0.2.1                                ...           latest (4 years ago)

4 Versions

  • 0.2.1 [deprecated]           ...           4 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (7)
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2017 © |