{"id":17975567,"url":"https://github.com/rafaelrinaldi/combine-same-keys","last_synced_at":"2025-03-25T14:33:02.295Z","repository":{"id":57203850,"uuid":"123722729","full_name":"rafaelrinaldi/combine-same-keys","owner":"rafaelrinaldi","description":"Combine all properties sharing the same key into a single object","archived":false,"fork":false,"pushed_at":"2018-07-21T22:31:45.000Z","size":61,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T12:54:39.298Z","etag":null,"topics":["css-in-js","extend","merge"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaelrinaldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-03T19:05:59.000Z","updated_at":"2018-09-25T02:31:14.000Z","dependencies_parsed_at":"2022-09-17T14:52:40.251Z","dependency_job_id":null,"html_url":"https://github.com/rafaelrinaldi/combine-same-keys","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fcombine-same-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fcombine-same-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fcombine-same-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrinaldi%2Fcombine-same-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelrinaldi","download_url":"https://codeload.github.com/rafaelrinaldi/combine-same-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245480694,"owners_count":20622355,"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":["css-in-js","extend","merge"],"created_at":"2024-10-29T17:20:07.594Z","updated_at":"2025-03-25T14:33:01.920Z","avatar_url":"https://github.com/rafaelrinaldi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[url]: https://rinaldi.io\n\n# combine-same-keys [![Build Status](https://semaphoreci.com/api/v1/rafaelrinaldi/combine-same-keys/branches/master/badge.svg)](https://semaphoreci.com/rafaelrinaldi/combine-same-keys)\n\u003e Combine all properties sharing the same key into a single object\n\n## Install\n\n    npm i combine-same-keys\n\n## Usage\n\n```js\nimport combineSameKeys from 'combine-same-keys'\n\ncombineSameKeys(\n  {\n    foo: { color: 'red' },\n    bar: { fontSize: 16 }\n  },\n\n  {\n    foo: {\n      backgroundColor: 'gold',\n      lineHeight: 0\n    }\n  },\n\n  { baz: { opacity: 1 } }\n)\n\n/*\n{ foo: { color: 'red', backgroundColor: 'gold', lineHeight: 0 },\n      bar: { fontSize: 16 },\n      baz: { opacity: 1 } }\n*/\n```\n\n## API\n\n### `combineSameKeys(...args)`\n\n#### `args`\n\nType: rest parameter with `Object` entries\n\n## License\n\nMIT © [Rafael Rinaldi][url]\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://buymeacoff.ee/rinaldi\" title=\"Buy me a coffee\"\u003eBuy me a ☕\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrinaldi%2Fcombine-same-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelrinaldi%2Fcombine-same-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrinaldi%2Fcombine-same-keys/lists"}