API Reference
Complete API documentation is auto-generated from the source code using Deno's documentation tool.
📚 View Full API Documentation
The API documentation includes:
- All exported functions - Complete signatures and descriptions
- All classes and interfaces - Full type information
- All methods and properties - Detailed documentation
- Type definitions - Complete TypeScript types
- Examples - Code examples from JSDoc
Quick Links
Core Functions
- run(){:target="_blank"} - Run a child process
- enumerate(){:target="_blank"} - Wrap an iterable
- read(){:target="_blank"} - Read a file
Classes
- Enumerable{:target="_blank"} - Array-like methods for async iterables
- ProcessEnumerable{:target="_blank"} - Process-specific enumerable
- Process{:target="_blank"} - Process management
Error Types
- ExitCodeError{:target="_blank"} - Non-zero exit code
- SignalError{:target="_blank"} - Process killed by signal
- UpstreamError{:target="_blank"} - Error from upstream process
Utilities
- range(){:target="_blank"} - Generate number ranges
- zip(){:target="_blank"} - Combine iterables
- concat(){:target="_blank"} - Concatenate byte arrays
- cache(){:target="_blank"} - Cache iterable results
Using the API Docs
The generated documentation includes:
Search
Use the search box to find any function, class, or type.
Type Information
Click on any type to see its definition and usage.
Examples
Most functions include working code examples.
Source Links
Click "Source" to view the implementation.
Integration with This Guide
This user guide provides:
- Conceptual explanations - Why and when to use features
- Tutorials - Step-by-step learning
- Recipes - Real-world solutions
- Best practices - How to use effectively
The API reference provides:
- Complete signatures - Exact function parameters
- Type definitions - TypeScript types
- Technical details - Implementation specifics
- All exports - Everything available
Use both together for complete understanding!
Keeping Docs Updated
The API documentation is regenerated every time the site is built, so it's always in sync with the code.
To regenerate manually:
deno doc --html --name="proc" --output=./site/src/api-docs ./mod.ts
Next Steps
- Browse the full API documentation{:target="_blank"}
- Getting Started - If you're new
- Core Features - Learn the essentials
- Recipes - See real examples