Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

bluemixdatacache

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluemixdatacache

A simple library to interact with BlueMix's Data Cache service

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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);
  });
});

Keywords

bluemix

FAQs

Package last updated on 09 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts