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

5 lines
254 B
JavaScript

var gun = require('gun')({
s3: (process.env.NODE_ENV === 'production')? null : require('../../test/shotgun') // replace this with your own keys!
});
gun.load('kitten/hobbes').path('servant.cat.servant.name').get(function(name){ console.log(name) })