Open dretsa opened 1 month ago
I have created a new repository for an ESM/TS version of this package. Let me know what you think: https://github.com/colorninja/navigator-es
The branch is called ts-esm-port
Changed:
@types/negotiator
Remaining to do:
While CJS continues to be an important part of the NodeJS world, it seems to be slowly moving towards ESM. I think we should export both cjs and ems.
The reason for this is so that libraries using negotiator like tinyhttp can be fully ESM. I am happy to help with a PR :)