@adviser/cement - v0.0.0
    Preparing search index...

    Class BaseSysAbstraction

    Full system abstraction with filesystem and system service access.

    Extends BaseBasicSysAbstraction with platform-specific services:

    • FileSystem: File I/O operations
    • SystemService: Process, environment, and system-level operations

    Used in Node.js and Deno environments where full system access is available. Not suitable for browser or Cloudflare Workers environments.

    const sys = new BaseSysAbstraction({
    TxtEnDecoder: new TxtEnDecoder(),
    FileSystem: new NodeFileService(),
    SystemService: new NodeSystemService()
    });

    // Access filesystem
    const content = await sys._fileSystem.readFile('/path/to/file');

    // Access environment
    const env = sys._systemService.getEnv();

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _time: SysTime = ...
    _idService: IdService = ...
    _randomService: RandomService = ...
    _txtEnDe: TxtEnDecoder
    _fileSystem: FileService
    _systemService: SystemService