gun/examples/cats/get.js
Mark Nadal 9c73e38493 cats!
2014-10-19 07:15:50 -07:00

5 lines
250 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) })