mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
11 lines
233 B
TypeScript
11 lines
233 B
TypeScript
import * as memjs from "memjs";
|
|
|
|
const client = memjs.Client.create();
|
|
|
|
client.set("hello", "world", { expires: 600 }, (err, val) => {
|
|
console.log(err, val);
|
|
});
|
|
client.get("hello", (err, val) => {
|
|
console.log(err, val);
|
|
});
|