is-where
is-where copied to clipboard
`isDeno` Doesn't work in Deno when imported from npm:is-where
I don't know if this is intended? 🤔
Aha the isDeno function must be outdated. It's something I picked up from S.O. a while ago so it's possible that it breaks as Deno matures.
I think you could solve this by using export/import conditions which are an out-of-band way to detect what platform you're running on/bundled for.
https://nodejs.org/api/packages.html#conditional-exports https://nodejs.org/api/packages.html#imports