{"id":22433742,"url":"https://github.com/gavinning/aimee-extend","last_synced_at":"2025-06-19T23:37:39.376Z","repository":{"id":34435230,"uuid":"38368749","full_name":"gavinning/aimee-extend","owner":"gavinning","description":"Aimee-extend Aimee的扩展模块，用于对象扩展提供底层服务","archived":false,"fork":false,"pushed_at":"2015-07-08T06:08:10.000Z","size":124,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T01:08:27.090Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gavinning.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":"2015-07-01T11:59:00.000Z","updated_at":"2015-07-01T12:00:30.000Z","dependencies_parsed_at":"2022-09-14T06:11:18.742Z","dependency_job_id":null,"html_url":"https://github.com/gavinning/aimee-extend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinning%2Faimee-extend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinning%2Faimee-extend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinning%2Faimee-extend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinning%2Faimee-extend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavinning","download_url":"https://codeload.github.com/gavinning/aimee-extend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806390,"owners_count":20675296,"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-12-05T22:15:46.694Z","updated_at":"2025-03-27T07:46:05.886Z","avatar_url":"https://github.com/gavinning.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aimee-extend\n\nAimee-extend Aimee的扩展模块，用于对象扩展提供底层服务，依赖aimee-is，代码来自jQuery.extend@2.0.3，使用方法可参照jQuery.extend\n\n[Aimee-is](https://github.com/gavinning/aimee-is)\n\n```\n// 直接使用\nvar extend = require('extend');\n\nvar obj = extend({}, {}, {} [, {}...])\n```\n\n```\n// 作为属性使用\nvar extend = require('extend');\nvar obj = {};\n\nobj.extend = extend;\nobj.extend({\n\tbar: function(){\n\t\tconsole.log('bar')\n\t}\n})\n\nobj.bar()\n// =\u003e bar\n```\n\n```\n// 作为类的核心方法使用\nvar extend = require('extend');\nvar Class = function(){}\n\nClass.extend = Class.prototype.extend = extend;\n\n// 扩展自身\nClass.extend({})\n\n// 扩展原型链\nClass.prototype.extend({})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinning%2Faimee-extend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinning%2Faimee-extend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinning%2Faimee-extend/lists"}