Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/effectsjs/effectsjs
Algebraic Effects in Javascript
https://github.com/effectsjs/effectsjs
algebraic-effects babel effects javascript neat-o runtime typescript
Last synced: 3 months ago
JSON representation
Algebraic Effects in Javascript
- Host: GitHub
- URL: https://github.com/effectsjs/effectsjs
- Owner: effectsjs
- Created: 2020-02-17T23:39:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:00:07.000Z (almost 2 years ago)
- Last Synced: 2024-04-09T13:07:00.091Z (7 months ago)
- Topics: algebraic-effects, babel, effects, javascript, neat-o, runtime, typescript
- Language: JavaScript
- Homepage: https://effects.js.org
- Size: 8.16 MB
- Stars: 44
- Watchers: 4
- Forks: 1
- Open Issues: 32
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/contributing.md
Awesome Lists containing this project
README
# effectsjs
![master](https://github.com/effectsjs/effectsjs/workflows/master/badge.svg)
## Algebraic Effects
This monorepo provides a toolkit for adding Algebraic effects to Javascript. The implementation is not currently stable and is in active development. It's best seen
as an experiment to explore how Algebraic Effects can improve (or degrade) application development. And an early-stages proposal for the addition of a mechanism to facilitate Algebraic Effects in ECMAScript.TLDR: _DON'T USE THIS IN PROD_.
Looking for how & why of effectjs? Check out our docs site at [effectsjs.github.io/effectsjs](https://effectsjs.github.io/effectsjs).
### Package Overview
| Package | Description |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [babel-plugin-effects](./packages/babel-plugin-effects) | The Babel Transform plugin. Transform proposed syntax into functional javascript. Under the hood, effects are implemented with generators and processed through a "runtime". This babel plugin transforms Effects Syntax into functional javascript that relies on this runtime. |
| [effects-common](./packages/effects-common) | Common utilities shared across the effects ecosystem. Primarily used by `effects-runtime` but shared elsewhere. Virtual stack primitives are defined here. |
| [effects-docs](./packages/effects-docs) | Code that powers https://effects.js.org/ |
| [effects-runtime](./packages/effects-runtime) | The guts that facilitate algebraic effects. All of the necessary logic to provide and interperate a Virtual Stack of generator functions. |
| [prettier-plugin-javascript-effects](./packages/prettier-plugin-javascript-effects) | Prettier plugin supporting effects. |The core effects toolkit is babel-plugin-effects, effects-common and effects-runtime. The rest of the ecosystem exists to provide a better developer experience.
## Contributing
Looking to contribute? _Awesome ❤️_ see [.github/contributing.md](./.github/contributing.md)