UNPKG

@chris-lewis/fitbit-utils

Version:

Common utility modules for common tasks across projects.

24 lines (12 loc) 619 B
# utils Common utility modules for common tasks across projects. Separated into two modules for each app component: ## app * `aod.js` - simple interface for AoD on/off events. * `comm.js` - simple interface for sending/receiving files/data from app to companion. * `db.js` - simple interface for local JSON object storage. * `format.js` - String and data formatting. * `maths.js` - Maths operations. * `ui.js` - useful for getting/setting/manipulating UI elements. ## companion * `web.js` - helpers for making and receiving web requests. * `comm.js` - helpers for companion-side messaging and file transfer.