Skip to content

ipiyer/memcache-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QMemcached

QPromises wrapper for node-memcached node-memcached

Example:

Memcached set

qmemcached = new qMemcached("localhost:11211");

qmemcached
.set("foo", "bar", 1000)
.then(function(res){
  console.log("Memcached updated:", res);
})
.fail(function(e){
  throw e;
});

Memcache get

qmemcached = new qMemcached("localhost:11211");

qmemcached
.get("foo")
.then(function(value){
  console.log(value);
})
.fail(function(e){
  throw e;
});

About

node memcached with promises.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published