CodableKit and swift-codable-macro

These are competitors offering overlapping solutions for reducing boilerplate in Swift's Codable implementation, though CodableKit focuses specifically on default values while swift-codable-macro emphasizes customizable conformance generation.

CodableKit
52
Established
swift-codable-macro
23
Experimental
Maintenance 13/25
Adoption 8/25
Maturity 16/25
Community 15/25
Maintenance 2/25
Adoption 4/25
Maturity 9/25
Community 8/25
Stars: 52
Forks: 8
Downloads:
Commits (30d): 0
Language: Swift
License: MIT
Stars: 8
Forks: 1
Downloads:
Commits (30d): 0
Language: Swift
License: MIT
No Package No Dependents
Stale 6m No Package No Dependents

About CodableKit

WendellXY/CodableKit

A Swift macro package designed to simplify the use of Swift's Codable protocol by allowing easy integration of default values, reducing the amount of auxiliary code you need to write.

Uses SwiftSyntax-based macros to generate `init(from:)` and `encode(to:)` implementations with support for nested key-paths, lossy array decoding, raw-string transcoding, and explicit lifecycle hooks (`@CodableHook`). Targets Swift 6.0+ and integrates transformers and `JSONValue` for dynamic payload handling, surfacing configuration errors at compile time rather than runtime.

About swift-codable-macro

Star-Lord-PHB/swift-codable-macro

Macros for automatically generating customizable conformance to `Codable` protocol.

Related comparisons

Scores updated daily from GitHub, PyPI, and npm data. How scores work