git ssb

0+

Piet / ssb-loomio



Tree: 7a6bf8fffdda9db82aad369d1ef9519daf2c8d85

Files: 7a6bf8fffdda9db82aad369d1ef9519daf2c8d85 / index.js

298 bytesRaw
1const raw = require('./methods')
2
3const niceMappings = {
4 isPoll: raw.poll.sync.isPoll
5}
6// by following this pattern you can write your own API
7
8module.exports = function (server, opts) {
9 const methods = Object.assign({}, raw, niceMappings)
10
11 return require('./lib/inject')(server, methods)
12}
13

Built with git-ssb-web