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

Clarify examples folder names #54

Open
mk-pmb opened this issue Sep 19, 2022 · 0 comments
Open

Clarify examples folder names #54

mk-pmb opened this issue Sep 19, 2022 · 0 comments

Comments

@mk-pmb
Copy link

mk-pmb commented Sep 19, 2022

Hi! The current example subfolders "client" and "server" make it look like this would be a client/server application. From the code it looks more like the "client" scripts are meant to run in web browsers, so how about we rename that folder to "web" or "html" or "browser-native"?

The "server" scripts seem meant to be run in a CommonJS environment such as Node.js, so how about we name that folder "cjs"? I recommend not to use "cli" or "node", because there are frameworks that enable browsers to load CommonJS modules (no build step required).

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

1 participant