项目作者: node-ts

项目描述 :
基于打字稿的企业服务总线框架,基于企业集成模式
高级语言: TypeScript
项目地址: git://github.com/node-ts/bus.git
创建时间: 2019-03-27T09:56:02Z
项目社区:https://github.com/node-ts/bus

开源协议:MIT License

下载


@node-ts/bus

@node-ts/bus is a node-based library that aims to simplify the development of resilient message-based applications. By handling the technical aspects of the underlying bus transport, it enables developers to focus on creating loosely coupled systems with less boilerplate.

@node-ts/bus allows developers to specify messages and message handlers. It then manages the message transport, subscriptions, and retries behind the scenes. In case of failure, messages are returned to the queue for retry, promoting application resilience.

Additionally, the library provides message workflows, or sagas, to help developers coordinate multiple messages and handlers in longer running processes. As a result, applications built with @node-ts/bus can be more robust, self-healing, and resistant to data loss or corruption.

Further info

🔥 View our docs at https://bus.node-ts.com 🔥

🤔 Have a question? Join the Discussion 🤔

Components

Development

This guide is for developers and contributors to the library itself. For consumers, please see our consumer docs at https://bus.node-ts.com.

Installation

This package uses pnpm for monorepo support and workspaces.

Install dependencies

  1. pnpm i

Scripts

  • bootstrap - install dependencies in all packages and hoist to root
  • build - build all packages
  • build:watch - build all packages and watch for changes with incremental builds
  • clean - remove all dist and node_modules folders
  • lint - lint inspect
  • test - run unit and integration tests
  • test:watch - run tests in watch mode, rerun on changes