co-memcached

1.0.1 • Public • Published

#co-memcached

Simple wrapper to the memcached library for co-like interface(eg: koa,co)

To install run:

npm install co-memcached

Use in co:

var co = require('co'),
    Memcached = require('co-memcached'),
    memcached = new Memcached('127.0.0.1:11211')

co(function*(){
    yield memcached.set('foo','bar',1000)
    console.log(yield memcached.get('foo'))
})

All methods listed in memcached docs

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    6

Package Sidebar

Install

npm i co-memcached

Weekly Downloads

6

Version

1.0.1

License

The MIT License (MIT)

Last publish

Collaborators

  • otarim