An open API service indexing awesome lists of open source software.

https://github.com/kevin-lee/refined4s

newtype and refinement (refined) type for Scala 3
https://github.com/kevin-lee/refined4s

functional-programming newtype refined refined-types refinement refinement-types scala

Last synced: 6 months ago
JSON representation

newtype and refinement (refined) type for Scala 3

Awesome Lists containing this project

README

          

# refined4s

[![Build Status](https://github.com/kevin-lee/refined4s/workflows/Build-All/badge.svg)](https://github.com/kevin-lee/refined4s/actions?workflow=Build-All)
[![Release Status](https://github.com/kevin-lee/refined4s/workflows/Release/badge.svg)](https://github.com/kevin-lee/refined4s/actions?workflow=Release)
![GitHub Release Date](https://img.shields.io/github/release-date/kevin-lee/refined4s?logo=github)

![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-core_3)
[![Latest version](https://index.scala-lang.org/kevin-lee/refined4s/latest.svg)](https://index.scala-lang.org/kevin-lee/refined4s)

[![Hits](https://hits.sh/github.com/kevin-lee/refined4s.svg)](https://hits.sh/github.com/kevin-lee/refined4s/)
[![codecov](https://codecov.io/gh/kevin-lee/refined4s/graph/badge.svg?token=eRXmN9YMzk)](https://codecov.io/gh/kevin-lee/refined4s)

![Refined4s Logo](https://refined4s.kevinly.dev/img/refined4s-400x400.png)

Newtypes and Refinement types for Scala 3

## Check out the doc site: [https://refined4s.kevinly.dev](https://refined4s.kevinly.dev)

| Project | Maven Central | JVM | Scala.js | Scala Native |
|------------------------:|--------------------------------------------------------------------------------------------------------|-----|----------|--------------|
| refined4s-core | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-core_3) | ✅ | ✅ | ✅ |
| refined4s-cats | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-cats_3) | ✅ | ✅ | ✅ |
| refined4s-chimney | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-chimney_3) | ✅ | ✅ | ✅ |
| refined4s-circe | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-circe_3) | ✅ | ✅ | ✅ |
| refined4s-pureconfig | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-pureconfig_3) | ✅ | ❌ | ❌ |
| refined4s-doobie-ce2 | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-doobie-ce2_3) | ✅ | ❌ | ❌ |
| refined4s-doobie-ce3 | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-doobie-ce3_3) | ✅ | ❌ | ❌ |
| refined4s-extras-render | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-extras-render_3) | ✅ | ✅ | ✅ |
| refined4s-tapir | ![Maven Central Version](https://img.shields.io/maven-central/v/io.kevinlee/refined4s-tapir_3) | ✅ | ✅ | ❌ |

[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-1.18.0.svg)](https://www.scala-js.org)
[![cats-core Scala version support](https://index.scala-lang.org/kevin-lee/refined4s/refined4s-core/latest-by-scala-version.svg?platform=native0.5)](https://index.scala-lang.org/kevin-lee/refined4s/refined4s-core)

Refined4s also supports Scala.js and Scala Native.

***

## Test Coverage

### Test Coverage Sunburst

[![Test Coverage Sunburst](https://codecov.io/gh/kevin-lee/refined4s/graphs/sunburst.svg?token=eRXmN9YMzk)](https://app.codecov.io/gh/kevin-lee/refined4s)

### Test Coverage Grid

[![Test Coverage Grid](https://codecov.io/gh/kevin-lee/refined4s/graphs/tree.svg?token=eRXmN9YMzk)](https://app.codecov.io/gh/kevin-lee/refined4s)

### Test Coverage Icicle

[![Test Coverage Icicle](https://codecov.io/gh/kevin-lee/refined4s/graphs/icicle.svg?token=eRXmN9YMzk)](https://app.codecov.io/gh/kevin-lee/refined4s)