UNPKG

@oxyhq/services

Version:

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

10 lines (9 loc) • 398 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // Utility to detect if running in a frontend (browser or React Native) environment const isFrontend = typeof window !== 'undefined' || typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; var _default = exports.default = isFrontend; //# sourceMappingURL=isFrontend.js.map