An open API service indexing awesome lists of open source software.

https://github.com/linden/deno-memcached

memcached driver for deno
https://github.com/linden/deno-memcached

deno memcached

Last synced: about 1 month ago
JSON representation

memcached driver for deno

Awesome Lists containing this project

README

          

# deno-memcached
memcached driver for deno

## Usage

```ts
import { Memcached } from "./mod.ts";

const client = new Memcached(11211, "127.0.0.1");

//set
await client.set("Hello", "world", 1800);

//get
const item = await client.get("Hello");

//update
await client.update("Hello", "there", 1800);

//delete
await client.delete("Hello");

//flush
await client.flush();
```