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

0.0.5 • Public • Published

ILP Store Redis

ILP store for the connector, using redis as a backend

const Store = require('ilp-store-redis')
const redisStore = new Store({
  path: 'test.example', // used as prefix for keys and publish
  port: 6379 // extra arguments are passed to `ioredis` constructor
})
 
await redisStore.get(key)
await redisStore.put(key, value)
await redisStore.del(key)

Readme

Keywords

Package Sidebar

Install

npm i ilp-store-redis

Weekly Downloads

2

Version

0.0.5

License

Apache-2.0

Unpacked Size

7.19 kB

Total Files

6

Last publish

Collaborators

  • adrianhopebailie