Add examples for using the exported class in Node or a browser