Skip to content

Wisembly/sharedb-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharedb-redis

Redis database adapter for sharedb

ops are stored as sharedb:ops:{collection}:{id} and use the type Sorted Set. snapshot is stored as sharedb:snapshot:{collection}:{id} and uses the generic type.

Usage

npm require sharedb-redis
const RedisDatabase = require('sharedb-redis')

const db = new RedisDatabase({
  host: '127.0.0.1',
  port: 6379
})

const sharedb = new Sharedb({ db })

Tests

npm run test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published