git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 1171580743394a34306e2a12800ea5606f7e5d67

Files: 1171580743394a34306e2a12800ea5606f7e5d67 / common.js

277 bytesRaw
1const Message = require('primea-message')
2
3exports.PARENT = '..'
4exports.ROOT = '/'
5exports.getterMessage = (name, path) => {
6 const message = new Message({
7 data: {
8 getValue: name
9 },
10 sync: true
11 })
12 if (path) {
13 message.to = path
14 }
15 return message
16}
17

Built with git-ssb-web