Files: 6f0c7afd16d33393e0a972dcf17ba5d5a4d48df7 / create.js
328 bytesRaw
1 | |
2 | var level = require('level') |
3 | var sublevel = require('level-sublevel/bytewise') |
4 | var opts = require('./defaults') |
5 | var SSB = require('./') |
6 | |
7 | module.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