ennaennhx3

Core API

The foundational module of our SDK for core operations and utilities.

Overview

The Core module provides essential tools for project initialization, configuration management, and system diagnostics. It is automatically included in all projects created with the Ennaennhx3 CLI.

Key Features

  • โ€ข Zero-config setup for development environments
  • โ€ข Cross-platform compatibility layer
  • โ€ข Performance telemetry and optimization tools
  • โ€ข Plugin system integration

Getting Started

Installation
npm install @ennaennhx3/core
                        

Include the core module directly in your project dependencies

Basic Usage

import { initCore } from '@ennaennhx3/core';

const core = initCore();
console.log(core.getEnvironmentInfo());
                    
Common Methods
  • getConfig() - Retrieve current configuration
  • setLogLevel(level) - Change diagnostic verbosity
  • checkUpdates() - Verify available versions
Performance Tools
const stats = core.collectMetrics();
console.log(stats.memoryUsage);
                    

Core API Reference

ConfigManager
getConfig(key?: string) โ†’ any

Retrieve configuration values by key or all settings

Diagnostics
collectMetrics() โ†’ Metrics

Gather performance statistics about the current runtime

Modules