{"id":26529028,"url":"https://github.com/faustienf/effector-fsp","last_synced_at":"2025-10-14T21:07:53.249Z","repository":{"id":45840464,"uuid":"514000446","full_name":"faustienf/effector-fsp","owner":"faustienf","description":"☄️ Effector FSP. Filter→Sort→Paginate","archived":false,"fork":false,"pushed_at":"2022-07-17T21:51:12.000Z","size":734,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T16:21:19.085Z","etag":null,"topics":["effector","effector-react"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/github/faustienf/effector-fsp","language":"TypeScript","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/faustienf.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":"2022-07-14T18:01:07.000Z","updated_at":"2024-04-08T21:12:24.000Z","dependencies_parsed_at":"2022-07-18T09:09:07.822Z","dependency_job_id":null,"html_url":"https://github.com/faustienf/effector-fsp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/faustienf/effector-fsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faustienf%2Feffector-fsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faustienf%2Feffector-fsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faustienf%2Feffector-fsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faustienf%2Feffector-fsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faustienf","download_url":"https://codeload.github.com/faustienf/effector-fsp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faustienf%2Feffector-fsp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021331,"owners_count":26087018,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["effector","effector-react"],"created_at":"2025-03-21T16:20:22.200Z","updated_at":"2025-10-14T21:07:53.228Z","avatar_url":"https://github.com/faustienf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/faustienf/effector-fsp/main/assets/header.png\"\u003e\n\u003c/p\u003e\n\n# ☄️ Effector FSP\n\n```mermaid\nflowchart LR\n  subgraph Combine\n    direction LR\n    Filter --\u003e Sort\n    Sort --\u003e Paginate\n  end\n  Data -.-\u003e Combine\n  Combine -.-\u003e FSP\n```\n\n```ts\nconst $todos = createStore\u003cTodo[]\u003e([]);\n```\n\n#### Filter\n\n```ts\nconst filters = createFilters($todos, (todo, field, value) =\u003e\n  String(todo[field]).toLowerCase().includes(value.toLowerCase())\n);\n```\n\n#### Sort\n\n```ts\nconst sorting = createSorting({\n  $allRecords: filters.$filtredRecords,\n  comparator: todoComparator,\n  initialField: 'id' as keyof Todo,\n  initialOrder: 'desc',\n});\n```\n\n#### Paginate\n\n```ts\nconst pagination = createPagination(sorting.$sortedRecords, 10);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaustienf%2Feffector-fsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaustienf%2Feffector-fsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaustienf%2Feffector-fsp/lists"}