https://github.com/hyper63/typesm
https://github.com/hyper63/typesm
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyper63/typesm
- Owner: hyper63
- Created: 2021-01-14T00:55:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T01:04:05.000Z (about 5 years ago)
- Last Synced: 2025-03-02T18:32:20.694Z (about 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typesm - functional javascripts types for ESM
A Type library with core ADTs.
* Id
* Either
* Task
* Fn
## Why
A clear and basic fp library that works with esm and with no dependencies.
## Install
```
yarn add @hyper63/types
```
## Usage Example
``` js
import Id from '@hyper63/typesm'
Id.of(1)
.map(x => x + 1)
.extract()
```
## ADTS
* Id
* Either
* Task