https://github.com/armanbilge/fs2-dom
Idiomatic Cats Effect + FS2 integrations for Web APIs
https://github.com/armanbilge/fs2-dom
cats-effect fs2 scala-js web-apis
Last synced: 11 months ago
JSON representation
Idiomatic Cats Effect + FS2 integrations for Web APIs
- Host: GitHub
- URL: https://github.com/armanbilge/fs2-dom
- Owner: armanbilge
- License: apache-2.0
- Created: 2022-10-19T14:07:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T07:46:02.000Z (over 1 year ago)
- Last Synced: 2025-04-22T08:43:03.198Z (over 1 year ago)
- Topics: cats-effect, fs2, scala-js, web-apis
- Language: Scala
- Homepage:
- Size: 293 KB
- Stars: 37
- Watchers: 5
- Forks: 5
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# fs2-dom
Idiomatic [Cats Effect] and [FS2] integrations for [Web APIs] via [scala-js-dom].
[Cats Effect]: https://typelevel.org/cats-effect/
[FS2]: https://fs2.io/
[Web APIs]: https://developer.mozilla.org/en-US/docs/Web/API
[scala-js-dom]: https://github.com/scala-js/scala-js-dom
## Usage
```scala
libraryDependencies += "com.armanbilge" %%% "fs2-dom" % "0.1.0-M1"
```
## Features
- [`ReadableStream`] conversions
- [`EventTarget`] listeners
- Lifecycle-managed [`AbortSignal`]s
- Wrappers for [`Clipboard`], [`History`], [`Lock`], [`Storage`] APIs
- [`Serializable`] typeclass
- Contributions welcome!
[`ReadableStream`]: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream
[`EventTarget`]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget
[`AbortSignal`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
[`Clipboard`]: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
[`History`]: https://developer.mozilla.org/en-US/docs/Web/API/History
[`Lock`]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API
[`Storage`]: https://developer.mozilla.org/en-US/docs/Web/API/Storage
[`Serializable`]: https://developer.mozilla.org/en-US/docs/Glossary/Serializable_object