Skip to content

useOperatingSystem ​

browser
test coverage
Last changed: 28 days ago

Hook that returns the operating system of the current browser

typescript
import { useOperatingSystem } from '@siberiacancode/reactuse';

Usage ​

typescript
const operatingSystem = useOperatingSystem();

Demo ​

Api ​

Source ​

Source • Demo

Contributors ​

Avatardebabin
Avatarhywax

Released under the MIT License.