var Cryo = require('../lib/cryo'); var obj = { name: 'Hunter', created: new Date(), hello: function() { console.log(this.name + ' said hello in ' + this.created.getFullYear() + '!'); } }; var frozen = Cryo.stringify(obj); var hydrated = Cryo.parse(frozen); hydrated.hello(); // Hunter says hello in 2013!