Installation
go-go-scope requires Node.js 24+ or Bun 1.2+ and TypeScript 5.2+ for Explicit Resource Management support.Core Library
Install the main package using your preferred package manager:TypeScript Configuration
go-go-scope uses theusing and await using syntax from the Explicit Resource Management proposal. Configure your tsconfig.json:
tsconfig.json
The
ESNext.Disposable lib is required for Symbol.dispose and Symbol.asyncDispose types.Package.json Configuration
Ensure your package uses ESM modules:package.json
Additional Packages
Job Scheduler
For distributed job scheduling with cron support:Stream Processing
For lazy async stream operations:Testing Utilities
For mock scopes and test helpers:Framework Adapters
Integrate go-go-scope with your favorite Node.js framework:Fastify
Express
NestJS
Hono
Other Frameworks
Koa
Hapi
Elysia
Next.js
Persistence Adapters
Add distributed locks and circuit breaker persistence:Redis
PostgreSQL
MySQL
MongoDB
DynamoDB
SQLite
For Node.js:Observability Plugins
OpenTelemetry
Distributed tracing for all scope operations:Metrics Collection
Prometheus and JSON metrics export:Performance Profiling
Task performance analysis:Deadlock Detection
Automatic detection of blocking cycles:Verify Installation
Create a simple test file to verify everything works:test.ts
Runtime Requirements
Node.js
- Minimum version: 24.0.0
- Required features: Native
fetch,AbortSignal.timeout(),usingsyntax support - Recommended: Latest LTS version
Bun
- Minimum version: 1.2.0
- Native features: Built-in SQLite support, faster startup
- Compatibility: Fully tested and supported
Deno
Next Steps
Quick Start
Build your first concurrent application
Core Concepts
Understand structured concurrency principles
API Reference
Explore the complete API
Examples
See real-world usage patterns