browser-or-node

Check where your code is running. In the browser or in node.js environment.

MIT License

Downloads
3.8M
Stars
245
Committers
7
browser-or-node - 3.0.0-pre.0 Latest Release

Published by flexdinesh 11 months ago

No breaking API changes. Although the import might break because of the new build setup.

I've migrated the build setup from babel to tsup in #30. As a part of that I've also introduced CJS/ESM import compatibility. Since this package has half a mil downloads a week, I'm slightly hesitant to publish a major (v3) before testing the packages in all the runtimes which I don't have the capacity or the means to do so. So this prerelease is a candidate to test the new build setup in all runtimes with the community's help to make sure the next major is good to go.

browser-or-node - v2.0.0

Published by flexdinesh almost 3 years ago

  • isDeno support added
  • TypeScript types added

Breaking:

  • isJsDom is no more a method