alepha@docs:~/docs/framework/packages/alepha$
cat system.md | pretty1 min read
Last commit:
#Alepha - System
#Installation
Part of the alepha package. Import from alepha/system.
npm install alepha
#Overview
System-level abstractions for portable code across runtimes.
Features:
- File system operations (read, write, exists, etc.)
- Shell command execution
- File type detection and MIME utilities
- Memory implementations for testing
#API Reference
#Providers
BunShellProvider- Bun implementation of ShellProvider.FileSystemProvider- FileSystem interface providing utilities for working with files.MemoryFileSystemProvider- In-memory implementation of FileSystemProvider for testing.MemoryShellProvider- In-memory implementation of ShellProvider for testing.NodeFileSystemProvider- Node.js implementation of FileSystem interface.NodeShellProvider- Node.js implementation of ShellProvider.ShellProvider- Abstract provider for executing shell commands and binaries.WorkerdFileSystemProvider- Web-standard implementation of FileSystemProvider for Cloudflare Workers and other edge runtimes.