# akyuu-adapter-memcached-binary

> Memcached adapter for Akyuu.js.

Latest version **0.1.0** (published 2017-06-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install akyuu-adapter-memcached-binary
pnpm add akyuu-adapter-memcached-binary
yarn add akyuu-adapter-memcached-binary
bun add akyuu-adapter-memcached-binary
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-06-27 |
| First published | 2017-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | DuanPengfei |
| Maintainers | duanpengfei |
| Keywords | memcached, binary protocol, akyuu |

## Links

- npm: https://www.npmjs.com/package/akyuu-adapter-memcached-binary
- Repository: https://github.com/akyuujs/akyuu-adapter-memcached-binary
- Homepage: https://github.com/akyuujs/akyuu-adapter-memcached-binary#readme
- Issues: https://github.com/akyuujs/akyuu-adapter-memcached-binary/issues
- npm.io page: https://npm.io/package/akyuu-adapter-memcached-binary

## Dependencies (1)

- [memjs](https://npm.io/package/memjs.md) ^1.0.0-rc.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-06-27

## README

# akyuu-adapter-memcached-binary

memcached binary protocol adapter for [akyuu](https://github.com/akyuujs/akyuu)

### Installation
```
npm install akyuu-adapter-memcached-binary
```

### Configuration
Make sure you have a connections section in your configuration file(s).  
And its adapter should be `memcached-binary`.

option | required | remark
---- | ---- | ----
adapter | ✓ | must be `memcached-binary`
serverUri | ✓ | e.g. `username:password@host:port`

### Usage
#### Config File
```
// ${project}/config/default/connections.js

'use strict'

module.exports = {
    myMemcached: {
        adapter: 'memcached-binary',
        serverUri: 'tom:xafqfdagqqv@127.0.0.1:11211'
    }
}
```

#### Model File
```
// ${project}/models/${model}.js

'use strict'

const akyuu = require('akyuu');
const memcachedClient = akyuu.config.connection.get('myMemcached');

module.exports = redisClient;

```

---
_Source: https://npm.io/package/akyuu-adapter-memcached-binary · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
