flexdinesh / browser-or-node

Check where your code is running. In the browser or in node.js environment.
MIT License
245 stars 20 forks source link

deno #14

Closed audiolion closed 3 years ago

audiolion commented 3 years ago

probably out of the scope of this package due to the name, but it would be cool to have an isDeno check as well.

ghost commented 3 years ago

Hello there, I know it's a bit late (because I only stumbled across this repository few minutes ago). I've submitted a PR for the requested isDeno here. Let me know if there's any issues on Deno regarding this.

flexdinesh commented 3 years ago

isDeno support released with version v2.0.0.

https://github.com/flexdinesh/browser-or-node/releases/tag/v2.0.0