# jpsim/Yams

A Sweet and Swifty YAML parser.

Repository: https://github.com/jpsim/Yams
Canonical: https://ross.abutalabs.com/products/yams
Homepage: https://jpsim.com/Yams
Language: Swift
License: MIT
License Family: permissive
Topics: swift, libyaml, yaml, ios, macos, linux
Last push: 2026-07-27T02:23:11+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 94, release rhythm 74, longevity 100
- inputs: {"age_days": 3574, "days_push": 38, "days_rel": 99, "gap_med": 36.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1267, forks 171 (observed 2026-08-28T04:04:11.330052+00:00)

## What it is
Yams is a Swift YAML parser and emitter built on top of LibYAML. It provides Codable-based encoding/decoding, conversion to Swift standard library types, and a native Node representation.

## Use cases
- parse yaml files in swift
- decode yaml into codable structs
- serialize swift objects to yaml
- read yaml config files on ios or macos
- convert yaml to swift dictionaries
- emit yaml strings from swift types

## When to choose
- you need a fast, spec-compliant YAML parser in Swift
- you want Codable integration for YAML
- you target Apple platforms or Linux with SwiftPM

## When to avoid
- you need YAML in a non-Swift project
- you need extremely exotic YAML features unsupported by LibYAML

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools, files
- platform: -
- tags: yaml, libyaml, codable, swift-package-manager, encoder, decoder, macos, ios, linux, swift

## Member repositories
- jpsim/Yams (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.330052+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:42.809797+00:00, confidence not recorded.
  - readme: https://github.com/jpsim/Yams (fetched 2026-08-28T04:04:11.330052+00:00, sha 922233dab679)
  - homepage: https://jpsim.com/Yams (fetched 2026-08-29T12:15:30.333251+00:00, sha a6a01d6ba8cc)
  - site_page: https://www.jpsim.com/Yams/index.html (fetched 2026-08-29T12:15:30.342443+00:00, sha 007ae2de472e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
