UNPKG

@daitanjs/development

Version:

Development utilities for environment management, Google APIs, and system information.

34 lines (29 loc) 1.71 kB
// development/src/index.js (version 1.03) /** * @file Main entry point for the @daitanjs/development package. * @module @daitanjs/development * * @description * The `@daitanjs/development` package provides a suite of utilities essential for * the development lifecycle of DaitanJS projects and applications built with DaitanJS. * It includes tools for environment variable management, a robust logging system, * hardware/system information retrieval, and general developer utilities. */ import { getLogger, initializeRootLogger } from './logger.js'; const devIndexLogger = getLogger('daitan-development-index'); devIndexLogger.debug('Exporting DaitanJS Development utilities...'); // --- Environment Variable Management --- export { loadEnvironmentFiles, getEnvVariable, checkEnv, getRequiredEnvVariable, getOptionalEnvVariable } from './environment.js'; // --- Logging System --- export { initializeRootLogger, // <-- FIX: Added the missing export getLogger, setGlobalLogLevel, isLogLevelEnabled, DaitanRootLogger, DAITAN_LOG_LEVELS } from './logger.js'; // --- Hardware & System Information --- export { isTensorFlowSupported, getCPUInfo, getMemoryInfo, getNetworkInfo, getOSInfo, getLoadAverage, getGraphicsAndDisplayInfo, getUsbDevicesInfo, getAudioDevicesInfo, getAllHardwareInfo } from './hardware.js'; // --- General Developer Tools/Utilities (from tools.js) --- export { devSimpleLog, devMultitestExample // Deprecated placeholder } from './tools.js'; // --- Google OAuth Client --- export { getGoogleAuthClient, default as daitanDevGoogleOAuthClient } from './googleAuth.js'; devIndexLogger.info('DaitanJS Development utilities module exports ready.'); //# sourceMappingURL=index.js.map