https://github.com/profunktor/console4cats
:computer: Effect-type agnostic Console I/O for Cats Effect (archived, use Cats Effect 3 instead)
https://github.com/profunktor/console4cats
cats cats-effect console io
Last synced: 7 days ago
JSON representation
:computer: Effect-type agnostic Console I/O for Cats Effect (archived, use Cats Effect 3 instead)
- Host: GitHub
- URL: https://github.com/profunktor/console4cats
- Owner: profunktor
- License: apache-2.0
- Archived: true
- Created: 2018-08-12T02:50:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T12:49:27.000Z (almost 5 years ago)
- Last Synced: 2026-01-11T18:31:10.819Z (10 days ago)
- Topics: cats, cats-effect, console, io
- Language: Scala
- Homepage: https://console4cats.profunktor.dev/
- Size: 1.37 MB
- Stars: 54
- Watchers: 4
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
console4cats
============

[](http://search.maven.org/#search%7Cga%7C1%7Cconsole4cats)
[](https://mergify.io)
[](https://scala-steward.org)
Effect-type agnostic Console I/O for `Cats Effect`
```scala
import cats.effect.IO
import cats.effect.Console.io._
val program: IO[Unit] =
readLn.flatMap(name => putStrLn(s"Hello $name!"))
```
### Getting started
Add the dependency to your project:
```scala
libraryDependencies += "dev.profunktor" %% "console4cats" % Version
```
Note: previous versions `<= 0.6.0` were published using the `com.github.gvolpe` group id.
### Code of Conduct
See the [Code of Conduct](https://console4cats.profunktor.dev/CODE_OF_CONDUCT)
### Usage
See the [usage guide](https://console4cats.profunktor.dev/guide.html).
## LICENSE
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with
the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.