Error formats

By default enolib produces nicely formatted plaintext error messages, but if you're in a terminal environment you can also get awesome colored and syntax highlighted error messages, or even full-fledged HTML if you're deploying enolib with a browser application:

const enolib = require('enolib');
const { HtmlReporter, TerminalReporter } = require('enolib');

const document = enolib.parse('field: value', { reporter: TerminalReporter }); // or HtmlReporter 

Next page: Cursor lookup