JSPM

rapid-memcache

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q13123F
  • License ISC

Memcache implemention for rapidjs data access layer

Package Exports

  • rapid-memcache

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rapid-memcache) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

RAPID-MEMCACHE

node.js Memcached 客户端

###安装

npm install rapid-memcache

###使用

var cache = require('../').instance({
    host: '10.0.0.222', // default is '127.0.0.1'
    port: 11211, // default is 11211
    user: "username",
    password: 'password'
});
cache.set('foo', 'bar').then(function(){
    cache.get('foo').then(function(ret){
        ...
    });
});

更多API详情参考 clouda+