{"id":27121593,"url":"https://github.com/shyndman/yaml_fluency","last_synced_at":"2026-05-10T03:54:11.354Z","repository":{"id":61975059,"uuid":"347327444","full_name":"shyndman/yaml_fluency","owner":"shyndman","description":"Write YAML using a fluent syntax","archived":false,"fork":false,"pushed_at":"2021-03-13T11:09:17.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-02T01:35:52.363Z","etag":null,"topics":["dart","flutter","serialization","yaml"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shyndman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-13T09:29:50.000Z","updated_at":"2022-01-22T11:03:04.000Z","dependencies_parsed_at":"2022-10-24T13:45:22.710Z","dependency_job_id":null,"html_url":"https://github.com/shyndman/yaml_fluency","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyndman%2Fyaml_fluency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyndman%2Fyaml_fluency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyndman%2Fyaml_fluency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyndman%2Fyaml_fluency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shyndman","download_url":"https://codeload.github.com/shyndman/yaml_fluency/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640455,"owners_count":20971555,"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":["dart","flutter","serialization","yaml"],"created_at":"2025-04-07T11:00:00.063Z","updated_at":"2026-01-11T13:38:26.295Z","avatar_url":"https://github.com/shyndman.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAML Fluency\n\n[![Pub](https://img.shields.io/pub/v/yaml_fluency)](https://pub.dev/packages/yaml_fluency)\n[![Github test](https://github.com/madewithfelt/yaml_fluency/workflows/test/badge.svg)](https://github.com/madewithfelt/yaml_fluency/actions?query=test)\n\nWrites YAML strings fluently\n\nWrite this:\n```dart\nfinal userWriter = YamlMapWriter()\n  ..writeMap(\n    'man',\n    (man) =\u003e man\n      ..writeString('email', 'scott@madewithfelt.com')\n      ..writeString('displayName', 'shyndman', quoted: false)\n      ..writeBool('activated', true)\n      ..writeString('bio', stripLeadingSpace('''\n        Ontario native, and dog whisperer.\n        Programming Dart/Flutter these days.\n      '''), multiline: true)\n      ..writeMap(\n        'account',\n        (account) =\u003e account\n          ..writeNumber('loginCount', 5)\n          ..writeString(\n            'ticket',\n            Uuid().v4(),\n          ),\n      ),\n  )\n  ..writeMap(\n    'dog',\n    (dog) =\u003e dog\n      ..writeString('name', 'Henry')\n      ..writeNumber('weight (lbs)', 24.5)\n      ..writeBool('awesome', true)\n      ..writeString('bio', stripLeadingSpace('''\n        California dog, coming to terms\n        with the Canadian winter.\n      '''), multiline: true),\n  );\n```\n\nTo get this:\n```yaml\nman:\n  email: \"scott@madewithfelt.com\"\n  displayName: shyndman\n  activated: true\n  bio: |-\n    Ontario native, and dog whisperer.\n    Programming Dart/Flutter these days.\n  account:\n    loginCount: 5\n    ticket: \"d17933a8-4e24-4e66-9522-d59124f84503\"\ndog:\n  name: \"Henry\"\n  weight (lbs): 24.5\n  awesome: true\n  bio: |-\n    California dog, coming to terms\n    with the Canadian winter.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyndman%2Fyaml_fluency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyndman%2Fyaml_fluency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyndman%2Fyaml_fluency/lists"}