deno.land / x / oauth4webapi@v1.2.2 / tap / env.ts

View Documentation
1
2
3
4
5
6
7
8
9
10
11
// @ts-expect-errorexport const isDeno = typeof Deno !== 'undefined'// @ts-expect-errorexport const isNode = typeof process !== 'undefined'// @ts-expect-errorexport const isEdgeRuntime = typeof EdgeRuntime !== 'undefined'export const isBrowser = typeof navigator !== 'undefined' && navigator.userAgent?.startsWith?.('Mozilla/5.0 ')export const isWorkers = typeof navigator !== 'undefined' && navigator.userAgent === 'Cloudflare-Workers'
oauth4webapi

Version Info

Tagged at
2 years ago