{"id":13481164,"url":"https://github.com/ecomfe/esl","last_synced_at":"2025-05-15T19:02:50.452Z","repository":{"id":7051751,"uuid":"8332224","full_name":"ecomfe/esl","owner":"ecomfe","description":"enterprise standard loader","archived":false,"fork":false,"pushed_at":"2023-03-30T14:44:41.000Z","size":775,"stargazers_count":845,"open_issues_count":6,"forks_count":226,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-03-31T21:46:37.168Z","etag":null,"topics":["amd","javascript","loader"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecomfe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2013-02-21T09:41:31.000Z","updated_at":"2025-03-27T15:42:29.000Z","dependencies_parsed_at":"2022-08-02T10:35:54.544Z","dependency_job_id":"3deb0b6d-8a1b-48be-a4f0-f4c279fc25f1","html_url":"https://github.com/ecomfe/esl","commit_stats":{"total_commits":346,"total_committers":8,"mean_commits":43.25,"dds":0.09826589595375723,"last_synced_commit":"20c670458e80b10b34dab523821ebecd34ce2dca"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fesl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fesl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fesl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fesl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomfe","download_url":"https://codeload.github.com/ecomfe/esl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737788,"owners_count":20987721,"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":["amd","javascript","loader"],"created_at":"2024-07-31T17:00:49.286Z","updated_at":"2025-04-07T22:10:53.429Z","avatar_url":"https://github.com/ecomfe.png","language":"JavaScript","readme":"ESL (Enterprise Standard Loader)\n=====================\n\nESL是一个`浏览器端`、`符合AMD`的标准加载器，适合用于现代Web浏览器端应用的入口与模块管理。\n\nESL is a browser-only, amd-compliant module loader. In modern web applications, it is normally used in startup script or as a module manager.\n\n通过`右键另存`的方式下载ESL (Download by `Save As`):\n\n- [压缩代码 (Compressed)](http://s1.bdstatic.com/r/www/cache/efe/esl/2-1-6/esl.js)\n- [源码 (Source)](http://s1.bdstatic.com/r/www/cache/efe/esl/2-1-6/esl.source.js)\n\n### 了解AMD (About AMD)\n\n- [前端为什么需要模块化? (WHY WEB MODULES?)](http://requirejs.org/docs/why.html)\n- [为什么需要使用AMD? (WHY AMD?)](http://requirejs.org/docs/whyamd.html)\n- [玩转AMD系列 - 设计思路篇](http://ecomfe.github.io/blog/dissecting-amd-what/)\n- [玩转AMD系列 - 应用实践篇](http://ecomfe.github.io/blog/dissecting-amd-how/)\n- [玩转AMD系列 - Loader篇](http://ecomfe.github.io/blog/dissecting-amd-loader/)\n- [AMD spec](https://github.com/amdjs/amdjs-api/wiki/AMD)\n- [AMD Require](https://github.com/amdjs/amdjs-api/wiki/require)\n- [AMD Common-Config](https://github.com/amdjs/amdjs-api/wiki/Common-Config)\n- [AMD Loader-Plugins](https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins)\n\n\n### ESL vs RequireJS\n\n- 体积更小 (Smaller) \n- 性能更高 (Higher performance)\n- 更健壮 (More Robustness)\n- 不支持在`非浏览器端`使用 (Browser only)\n- 依赖模块`用时定义` (Lazy define)\n\n\n### ESL的配置项 (CONFIGURATION OPTIONS)\n\n查看 [ESL的配置文档](doc/config.md)\n\nSee [Configuration Options](doc/config.md)\n\n\n### CDN\n\n当前版本的CDN引用：(latest)\n\n```html\n\u003c!-- compressed --\u003e\n\u003cscript src=\"https://unpkg.com/esljs@2.2.2/dist/esl.js\"\u003e\u003c/script\u003e\n\n\u003c!-- source --\u003e\n\u003cscript src=\"https://unpkg.com/esljs@2.2.2/dist/esl.source.js\"\u003e\u003c/script\u003e\n```\n\n[过往版本 (Old version)](CDN.md)\n\n\n### 体积对比 (FILE SIZES)\n\n`uglifyjs -mc + gzip`\n\n- `esl 2.2.2` 4.6k\n- `requirejs 2.3.5` 6.5k\n\n\n### 性能对比 (PERFORMANCE)\n\n查看 [wiki文档](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)\n\nSee [wiki page](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)\n\n\n### 了解ESL的进化史 (CHANGE LOG)\n\n[了解ESL的进化史(CHANGE LOG)](CHANGELOG.md)\n\n\n### 错误信息 (ERROR MESSAGE)\n\n阅读 [ESL 中的错误提示信息](http://efe.baidu.com/blog/esl-error-message/) 一文，以帮助您使用 ESL 时进行错误追查与调试。\n\n","funding_links":[],"categories":["Loaders","Loaders [🔝](#readme)","JavaScript","加载器"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fesl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomfe%2Fesl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fesl/lists"}