{"id":20104962,"url":"https://github.com/qianlongo/resume-native","last_synced_at":"2025-04-05T17:06:32.739Z","repository":{"id":20503681,"uuid":"89489332","full_name":"qianlongo/resume-native","owner":"qianlongo","description":"一个用原生js写的会动的简历","archived":false,"fork":false,"pushed_at":"2022-12-08T03:13:27.000Z","size":1101,"stargazers_count":393,"open_issues_count":26,"forks_count":96,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-04-15T00:01:12.001Z","etag":null,"topics":["javascript","resume"],"latest_commit_sha":null,"homepage":"https://qianlongo.github.io/resume-native/dist/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qianlongo.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":"2017-04-26T14:17:37.000Z","updated_at":"2024-03-04T07:17:46.000Z","dependencies_parsed_at":"2023-01-12T03:30:40.151Z","dependency_job_id":null,"html_url":"https://github.com/qianlongo/resume-native","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/qianlongo%2Fresume-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qianlongo%2Fresume-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qianlongo%2Fresume-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qianlongo%2Fresume-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qianlongo","download_url":"https://codeload.github.com/qianlongo/resume-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":["javascript","resume"],"created_at":"2024-11-13T17:45:26.189Z","updated_at":"2025-04-05T17:06:32.716Z","avatar_url":"https://github.com/qianlongo.png","language":"JavaScript","readme":"## 谢谢你来啦\n\n也许你我素未谋面，但很可能相见恨晚。希望这里能成为你的栖息之地，我愿和你一起收获喜悦，奔赴成长。\n\n这里每年都会分享不少于`200+篇`精选优质好文，如果你想第一时间获取文章内容，可以前往[【公众号】](#公众号)，也可以加我[【微信】](#公众号)噢。\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#公众号\"\u003e\u003cimg src=\"https://img.shields.io/badge/weChat-微信群-blue.svg\" alt=\"微信群\"\u003e\u003c/a\u003e\n  \u003ca href=\"#公众号\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E5%85%AC%E4%BC%97%E5%8F%B7-前端胖头鱼-blue.svg\" alt=\"公众号\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://juejin.cn/user/3438928099549352\"\u003e\u003cimg src=\"https://img.shields.io/badge/juejin-掘金-blue.svg\" alt=\"公众号\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://segmentfault.com/u/116263\"\u003e\u003cimg src=\"https://img.shields.io/badge/sg-sg-blue.svg\" alt=\"公众号\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.zhihu.com/people/qian-duan-pang-tou-yu\"\u003e\u003cimg src=\"https://img.shields.io/badge/zhihu-知乎-informational\" alt=\"投稿\"\u003e\u003c/a\u003e\n \u003c/p\u003e\n\n\n  \u003ca name=\"微信\"\u003e\u003c/a\u003e  \u003ca name=\"公众号\"\u003e\u003c/a\u003e\n\n\n![](./wx.png)\n\n## 简要说明\n\n\u003e 一个好玩的会动的简历 O(∩_∩)O哈哈~，通过`callback`、`promise`、`generator`、`async`四种方式分别实现。\n\n[点击预览](https://qianlongo.github.io/resume-native/dist/)\n\n## 异步流程控制说明\n\n\u003e 可以切换到以下不同的分支来查看，简历生成过程中异步流程控制解决方案\n\n1. master(使用回调函数处理)\n2. promise(使用promise处理)\n3. generator-thunk(使用generator + thunk函数处理)\n4. generator-promise(使用generator + promise处理)\n5. async(使用async处理)\n\n\n## install\n\n```javascript\nyarn i\n\n```\n\n## run\n\n```javascript\nnpm run dev\n\n```\n\n## preview\n\n```javascript\nlocalhost:8080\n\nor\n\n127.0.0.1:8080\n\nor\n\n0.0.0.0:8080\n\n```\n\n## build\n\n```javascript\nnpm run build\n\n```\n\n## co源码分析\n\n\u003e 其实开始对generator感兴趣，正是由写这个会动的简历开始，一步步弄明白了怎么使用，以及通过它来解决一些异步流程控制问题。而[co](https://github.com/tj/co)这个东西是什么呢？其正是解决上述问题的非常好的方案。所以打算写一篇[走一步再走一步，揭开co的神秘面纱](https://github.com/qianlongo/resume-native/blob/master/co-analysis.md)源码分析的文章。放在这个仓库里，也是有一定的纪念意义。\n\n\n## koa源码分析(进行中)\n\n\u003e 最近的工作涉及到编写nodejs的事情，而使用的框架正是横向同事基于koa而搭建的，虽然平时使用起来没有什么问题，但是总想整明白框架本身到底是怎么回事，既然框架本身是基于koa而搭建，那么先熟悉和了解koa的源码，再去看同事搭建的框架应该会更好，说干就干...\n\n[你知道koa中间件执行原理吗？](https://github.com/qianlongo/resume-native/issues/1)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqianlongo%2Fresume-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqianlongo%2Fresume-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqianlongo%2Fresume-native/lists"}