Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

glynnbird/bluemix_datacache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bluemixdatacache

A simple Node.js library to interact with BlueMix's DataCache service.

It:

  • parses the credentials found in BlueMix's environment variables
  • exposes put/get/remove functions to add/fetch/remove key/value pairs
var bluemixdatacache = require('bluemixdatacache');

bluemixdatacache.put('mykey', {a:1, b:"two", c:true}, function(err, data) {
  bluemixdatacache.get('mykey', function(err, data) {
    console.log("Got", data);
  });
});

About

Node.js library to interact with IBM BlueMix's SessionCache service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published