Export a library for commonjs, nodejs, and browser.