{"id":20059558,"url":"https://github.com/monix/newtypes","last_synced_at":"2025-05-12T22:50:03.042Z","repository":{"id":39974053,"uuid":"400794508","full_name":"monix/newtypes","owner":"monix","description":"Macro-free helpers for defining newtypes in Scala, cross-compiled to Scala 3.","archived":false,"fork":false,"pushed_at":"2024-09-07T15:18:57.000Z","size":1797,"stargazers_count":87,"open_issues_count":25,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-12T22:49:54.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://newtypes.monix.io/","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"alexelcu"}},"created_at":"2021-08-28T13:05:05.000Z","updated_at":"2025-05-12T00:52:24.000Z","dependencies_parsed_at":"2024-12-31T19:12:31.246Z","dependency_job_id":"82cf2e12-4c14-4829-8c2a-65d971ea7008","html_url":"https://github.com/monix/newtypes","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monix%2Fnewtypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monix%2Fnewtypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monix%2Fnewtypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monix%2Fnewtypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monix","download_url":"https://codeload.github.com/monix/newtypes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837387,"owners_count":21971981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T13:08:20.601Z","updated_at":"2025-05-12T22:50:03.011Z","avatar_url":"https://github.com/monix.png","language":"Scala","funding_links":["https://patreon.com/alexelcu"],"categories":[],"sub_categories":[],"readme":"# Monix's Newtypes\n\n[![Build](https://github.com/monix/newtypes/actions/workflows/build.yml/badge.svg)](https://github.com/monix/newtypes/actions/workflows/build.yml)\n\nMacro-free helpers for defining newtypes in Scala, cross-compiled to Scala 3.\n\n## Usage\n\nThe packages are published on Maven Central.\n\n```scala\nlibraryDependencies += \"io.monix\" %% \"newtypes-core\" % \"0.3.0\"\n```\n\nFor the [Circe integration](https://newtypes.monix.io/docs/circe.html):\n\n```scala\n// For Circe version 0.14.x\nlibraryDependencies += \"io.monix\" %% \"newtypes-circe-v0-14\" % \"0.3.0\"\n```\n\nFor the [PureConfig integration](https://newtypes.monix.io/docs/pure-config.html):\n\n```scala\n// For PureConfig version 0.17.x\nlibraryDependencies += \"io.monix\" %% \"newtypes-pureconfig-v0-17\" % \"0.3.0\"\n```\n\nNOTE: the [version scheme](https://www.scala-lang.org/blog/2021/02/16/preventing-version-conflicts-with-versionscheme.html) is set to `early-semver`.\n\n### Documentation\n\n- [ScalaDoc API](https://newtypes.monix.io/api/)\n- [Website](https://newtypes.monix.io/docs/)\n  - [Motivation](https://newtypes.monix.io/docs/motivation.html)\n  - [Defining Newtypes](https://newtypes.monix.io/docs/core.html)\n  - [Circe JSON integration](https://newtypes.monix.io/docs/circe.html)\n\n## Acknowledgements\n\nEncoding was shamelessly copied from the [scala-newtype](https://github.com/estatico/scala-newtype/) project by Cary Robbins et al.\n\n## Contributing\n\nThis project welcomes contributions from anybody wishing to participate.  All code or documentation that is provided must be licensed with the same license that Newtypes is licensed with (Apache 2.0, see [LICENCE](./LICENSE.md)).\n\nPeople are expected to follow the [Scala Code of Conduct](./CODE_OF_CONDUCT.md) when discussing Newtypes on GitHub, Gitter channel, or other venues.\n\nFeel free to open an issue if you notice a bug, have an idea for a feature, or have a question about the code. Pull requests are also gladly accepted. For more information, check out the [contributor guide](./CONTRIBUTING.md).\n\n## License\n\nAll code in this repository is licensed under the Apache License, Version 2.0.  See [LICENCE](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonix%2Fnewtypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonix%2Fnewtypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonix%2Fnewtypes/lists"}