gun/examples/cats/set.js
Mark Nadal e9b1790774 ?
2014-12-18 03:48:01 -07:00

7 lines
286 B
JavaScript

var gun = require('gun')({
s3: (process.env.NODE_ENV === 'production')? null : require('../../test/shotgun') // replace this with your own keys!
});
gun.set({ name: "Mark Nadal", email: "mark@gunDB.io", cat: { name: "Hobbes", species: "kitty" } })
.key('email/mark@gundb.io')
;