{"id":17888097,"url":"https://github.com/fireflycons/yaml-merge","last_synced_at":"2026-06-29T18:05:05.724Z","repository":{"id":216980534,"uuid":"742865773","full_name":"fireflycons/yaml-merge","owner":"fireflycons","description":"Tool for merging several YAML or JSON documents into a single document. Can be useful in some CI/CD situations where you might have a layered configuration structure.","archived":false,"fork":false,"pushed_at":"2024-01-14T14:41:31.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T16:44:09.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/fireflycons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2024-01-13T15:51:46.000Z","updated_at":"2024-04-11T13:51:49.000Z","dependencies_parsed_at":"2024-01-14T00:56:21.709Z","dependency_job_id":"f8c46a2e-a517-476e-911a-bd5a8925d947","html_url":"https://github.com/fireflycons/yaml-merge","commit_stats":null,"previous_names":["fireflycons/yaml-merge"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireflycons%2Fyaml-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireflycons%2Fyaml-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireflycons%2Fyaml-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireflycons%2Fyaml-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fireflycons","download_url":"https://codeload.github.com/fireflycons/yaml-merge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927809,"owners_count":20856193,"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-10-28T13:36:32.860Z","updated_at":"2025-10-31T10:54:38.555Z","avatar_url":"https://github.com/fireflycons.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yaml-merge\n\n![build](https://img.shields.io/github/actions/workflow/status/fireflycons/yaml-merge/test.yml)\n\nTool for merging several YAML or JSON documents into a single document. Can be useful in some CI/CD situations where you might have a layered configuration structure.\n\nMerged document can be output as either YAML or JSON.\n\nThe command is a standalone binary with no dependencies.\n\n## Usage\n\n```text\nUsage: yaml-merge [OPTIONS] file1 file2 [...filen]\n\nMerge two or more YAML or JSON documents together.\nDocuments are merged in the order they appear on the command line\nand the result output defaults to YAML.\n\n  -j    Output JSON instead of YAML. Auto-enabled if output file has .json extension\n  -o string\n        Output file (stdout if not present)\n  -s    Set strict mode (value types for any given key must be the same)\n  -v    Verbose (messages written to stderr)\n```\n\n## Merge strategy\n\nMaps are deep-merged. For example,\n\n```\n\t{\"one\": 1, \"two\": 2} + {\"one\": 42, \"three\": 3}\n\t== {\"one\": 42, \"two\": 2, \"three\": 3}\n```\n\nSequences are replaced. For example,\n\n```\n\t{\"foo\": [1, 2, 3]} + {\"foo\": [4, 5, 6]}\n\t== {\"foo\": [4, 5, 6]}\n```\n\nIn non-strict mode, attempting to merge\nmismatched types (e.g., merging a sequence into a map) replaces the old\nvalue with the new. In strict mode, an error is reported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireflycons%2Fyaml-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffireflycons%2Fyaml-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireflycons%2Fyaml-merge/lists"}