https://github.com/tusharmath/qio
https://github.com/tusharmath/qio
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tusharmath/qio
- Owner: tusharmath
- License: other
- Created: 2019-04-11T08:13:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T22:00:32.000Z (over 3 years ago)
- Last Synced: 2024-12-01T03:51:13.146Z (12 months ago)
- Language: TypeScript
- Homepage: https://qio.netlify.com
- Size: 2.92 MB
- Stars: 74
- Watchers: 12
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- fucking-awesome-fp-js - qio - safe, functional, performant, lawful, composable data structure that solves practical problems of effect-full code in node and browser. +TS (Libraries)
- awesome-fp-js - qio - safe, functional, performant, lawful, composable data structure that solves practical problems of effect-full code in node and browser. +TS (Libraries)
README
[](https://travis-ci.com/tusharmath/qio)

A type-safe, functional, performant, lawful, composable data structure that solves practical problems of effect-full code in node and browser.
## Usage
```ts
import {QIO, defaultRuntime} from '@qio/core'
const putStrLn = QIO.encase(console.log)
const program = putStrLn('Hello World')
defaultRuntime().unsafeExecute(program)
```
For more complex use cases checkout the [website](https://qio.netlify.com).
## Packages
| Package | Description | Version |
| ---------------- | ---------------------------------------------------------------------- | ----------------------------------------------------- |
| **@qio/prelude** | The base library that's used internally by all the QIO based packages. |  |
| **@qio/core** | The core effect management library library. |  |
| **@qio/stream** | Purely functional streaming capabilities built on top of QIO. |  |
| **@qio/console** | QIO based bindings to read and write to the terminal. |  |
| **@qio/http** | QIO based binding to manage HTTP request/responses safely. |  |
| **@qio/fs** | QIO based binding to manage HTTP request/responses safely. |  |