UNPKG

red-ampp

Version:

developer tool for running micro services behind a redbird proxy

14 lines (10 loc) 385 B
const path = require('path'); // get the users folder on whichever platform const userFolder = process.env.APPDATA || path.join( process.env.HOME, ( process.platform == 'darwin' ? 'Library/Preferences' : '.config') ); const appFolder = 'red-ampp'; const configFolder = path.join( userFolder, appFolder ); module.exports = { userFolder, appFolder, configFolder, }