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

Improve for javascript support #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nghiepdev
Copy link

@nghiepdev nghiepdev commented Aug 30, 2021

  • Support for commonjs instead of ESM, because anyascii only exports a single function. So support ESM has no benefit.
  • Support older version Node.js.
  • Named export instead of the default export: Best for Typescript suggestion.
  • Publish only relevant files to npm.

Help me re-generate the block.js

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

1 participant