{"id":15207086,"url":"https://github.com/js-china/babel-manual","last_synced_at":"2026-02-18T11:02:50.606Z","repository":{"id":112957004,"uuid":"221183747","full_name":"js-china/babel-manual","owner":"js-china","description":"📖 一本教你如何使用Babel以及如何为Babel创建插件的指导手册 —— Babel 中文手册","archived":false,"fork":false,"pushed_at":"2019-11-12T11:00:24.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T08:42:27.641Z","etag":null,"topics":["angularjs","babel","babeljs","handbook","manuals","preset-react","preset-typescript","reactjs","vuejs","webpack4"],"latest_commit_sha":null,"homepage":"https://www.javascriptc.com/docs/babel-manual","language":null,"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/js-china.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":"2019-11-12T09:50:56.000Z","updated_at":"2025-02-06T09:34:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"41c621b5-1233-4aaf-93b3-28ec311a3628","html_url":"https://github.com/js-china/babel-manual","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"5c307a9a843534bce5f827e8064e7bae6068ef59"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/js-china/babel-manual","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-china%2Fbabel-manual","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-china%2Fbabel-manual/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-china%2Fbabel-manual/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-china%2Fbabel-manual/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-china","download_url":"https://codeload.github.com/js-china/babel-manual/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-china%2Fbabel-manual/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29576864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angularjs","babel","babeljs","handbook","manuals","preset-react","preset-typescript","reactjs","vuejs","webpack4"],"created_at":"2024-09-28T06:21:41.485Z","updated_at":"2026-02-18T11:02:50.588Z","avatar_url":"https://github.com/js-china.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## Babel 中文文档 · Babel - 下一代 JavaScript 语法的编译器\n\n### Babel 是什么？\n1. Babel 是一个 JavaScript 编译器。\n2. Babel 是一个工具链，主要用于将 ECMAScript 2015+ 版本的代码转换为向后兼容的 JavaScript 语法，以便能够运行在当前和旧版本的浏览器或其他环境中。下面列出的是 Babel 能为你做的事情：\n+ 语法转换\n+ 通过 Polyfill 方式在目标环境中添加缺失的特性 (通过 @babel/polyfill 模块)\n+ 源码转换 (codemods)\n+ 更多！ (查看这些 [视频](https://babeljs.io/videos) 获得启发) ,- **需要梯子哦**\n\n📖 [在Js中文网 -前端进阶资源教程:heavy_check_mark:，上查看本手册](https://www.javascriptc.com/docs/babel-manual)\n\n## 目录\n\n###  指南\n+ [Babel 是什么？](https://www.javascriptc.com/docs/babel-manual/base)\n+ [使用指南](https://www.javascriptc.com/docs/babel-manual/usage)\n+ [配置 Babel](https://www.javascriptc.com/docs/babel-manual/configuration)\n+ [学习 ES2015](https://www.javascriptc.com/docs/babel-manual/learn)\n+ [升级到 Babel 7](https://www.javascriptc.com/docs/babel-manual/v7-migration)\n+ [升级到 Babel 7 (API)](https://www.javascriptc.com/docs/babel-manual/v7-migration-api)\n###  概览\n+ [编辑器](https://www.javascriptc.com/docs/babel-manual/editors)\n+ [插件](https://www.javascriptc.com/docs/babel-manual/plugins)\n+ [预设（Presets）](https://www.javascriptc.com/docs/babel-manual/presets)\n+ [附加说明](https://www.javascriptc.com/docs/babel-manual/caveats)\n+ [FAQ](https://www.javascriptc.com/docs/babel-manual/faq)\n+ [路线图](https://www.javascriptc.com/docs/babel-manual/roadmap)\n###  用法\n+ [Options](https://www.javascriptc.com/docs/babel-manual/options)\n+ [Config Files](https://www.javascriptc.com/docs/babel-manual/config-files)\n+ [@babel/cli](https://www.javascriptc.com/docs/babel-manual/babel-cli)\n+ [@babel/polyfill](https://www.javascriptc.com/docs/babel-manual/babel-polyfill)\n+ [@babel/plugin-transform-runtime](https://www.javascriptc.com/docs/babel-manual/babel-plugin-transform-runtime)\n+ [@babel/register](https://www.javascriptc.com/docs/babel-manual/babel-register)\n###  预设（Presets）\n+ [@babel/preset-env](https://www.javascriptc.com/docs/babel-manual/babel-preset-env)\n+ [@babel/preset-stage-0](https://www.javascriptc.com/docs/babel-manual/babel-preset-stage-0)\n+ [@babel/preset-stage-1](https://www.javascriptc.com/docs/babel-manual/babel-preset-stage-1)\n+ [@babel/preset-stage-2](https://www.javascriptc.com/docs/babel-manual/babel-preset-stage-2)\n+ [@babel/preset-stage-3](https://www.javascriptc.com/docs/babel-manual/babel-preset-stage-3)\n+ [@babel/preset-flow](https://www.javascriptc.com/docs/babel-manual/babel-preset-flow)\n+ [@babel/preset-react](https://www.javascriptc.com/docs/babel-manual/babel-preset-react)\n+ [babel-preset-minify](https://www.javascriptc.com/docs/babel-manual/babel-preset-minify)\n+ [@babel/preset-typescript](https://www.javascriptc.com/docs/babel-manual/babel-preset-typescript)\n###  工具\n+ [@babel/parser](https://www.javascriptc.com/docs/babel-manual/babel-parser)\n+ [@babel/core](https://www.javascriptc.com/docs/babel-manual/babel-core)\n+ [@babel/generator](https://www.javascriptc.com/docs/babel-manual/babel-generator)\n+ [@babel/code-frame](https://www.javascriptc.com/docs/babel-manual/babel-code-frame)\n+ [@babel/helpers](https://www.javascriptc.com/docs/babel-manual/babel-helpers)\n+ [@babel/runtime](https://www.javascriptc.com/docs/babel-manual/babel-runtime)\n+ [@babel/template](https://www.javascriptc.com/docs/babel-manual/babel-template)\n+ [@babel/traverse](https://www.javascriptc.com/docs/babel-manual/babel-traverse)\n+ [@babel/types](https://www.javascriptc.com/docs/babel-manual/babel-types)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-china%2Fbabel-manual","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-china%2Fbabel-manual","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-china%2Fbabel-manual/lists"}