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

Full ESM compliance #1

Open
StreetStrider opened this issue Jun 6, 2023 · 0 comments
Open

Full ESM compliance #1

StreetStrider opened this issue Jun 6, 2023 · 0 comments
Labels
help-wanted Help wanted

Comments

@StreetStrider
Copy link
Owner

StreetStrider commented Jun 6, 2023

I think such primitive is a must for any filepath-related tasks, so I'm interested in making it portable to other than Node runtimes.

  • Remove node-specific stuff.
  • Make it ESM.
  • Support import.meta.url as an initial.
  • Test on deno, bun and maybe in browsers.

Right now it is pure CJS with typings, so it is still good and usable, but pure ESM would be better considering all above.

@StreetStrider StreetStrider added the help-wanted Help wanted label Jun 6, 2023
@StreetStrider StreetStrider pinned this issue Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Help wanted
Projects
None yet
Development

No branches or pull requests

1 participant