devmatteini / from-fp-ts-to-effect-ts

An exploration of EffectTS ecosystem from fp-ts user prospective.

Repository from Github https://github.comdevmatteini/from-fp-ts-to-effect-tsRepository from Github https://github.comdevmatteini/from-fp-ts-to-effect-ts

From fp-ts to EffectTS

An exploration of EffectTS ecosystem from fp-ts user prospective.

Note

This repository is up-to-date with Effect 3.0 stable release

Usage

Node v18 or higher

npm install
npm typecheck

Run fp-ts v2 module:

npx tsx src/1-basic/fp-ts.ts

Run EffectTS module:

npx tsx src/1-basic/effect.ts

Modules

  1. Basic - How Effect works
  2. Services - Dependency injection
  3. Errors - Errors, Defects and Interruptions
  4. Http - From TaskEither to Effect
  5. Parallelism - Parallelism of TaskEither/Effect
  6. Retries - Retries of TaskEither/Effect
  7. Schema - From io-ts to Schema

EffectTS Resources

Effect source code:

About

An exploration of EffectTS ecosystem from fp-ts user prospective.


Languages

Language:TypeScript 100.0%