The Motion API tracks accelerometer and device orientation (compass heading, etc.)
npm install @jigra/motion
No README available