{"id":21195392,"url":"https://github.com/fallenmax/stream","last_synced_at":"2025-12-30T11:31:35.484Z","repository":{"id":70179047,"uuid":"401057754","full_name":"FallenMax/stream","owner":"FallenMax","description":"Another FRP library (WIP)","archived":false,"fork":false,"pushed_at":"2021-08-29T15:07:29.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T14:14:58.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FallenMax.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-29T14:08:40.000Z","updated_at":"2021-08-29T15:07:32.000Z","dependencies_parsed_at":"2023-08-26T18:21:28.776Z","dependency_job_id":null,"html_url":"https://github.com/FallenMax/stream","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/FallenMax%2Fstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FallenMax","download_url":"https://codeload.github.com/FallenMax/stream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652646,"owners_count":20325597,"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":"2024-11-20T19:27:42.911Z","updated_at":"2025-12-30T11:31:35.433Z","avatar_url":"https://github.com/FallenMax.png","language":"TypeScript","readme":"# Another FRP library (WIP)\n\n_Quoted from [StreetStrider/fluh](https://github.com/StreetStrider/fluh):_\n\n\u003e When thinking of reactive stuff there're multiple spaces of decisions in which you have to make a choice.\n\u003e\n\u003e - Is it push or pull?\n\u003e - Is it unicast or multicast?\n\u003e - Is it always live or depends on subscribers' presense?\n\u003e - Does stream have value at any time?\n\u003e - Is it sync or async?\n\u003e - How errors should be handled?\n\u003e - Does stream end?\n\u003e - Is data graph static or dynamic?\n\u003e\n\u003e Choosing some decisions will lead to a specific FRP system.\n\u003e Watch [this speech](https://www.youtube.com/watch?v=Agu6jipKfYw) about this decision space.\n\nThis library is:\n\n- A push-strategy FRP implementation\n- Stream only become _active_ when there are subscribers, and stops when there are none\n- Streams are shared/multicast by default, and contains single (current) value\n- \"no update\" is expressed with special value `NOTHING` during update, so `null` or `undefined` can be freely used, you can also detect or return `NOTHING` when building your stream\n- Data graph is static by default\n- Update is atomic like [flyd](https://github.com/paldepind/flyd#atomic-updates), avoiding intermediate states\n- Sync by default\n\nThere are still some unfinished parts, namely:\n\n- Figure out how to handle update-during-another-update\n- Figure out how to handle subscribe/unsubscribe-during-update\n- More essential operators\n- Benchmark and performance optimizations\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffallenmax%2Fstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fstream/lists"}