2 lines
112 B
JavaScript
Raw Normal View History

2024-11-04 16:09:32 +01:00
export const crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;