UNPKG

track-dev-time

Version:

CLI tool to track your coding sessions with start, pause and stop commands. Outputs session data to a JSON file.

7 lines (5 loc) 196 B
import { CONFIG_PATH } from "./constants.js"; import { readDataFromFile } from "./file-storage.js"; export const getConfig = (filePath = CONFIG_PATH) => { return readDataFromFile(filePath); };