Stonyx is an early-stage, TypeScript-first framework module designed for building modular applications, emphasizing a structured, object-oriented approach. It provides foundational concepts such as an `Application` class, `Context` management, and decorators like `@Component` and `@Service`, hinting at a dependency injection pattern. The package is currently in a pre-release state, with version 0.2.2 being the latest stable release, but development is active with frequent `0.2.3-beta` versions being published. This rapid iteration indicates that the API is subject to change and may not be stable. Stonyx aims to provide a robust core for larger application ecosystems, though specific use cases (e.g., web server, CLI tool) are not explicitly detailed in its current minimal documentation.
npm install stonyxVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize a Stonyx application, define a basic component and service using decorators, inject a configuration, and run the service.
Review the GitHub repository's commit history and `src` directory for the latest API changes before upgrading. Regularly check for new beta releases and test thoroughly.
Explore the `src` directory in the GitHub repository to understand the internal structure and available exports. Pay close attention to `index.ts`, `Application.ts`, `Component.ts`, and `Service.ts` for core patterns.
Check the `abofs` GitHub organization for related Stonyx packages that provide integrations or extended functionality. Be prepared to build custom integrations if specific needs are not met by existing modules.
Ensure `createApplication` is used to construct the application instance and that `await app.start()` is called to initialize services and components before attempting to resolve or use them.
Verify that all `@Component()` or `@Service()` classes are listed in the `components` array passed to `createApplication`. For non-class dependencies (e.g., config objects), ensure a corresponding `provider` is defined.
No dependency data recorded yet.