redis-fn
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

Redis-fn

Redis helper library

Install

yarn add https://github.com/selfrefactor/redis-fn#0.2.0

Usage

const { redisFn } = require("redis-fn")
const redis = await redisFn({
  defaultExpiryFlag  : true,
  defaultExpiryValue : 1,
})

redis.set({
  key   : KEY,
  value : VALUE,
})

Methods

Set

redis.set({
  key   : KEY,
  value : VALUE,
})

Get

redis.get( KEY ) 
// => VALUE

Readme

Keywords

none

Package Sidebar

Install

npm i redis-fn

Weekly Downloads

1

Version

0.3.4

License

MIT

Unpacked Size

8.77 kB

Total Files

13

Last publish

Collaborators

  • self_refactor