Closed matthewp closed 5 years ago
This adds an ES module, page.mjs that exports the page object as the default export. Can be used like so:
page
import page from '//unpkg.com/page/page.mjs'; page('/', show);
Eventually we might want to change the README to show this as the primary usage.
Closes #499
Coverage remained the same at 89.326% when pulling baa83223497c65b1e7784631ad5111fb02b8fe5b on es into 71bb2d8771159985065819fcebd8e6b5c62e3b26 on master.
This adds an ES module, page.mjs that exports the
page
object as the default export. Can be used like so:Eventually we might want to change the README to show this as the primary usage.
Closes #499