Hacker News new | ask | show | jobs
by timw4mail 904 days ago
That certainly works for Bun and Deno, not sure about what is effective in Node, though.
1 comments

Checking for process.versions.{node,bun} works, not sure if Deno has an equivalent.