![npm](https://camo.githubusercontent.com/eecd697c9a6cab50a7001bc0b94e7a1ff0abf805345bc3aca9dfbe766b1b78e3/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f636f72652e737667)
A type-safe, functional, performant, lawful, composable data structure that solves practical problems of effect-full code in node and browser.
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.
Package |
Description |
Version |
@qio/prelude |
The base library that's used internally by all the QIO based packages. |
![npm](https://camo.githubusercontent.com/3ebb592cc9d66eee8afa5fc92922909e6a7ec5581568571ae3d5e28c70802e39/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f7072656c7564652e737667) |
@qio/core |
The core effect management library library. |
![npm](https://camo.githubusercontent.com/eecd697c9a6cab50a7001bc0b94e7a1ff0abf805345bc3aca9dfbe766b1b78e3/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f636f72652e737667) |
@qio/stream |
Purely functional streaming capabilities built on top of QIO. |
![npm](https://camo.githubusercontent.com/897fa4b8231ebc5c48a860b7270460d98f2ae331bc67ac04e3bc69ffc753c4b4/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f73747265616d2e737667) |
@qio/console |
QIO based bindings to read and write to the terminal. |
![npm](https://camo.githubusercontent.com/cb053ce21681ee2b7123a200932420c41e9b3ec6c4c09d7a57d818e9a9b24d95/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f636f6e736f6c652e737667) |
@qio/http |
QIO based binding to manage HTTP request/responses safely. |
![npm](https://camo.githubusercontent.com/455eefe5e2cde5a33e2e45b007e981fc621ad6ac23167b52c1b592b0d51adb1c/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f687474702e737667) |
@qio/fs |
QIO based binding to manage HTTP request/responses safely. |
![npm](https://camo.githubusercontent.com/3f389d0fcca5fa6a78404411b2fae571ccc67c75ad50766835b078cdec1338a0/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4071696f2f66732e737667) |