{"id":18456219,"url":"https://github.com/khezen/mergeyaml","last_synced_at":"2026-05-08T19:32:34.338Z","repository":{"id":52099197,"uuid":"71732352","full_name":"khezen/mergeyaml","owner":"khezen","description":"Recursively merge yaml documents in a new one.","archived":false,"fork":false,"pushed_at":"2021-05-07T13:51:12.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T21:34:43.811Z","etag":null,"topics":["client","npm","yaml"],"latest_commit_sha":null,"homepage":"","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/khezen.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}},"created_at":"2016-10-23T22:01:37.000Z","updated_at":"2020-09-02T15:16:08.000Z","dependencies_parsed_at":"2022-09-04T19:02:10.753Z","dependency_job_id":null,"html_url":"https://github.com/khezen/mergeyaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khezen/mergeyaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fmergeyaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fmergeyaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fmergeyaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fmergeyaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khezen","download_url":"https://codeload.github.com/khezen/mergeyaml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Fmergeyaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32794633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["client","npm","yaml"],"created_at":"2024-11-06T08:10:45.639Z","updated_at":"2026-05-08T19:32:34.314Z","avatar_url":"https://github.com/khezen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version](http://img.shields.io/npm/v/mergeyaml.svg?style=flat)](https://www.npmjs.org/package/mergeyaml)\n\nRecursively merge yaml documents in a new one\n\n# Node.js Usage\n\ninstall\n```\nnpm install mergeyaml --save\n```\n\none.yml\n```\n1: hello\n4:\n    4.1: jhon\n    4.2: doe\n```\n\ntwo.yml\n```\n2: world\n4:\n    4.1: jhon\n    4.2: lenon\n    4.3: from two\n\n```\n\nthree.yml\n```\n3: '!'\n4: \n    4.1: jhon\n    4.2: lennon\n    4.3: from three\n\n```\n\nexample.js\n```javascript\n'use strict';\nvar fs = require('fs');\nvar mergeyaml = require('mergeyaml');\n\nvar one = fs.readFileSync(__dirname + '/one.yml', 'utf8');\nvar two = fs.readFileSync(__dirname + '/two.yml', 'utf8');\nvar three = fs.readFileSync(__dirname + '/three.yml', 'utf8');\n\nconsole.log(mergeyaml(one, two, three));\n// or\nconsole.log(mergeyaml([one, two, three]));\n// -\u003e\n/*\n1: hello\n2: world\n3: '!'\n4: \n    4.1: jhon\n    4.2: doe\n    4.3: from two \n*/\n```\n\n# Terminal Usage\n ```\n npm install -g mergeyaml\n ```\n ```\n mergeyaml $(cat one.yml) $(cat two.yml) $(cat three.yml)\n# -\u003e\n#\n# 1: hello\n# 2: world\n# 3: '!'\n# 4: \n#     4.1: jhon\n#     4.2: doe\n#     4.3: from two \n \n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Fmergeyaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhezen%2Fmergeyaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Fmergeyaml/lists"}