{"id":23968608,"url":"https://github.com/vutran/conkat","last_synced_at":"2025-06-25T13:03:09.413Z","repository":{"id":57205642,"uuid":"118994476","full_name":"vutran/conkat","owner":"vutran","description":"😺 Merge arrays, objects, maps, and sets","archived":false,"fork":false,"pushed_at":"2018-10-04T16:14:13.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T01:47:38.689Z","etag":null,"topics":["array","concat","list","maps","merge","object","set","util"],"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/vutran.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":"2018-01-26T02:24:03.000Z","updated_at":"2023-06-10T07:25:53.000Z","dependencies_parsed_at":"2022-09-12T22:50:36.046Z","dependency_job_id":null,"html_url":"https://github.com/vutran/conkat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fconkat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fconkat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fconkat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fconkat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vutran","download_url":"https://codeload.github.com/vutran/conkat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240492804,"owners_count":19810169,"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":["array","concat","list","maps","merge","object","set","util"],"created_at":"2025-01-07T00:15:13.855Z","updated_at":"2025-02-24T14:24:31.386Z","avatar_url":"https://github.com/vutran.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# conkat\n\n\u003e Merge arrays, objects, maps, and sets\n\n## Install\n\n```\n$ npm i -S conkat\n```\n\n## Usage\n\n### Merge Arrays\n\n```js\nimport merge from 'conkat';\n\nconst a = [1, 2, 3];\nconst b = [4, 5, 6];\n\nconsole.log(conkat(a, b));\n\n// -\u003e [1, 2, 3, 4, 5, 6]\n```\n\n### Merge Objects\n\n```js\nconst a = {\n  first_name: 'Vu',\n}\n\nconst b = {\n  last_name: 'Tran',\n}\n\nconsole.log(conkat(a, b));\n\n// -\u003e { first_name: 'Vu', last_name: 'Tran' }\n```\n\n### Merge ES2015 Sets\n\n```js\nconst a = new Set();\na.add('foo');\na.add('bar');\n\nconst b = new Set();\nb.add('baz');\nb.add('qux');\n\nconsole.log(conkat(a, b));\n\n// -\u003e Set { 'foo', 'bar', 'baz', 'qux' }\n```\n\n### Merge ES2015 Maps\n\n```js\nconst a = new Map();\na.set('one', 1);\na.set('two', 2);\n\nconst b = new Map();\na.set('three', 3);\n\nconsole.log(conkat(a, b));\n\n// -\u003e Map { 'one' =\u003e 1, 'two' =\u003e 2, 'three' =\u003e 3 }\n```\n\n## License\n\nMIT © [Vu Tran](https://github.com/vutran/conkat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Fconkat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvutran%2Fconkat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Fconkat/lists"}