{"id":18332233,"url":"https://github.com/canfoo/article","last_synced_at":"2026-03-19T03:57:00.228Z","repository":{"id":239789397,"uuid":"184057465","full_name":"canfoo/article","owner":"canfoo","description":"收集的一些文章","archived":false,"fork":false,"pushed_at":"2019-05-09T12:22:15.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T18:45:09.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/canfoo.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-04-29T11:22:00.000Z","updated_at":"2019-05-09T12:22:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea581c14-f6d7-436d-b7d3-53e80256080f","html_url":"https://github.com/canfoo/article","commit_stats":null,"previous_names":["canfoo/article"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/canfoo/article","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canfoo%2Farticle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canfoo%2Farticle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canfoo%2Farticle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canfoo%2Farticle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canfoo","download_url":"https://codeload.github.com/canfoo/article/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canfoo%2Farticle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28671202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-05T19:38:20.179Z","updated_at":"2026-01-22T21:03:34.991Z","avatar_url":"https://github.com/canfoo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# article\n## js相关的\n\n1. [设计模式](https://segmentfault.com/a/1190000010914032?utm_source=tag-newest)\n - 发布订阅：\n  我们在使用发布-订阅者模式之前，先了解什么是发布-订阅者模式。简单来说，发布订阅者模式就是一种一对多的依赖关系。多个订阅者（一般是注册的函数）同时监听同一个数据对象，当这个数据对象发生变化的时候会执行一个发布事件，通过这个发布事件会通知到所有的订阅者，使它们能够自己改变对数据对象依赖的部分状态。\n这样看来，一个完整的订阅发布模式，由发布者、订阅者、消息管理器三部分组成。\n详情点击[发布订阅场景](https://blog.csdn.net/weixin_41305441/article/details/82778648)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanfoo%2Farticle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanfoo%2Farticle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanfoo%2Farticle/lists"}