git ssb

1+

Dominic / secure-scuttlebutt



Tree: b4df1e66bea6275126d6d9c508356dc44e62b504

Files: b4df1e66bea6275126d6d9c508356dc44e62b504 / create.js

328 bytesRaw
1
2var level = require('level')
3var sublevel = require('level-sublevel/bytewise')
4var opts = require('./defaults')
5var SSB = require('./')
6
7module.exports = function (path, opts, keys) {
8 opts = opts || require('./defaults')
9 return SSB(
10 sublevel(level(path, {
11 valueEncoding: require('./codec')
12 })), opts, keys)
13}
14

Built with git-ssb-web