Discover Packages
github.com/gethuman-sh/human
internal
platform
package
Version:
v0.20.0
Opens a new window with list of versions in this module.
Published: Jul 5, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Helps human recognize the kind of system it is running on so it can adapt its behavior. Today it spots when you are inside Windows Subsystem for Linux.
Detects when running under Windows Subsystem for Linux
Lets the tool adapt to your system
Avoids errors when detection is unavailable
Keeps platform checks in one place
Works quietly in the background
Expand ▾
Collapse ▴
Documentation
¶
Package platform provides OS and environment detection helpers.
IsWSL reports whether the process is running inside Windows Subsystem for Linux.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.