git ssb

1+

Dominic / secure-scuttlebutt



Tree: b4df1e66bea6275126d6d9c508356dc44e62b504

Files: b4df1e66bea6275126d6d9c508356dc44e62b504 / codec.js

175 bytesRaw
1module.exports = {
2 decode: function (string) {
3 return JSON.parse(string)
4 },
5 encode: function (obj) {
6 return JSON.stringify(obj, null, 2)
7 },
8 buffer: false
9}
10
11

Built with git-ssb-web