Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikjuhani/fp-utils
Utilities like Option and Result for functional programming in Node / Deno
https://github.com/erikjuhani/fp-utils
deno fp functional-programming nodejs option result utilities
Last synced: 2 months ago
JSON representation
Utilities like Option and Result for functional programming in Node / Deno
- Host: GitHub
- URL: https://github.com/erikjuhani/fp-utils
- Owner: erikjuhani
- License: mit
- Created: 2023-11-12T17:41:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T19:22:03.000Z (10 months ago)
- Last Synced: 2024-04-22T15:25:07.142Z (9 months ago)
- Topics: deno, fp, functional-programming, nodejs, option, result, utilities
- Language: TypeScript
- Homepage:
- Size: 557 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
fp-utils
Functional utility library for TypeScript
## Background
I have been exploring ways to represent Option and Result types in TypeScript
that would be intuitive to use and have idiomatic functionality, similar to how
promises and arrays are constructed and chained. This is the result of these
explorations—think of it as lodash, but with minimalistic utilities for
functional programming.Fair warning, even though these concepts can be used without much knowledge
about functional programming. I wholeheartedly recommend to understand the
basics of functional programming before using these utilities.## Modules
- [Option](/option/README.md)
- [Result](/result/README.md)