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

Migrate to ES6 #26

Open
fbbdev opened this issue Jul 16, 2023 · 1 comment
Open

Migrate to ES6 #26

fbbdev opened this issue Jul 16, 2023 · 1 comment
Assignees

Comments

@fbbdev
Copy link
Owner

fbbdev commented Jul 16, 2023

The original package was written for Node v0.10/0.12, hence the code is needlessly verbose by today's standards.

Should we also migrate to ES modules? It is probably better to keep compatibility with existing CJS applications.

@fbbdev fbbdev self-assigned this Jul 16, 2023
@fbbdev
Copy link
Owner Author

fbbdev commented Aug 18, 2023

Note that ESM modules may degrade performance because of the live bindings issue.

See nodejs/node#44186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant