sample_document.js 274 Bytes
'use strict';


var inspect = require('util').inspect;

// just require jsyaml
require('../lib/js-yaml');


try {
  var doc = require(__dirname + '/sample_document.yaml');
  console.log(inspect(doc, false, 10, true));
} catch (e) {
  console.log(e.stack || e.toString());
}