{"id":13582882,"url":"https://github.com/brainsiq/merge-yaml-cli","last_synced_at":"2025-04-06T17:32:31.890Z","repository":{"id":11581353,"uuid":"70064521","full_name":"brainsiq/merge-yaml-cli","owner":"brainsiq","description":"Node.js CLI utility for merging YAML files","archived":false,"fork":false,"pushed_at":"2024-11-07T19:51:28.000Z","size":381,"stargazers_count":17,"open_issues_count":20,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:57:57.675Z","etag":null,"topics":["cli","node","yaml"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/brainsiq.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-05T13:45:20.000Z","updated_at":"2023-10-20T09:54:56.000Z","dependencies_parsed_at":"2023-12-02T15:22:33.515Z","dependency_job_id":"6955cc45-d289-4943-86fa-410e41e6b5a0","html_url":"https://github.com/brainsiq/merge-yaml-cli","commit_stats":{"total_commits":42,"total_committers":5,"mean_commits":8.4,"dds":"0.38095238095238093","last_synced_commit":"0b42d440c81285a91a6f6342c6a1ea0fcae422fb"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainsiq%2Fmerge-yaml-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainsiq%2Fmerge-yaml-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainsiq%2Fmerge-yaml-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainsiq%2Fmerge-yaml-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainsiq","download_url":"https://codeload.github.com/brainsiq/merge-yaml-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289398,"owners_count":20914464,"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":["cli","node","yaml"],"created_at":"2024-08-01T15:03:05.805Z","updated_at":"2025-04-06T17:32:29.360Z","avatar_url":"https://github.com/brainsiq.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# merge-yaml-cli\n\n[![Known Vulnerabilities](https://snyk.io/test/github/brainsiq/merge-yaml-cli/ac54a80e5f7f1648aecc380c7aea470f49f1ccef/badge.svg)](https://snyk.io/test/github/brainsiq/merge-yaml-cli/ac54a80e5f7f1648aecc380c7aea470f49f1ccef) [![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](http://standardjs.com/)\n [![CircleCI](https://circleci.com/gh/brainsiq/merge-yaml-cli/tree/master.svg?style=shield\u0026circle-token=077fdc5153f1faebffa5e687a44369759c6a820d)](https://circleci.com/gh/brainsiq/merge-yaml-cli/tree/master)\n\n[![NPM](https://nodei.co/npm/merge-yaml-cli.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/merge-yaml-cli/)\n\nMerges YAML files together using [glob](https://www.npmjs.com/package/glob) patterns to specify input files, with a CLI to\nwrite out the result as a file.\n\n#### Usage\n\n```shell\nnpm i -g merge-yaml-cli\nmerge-yaml -i example.yaml includes/*.yml -o merged.yml\n```\n\n#### Node.js API\n\n```\nconst mergeYaml = require('merge-yaml-cli')\n\nmergeYaml.on('files', console.log('Files found: ', files))\n\nconst result = mergeYaml.merge(['example.yml', 'includes/*.yml'])\n```\n\n#### Tests\n\nThe repo contains one simple test case. `tests/base.yml` is merged with `includes/*.yml` and the output is compared with `expected.yml`.\n\nThe test can be run with `yarn test` or `npm test` but requires Docker and Docker Compose to be installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainsiq%2Fmerge-yaml-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainsiq%2Fmerge-yaml-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainsiq%2Fmerge-yaml-cli/lists"}