mongez-supportive-is-environment
CommunityDetects browser and device environments safely
System Documentation
What problem does it solve?
Developers need reliable, front-end–friendly predicates to detect the execution environment (mobile vs desktop, browser vendor, and SSR vs client). This skill documents the browser and device-environment predicates exposed by @mongez/supportive-is, including isMobile, isMac, isDesktop, isBrowser, isChrome, isFirefox, isSafari, isOpera, isIE, and isEdge, along with SSR safety notes and known edge cases.
Core Features & Use Cases
- SSR-safe environment checks read navigator/window/document only on the client side and provide safe fallbacks on the server.
- Vendor-probe predicates help tailor UI logic (layout, keyboard shortcuts, feature flags) across platforms.
- Composability: use isMobile.any(), isBrowser(name), and isDesktop() to drive responsive behavior.
Quick Start
Import the environment predicates from @mongez/supportive-is and start using isMobile.any() to adapt the UI for mobile or desktop.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mongez-supportive-is-environment Download link: https://github.com/hassanzohdy/supportive-is/archive/main.zip#mongez-supportive-is-environment Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.