Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an ES module #500

Merged
merged 2 commits into from Sep 6, 2018
Merged

Adds an ES module #500

merged 2 commits into from Sep 6, 2018

Conversation

matthewp
Copy link
Collaborator

@matthewp matthewp commented Sep 6, 2018

This adds an ES module, page.mjs that exports the page object as the
default export. Can be used like so:

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

This adds an ES module, page.mjs that exports the `page` object as the
default export. Can be used like so:

```js
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
@coveralls
Copy link

coveralls commented Sep 6, 2018

Coverage Status

Coverage remained the same at 89.326% when pulling baa8322 on es into 71bb2d8 on master.

@matthewp matthewp merged commit d4fe9c1 into master Sep 6, 2018
@matthewp matthewp deleted the es branch September 6, 2018 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants