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

Why mjs? #3

Open
cinan opened this issue Feb 1, 2021 · 2 comments
Open

Why mjs? #3

cinan opened this issue Feb 1, 2021 · 2 comments

Comments

@cinan
Copy link

cinan commented Feb 1, 2021

Why do you use .mjs instead of .js? It complicates imports in node.js applications and tests (I'm using mocha).

@yumetodo
Copy link

yumetodo commented Feb 2, 2021

As far as I know, mocha 7.1.0 or later supports mjs.
mochajs/mocha#3006

@taisukef
Copy link
Owner

Because I want to use this package both the client and the server.
"mjs" is a extension for JavaScript ES module, and runs there and Deno!

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

No branches or pull requests

3 participants