UNPKG

@oxyhq/services

Version:

Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀

6 lines (5 loc) • 289 B
"use strict"; // Utility to detect if running in a frontend (browser or React Native) environment const isFrontend = typeof window !== 'undefined' || typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; export default isFrontend; //# sourceMappingURL=isFrontend.js.map