Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drizzer14/fnts
λ Minimal Functional Programming Utilities for TypeScript & JavaScript
https://github.com/drizzer14/fnts
fp function functional functional-programming functions javascript monad types typescript typescript-library
Last synced: 18 days ago
JSON representation
λ Minimal Functional Programming Utilities for TypeScript & JavaScript
- Host: GitHub
- URL: https://github.com/drizzer14/fnts
- Owner: drizzer14
- License: mit
- Created: 2021-03-02T10:21:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T14:39:48.000Z (about 1 year ago)
- Last Synced: 2024-04-26T21:02:39.298Z (8 months ago)
- Topics: fp, function, functional, functional-programming, functions, javascript, monad, types, typescript, typescript-library
- Language: TypeScript
- Homepage: https://drizzer14.github.io/fnts
- Size: 2.05 MB
- Stars: 79
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
λ fnts
TypeScript / JavaScript functional programming utilities inspired by the
[fantasy-land](https://github.com/fantasyland/fantasy-land) specification and
[Haskell](https://www.haskell.org/) programming language.## Installation
**TypeScript 5.0 is required for this package's typings to work properly.**
```shell
npm i fnts
``````shell
yarn add fnts
```## Usage
Please, visit the [documentation](https://drizzer14.github.io/fnts) to obtain the information about the usage and API of `fnts`.
## Motivation
This project was made as a fun exercise around functional programming
principles. It comes nowhere near more serious projects described below as
alternatives, so treat it as the utility toy facilitating the approach to FP
in TypeScript.## Alternatives
These projects would give you a decent representation of concepts `fnts`
tried to implement and compromise with.- [fp-ts](https://github.com/gcanti/fp-ts)
- [ramda](https://github.com/ramda/ramda)
- [lodash/fp](https://github.com/lodash/lodash/wiki/FP-Guide)