{"id":20438323,"url":"https://github.com/seebigs/seebigs-extend","last_synced_at":"2025-10-28T07:35:32.650Z","repository":{"id":75737143,"uuid":"120365905","full_name":"seebigs/seebigs-extend","owner":"seebigs","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-21T21:39:30.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T11:04:52.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/seebigs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-05T21:46:32.000Z","updated_at":"2018-03-21T21:39:31.000Z","dependencies_parsed_at":"2023-03-19T18:04:37.425Z","dependency_job_id":null,"html_url":"https://github.com/seebigs/seebigs-extend","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"6f6788ae7f6ac7201cdc6c2e9ca6419ba8dd78ef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seebigs%2Fseebigs-extend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seebigs%2Fseebigs-extend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seebigs%2Fseebigs-extend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seebigs%2Fseebigs-extend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seebigs","download_url":"https://codeload.github.com/seebigs/seebigs-extend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241983597,"owners_count":20052711,"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-11-15T09:10:25.915Z","updated_at":"2025-10-28T07:35:27.598Z","avatar_url":"https://github.com/seebigs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seebigs-extend\n\nDoes a shallow extend but clones whatever values are passed.\n\n*The first argument is mutated. Undefined values are ignored.*\n\n```js\nvar extend = require('seebigs-extend');\n\nvar one = {\n    a: {\n        b: 1,\n        c: 1,\n    }\n};\n\nvar two = {\n    c: 2,\n    d: 2,\n};\n\nextend(one, {\n    a: two\n});\n\ntwo.d = 3;\n\n/* one ===\n{\n    a: {\n        c: 2,\n        d: 2,\n    }\n}\n*/\n```\n\nProperties on the extended objects are cloned with the following behavior:\n*   Unclonable values are assigned outright (String, Boolean, Number, Null, Undefined, Window)\n*   Plain Objects inherit the same prototype then recursively deep copy each property\n*   Arrays clone all values into a new array\n*   Some objects are mostly-cloned but will report as [object Object] (HTMLCollections)\n*   Sometimes we choose not to clone for simplicity and return same value (Date, RegExp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseebigs%2Fseebigs-extend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseebigs%2Fseebigs-extend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseebigs%2Fseebigs-extend/lists"}