tools
usage:
const Utils = require('ee-core').Utils;
API
getLogDir()
-
getAppUserDataDir()
desc:obtain the application data directory (the root directory of the project in the development environment)
getStorageDir()
desc:obtain the database storage path
getEeConfig()
desc:obtain the ee configuration.
getPackage()
desc:obtain the Project root directory package.json
getExtraResourcesDir()
desc:obtain additional resource directories
chmodPath()
-
mkdir()
-
callFn()
desc:execute a function