@link-loom/sdk
v7.3.40
Published
The Enterprise Runtime Orchestrator for Node.js. A deterministic runtime foundation for building scalable, event-driven microservices. Enforces explicit dependency injection, managed lifecycles, and architectural primitives (Event-driven Architecture, Lon
Maintainers
Readme
Link Loom SDK
The Runtime Orchestrator for Node.js Ecosystems.
Link Loom SDK is a runtime foundation designed to standardize application initialization, dependency resolution, and operational lifecycle. It provides a deterministic execution environment where modules, services, and adapters coexist under a strict architectural contract.
This is not merely a web framework. Link Loom operates as the Application Backbone, enabling disjointed systems—monoliths, distributed microservices, and dedicated workers—to share a unified operational signature.
Documentation Index
Getting Started
Usage Guides
- Project Structure — Analysis of the
loom-svc-jstemplate. - Configuration Strategies — Module provisioning and
default.jsonschema. - Environment Management — Local Injection vs Link Loom Cloud Vault Runtime Fetch.
- Deployment Standards — Production optimization, Containerization, and Process Management.
Architecture & Concepts
- Core Concepts — The Runtime Engine, Lifecycle State Machine, and Dependency Graph.
- The Boot Lifecycle — System Events and Initialization Sequence.
- Architectural Adapters — Enabling Event-Driven, Isolated, and Modular architectures.
- LLM Context / AI Agents — Technical definitions for AI coding assistants.
Core Modules
The Runtime Kernel.
Adapter Architectures
- HTTP / REST Architecture
- Event-Driven Architecture / Bus
- Modular Serverless Functions
- Isolated Long-Run Apps
Infrastructure Abstractions
Technical Overview
Link Loom fundamentally shifts the focus from Request Handling to System Handling.
1. The Runtime Engine
Loom instantiates a Finite State Machine that governs the application life from BOOT to SHUTDOWN. This ensures that database connections, message brokers, and background threads are initialized in a guaranteed order before any traffic is accepted.
2. The Dependency Graph
Unlike frameworks relying on decorators or implicit module imports, Loom constructs an Explicit Dependency Graph. All system capabilities (Logger, Config, DB Driver, Event Bus) are injected into a unified Context Object (dependencies), which is passed downstream to every service and route.
3. Architectural Enablers (Adapters)
Adapters in Loom are not simple wrappers; they are architectural primitives.
- Apps Adapter: Provides Thread-based Isolation for CPU-intensive tasks, decoupling them from the main event loop.
- Events Adapter: Establishes a Pub/Sub Fabric across the system, enabling decoupled, reactive architectures.
- Functions Adapter: Implements a Serverless-like Runtime within the application for scheduled (Cron) or on-demand modular logic.
Installation
npm install --save @link-loom/sdkBasic Usage
/* const { Loom } = require('@link-loom/sdk'); */
const loom = new Loom({ root: __dirname });
const main = async () => {
/* The ignite() method triggers the bootstrap sequence */
const dependencies = await loom.ignite();
dependencies.console.info('Runtime Active');
};
main();Contributing
- Use ESLint + Prettier.
- Follow Conventional Commits.
- Include unit tests and architectural documentation.
License
Licensed under the Apache License 2.0.
Link Loom SDK — Deterministic Runtime Orchestration.
