tools

usage:

  1. const Utils = require('ee-core').Utils;

API

getLogDir()

  • desc:obtain the log Directory

    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()

  • desc:modify file attributes

    mkdir()

  • desc:create a directory

    callFn()

  • desc:execute a function