Sensors and peripherals (not worker-safe — main thread).

Modules

Module Returns Deps Description
geolocation {isSupported, current, watch} none GPS / wifi position
battery {isSupported, current, watch} none Battery Status API
networkInfo {isSupported, current, watch} none Network Information API
sensors {orientation, motion, gyroscope, accelerometer, requestPermission} none Gyro/accel/orientation