Skip to content

Full ESM compliance #1

Description

@StreetStrider

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions