UNPKG

@authing/jose

Version:

Webpack v4 compatible version of panva/jose v3.x

11 lines (10 loc) 298 B
function getGlobal() { if (typeof globalThis !== 'undefined') return globalThis; if (typeof self !== 'undefined') return self; if (typeof window !== 'undefined') return window; throw new Error('unable to locate global object'); } export default getGlobal();