{"id":13598654,"url":"https://github.com/danielgerlag/workflow-es","last_synced_at":"2025-05-15T23:06:33.632Z","repository":{"id":40650430,"uuid":"75115688","full_name":"danielgerlag/workflow-es","owner":"danielgerlag","description":"Workflow / durable task library for Node.js (or modern browsers)","archived":false,"fork":false,"pushed_at":"2025-01-18T16:02:35.000Z","size":190,"stargazers_count":207,"open_issues_count":29,"forks_count":49,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-10T08:37:47.259Z","etag":null,"topics":["workflow","workflow-engine"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielgerlag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T19:42:24.000Z","updated_at":"2025-05-07T13:28:17.000Z","dependencies_parsed_at":"2025-02-04T18:11:14.571Z","dependency_job_id":"d334aa42-a4ef-401e-96d5-3a8f21fbe545","html_url":"https://github.com/danielgerlag/workflow-es","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgerlag%2Fworkflow-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgerlag%2Fworkflow-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgerlag%2Fworkflow-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgerlag%2Fworkflow-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgerlag","download_url":"https://codeload.github.com/danielgerlag/workflow-es/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492582,"owners_count":21916963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["workflow","workflow-engine"],"created_at":"2024-08-01T17:00:54.669Z","updated_at":"2025-05-15T23:06:28.554Z","avatar_url":"https://github.com/danielgerlag.png","language":"TypeScript","readme":"# Workflow ES \n\n[![Build Status](https://travis-ci.org/danielgerlag/workflow-es.svg?branch=master)](https://travis-ci.org/danielgerlag/workflow-es)\n[\u003cimg src=\"https://api.gitsponsors.com/api/badge/img?id=75115688\" height=\"20\"\u003e](https://api.gitsponsors.com/api/badge/link?p=43UGDZthfFH6fEyeUeWV33kja27JHEQ3YCvS26hEMkRuU1/ZTecXDyX+feX5aszX2LHJ7YyaJuMAaW5NrkgUtA==)\n\nWorkflow ES is a workflow / saga library for Node.js (or modern browsers).  It supports pluggable persistence and concurrency providers to allow for multi-node clusters.\n\n## Installing\n\nInstall the core npm package \"workflow-es\"\n\n```\nnpm install workflow-es --save\n```\n\n\n### Guides\n\n* [Javascript (ES6)](es2017-guide.md)\n* [Typescript](typescript-guide.md)\n\n\n### Persistence\n\nSince workflows are typically long running processes, they will need to be persisted to storage between steps.\nThere are several persistence providers available as seperate npm packages.\n\n* Memory Persistence Provider *(Default provider, for demo and testing purposes)*\n* [MongoDB](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-mongodb)\n* *(more to come soon...)*\n\n### Multi-node clusters\n\nBy default, the WorkflowHost service will run as a single node using the built-in queue and locking providers for a single node configuration.  Should you wish to run a multi-node cluster, you will need to configure an external queueing mechanism and a distributed lock manager to co-ordinate the cluster.  These are the providers that are currently available.\n\n#### Queue Providers\n\n* SingleNodeQueueProvider *(Default built-in provider)*\n* [Azure](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-azure)\n* [Redis](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-redis)\n\n\n#### Distributed lock managers\n\n* SingleNodeLockProvider *(Default built-in provider)*\n* [Azure](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-azure)\n* [Redis Redlock](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-redis)\n\n\n## Authors\n\n* **Daniel Gerlag** - *Initial work*\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n\n","funding_links":[],"categories":["资源"],"sub_categories":["组件和库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgerlag%2Fworkflow-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgerlag%2Fworkflow-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgerlag%2Fworkflow-es/lists"}