UNPKG

@prana-w/btw

Version:

btw_cli (btw: by-the-W) is a simple and powerful Command Line Interface (CLI) designed to help you perform various useful tasks directly from your terminal.

31 lines (27 loc) 532 B
import Conf from 'conf'; const sessionSchema = { startTimestamp: { type: 'date', default: null, }, endTimestamp: { type: 'date', default: null, }, isSessionActive: { type: 'boolean', default: false, }, sessionHistory: { type: 'array', items: { type: 'string', }, }, }; const sessionStore = new Conf({ projectName: 'btw-cli', configName: 'sessionStore', sessionSchema, }); export default sessionStore;