Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meltingice/node-memcached
A Node.JS memcached interface
https://github.com/meltingice/node-memcached
Last synced: 24 days ago
JSON representation
A Node.JS memcached interface
- Host: GitHub
- URL: https://github.com/meltingice/node-memcached
- Owner: meltingice
- Created: 2010-09-02T17:50:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-02T18:01:42.000Z (about 14 years ago)
- Last Synced: 2024-04-13T01:54:13.954Z (7 months ago)
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
About
node-memcached is a simple way to connect and interact with a memcached server using Node.JS.How to Use
var m = require('./node-memcached');m.connect('localhost', 11211, function() {
m.get('some_key', function(data) {
console.log(data);
});
m.set('diff_key', {some:'data'}, 43200, function() {
console.log('stored!');
});
m.increment('numeric_data', 2, function(new_val) {
console.log('incremented to ' + new_val);
});
m.delete('bad_key');
});What Needs to be Done
* Lots of testing
* Error handling
* Addition of a few more memcached commands such as append, prepend, etc.