{"id":25763900,"url":"https://github.com/bernankez/snippets","last_synced_at":"2025-10-17T01:51:16.983Z","repository":{"id":38841181,"uuid":"496617930","full_name":"Bernankez/Snippets","owner":"Bernankez","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-12T07:10:37.000Z","size":602,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-12T14:48:37.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://snippets.keke.cc","language":"TypeScript","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/Bernankez.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}},"created_at":"2022-05-26T12:47:32.000Z","updated_at":"2023-06-16T09:38:01.000Z","dependencies_parsed_at":"2023-01-17T18:30:44.751Z","dependency_job_id":null,"html_url":"https://github.com/Bernankez/Snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bernankez%2FSnippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bernankez%2FSnippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bernankez%2FSnippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bernankez%2FSnippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bernankez","download_url":"https://codeload.github.com/Bernankez/Snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240926522,"owners_count":19879766,"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":"2025-02-26T20:19:33.320Z","updated_at":"2025-10-17T01:51:11.903Z","avatar_url":"https://github.com/Bernankez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 练手的\n\n**框架:** vanilla-ts\n\n**目录:**\n- `/style.css` 一个合理的字体设置\n- `/binary-heap` 最大堆/最小堆\n- `/event` event-bus, 事件中心, `emit, on, off`\n- `/reactive` vue-reactive\n- `/state-machine` js状态机试试\n- `/Vuex` 简易的Vuex\n- `/clone` 简单的deepClone\n- `/is-loop` 判断是否成环\n- `/new-operator` 模拟new操作符\n- `/promise-like` 一个符合Promise/A+规范的Promise\n- `/scheduler` 最多只能同时执行3个任务的调度器\n- `/vue-nextTick` vue nextTick原理\n- `/vue-use` 模拟Vue.use","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernankez%2Fsnippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernankez%2Fsnippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernankez%2Fsnippets/lists"}