var matter = exports;

matter.parsers = require('./parsers');
matter.register = matter.parsers.register;
matter.defaults = matter.parsers.defaults;
matter.parse = matter.parsers.registry;

// register the bundled parsers
require('./parsers/json');
require('./parsers/yaml');

matter.yaml = matter.parse.yaml;
matter.json = matter.parse.json;

var matter = exports;

matter.parsers = require('./parsers');
matter.parse = matter.parsers.registry;

// register the bundled parsers
require('./parsers/json');
require('./parsers/yaml');

matter.yaml = matter.parse.yaml;
matter.json = matter.parse.json;

Make the api a bit more sane
Make the api a bit more sane
