{"id":24126539,"url":"https://github.com/zaibot/fsa","last_synced_at":"2026-04-09T08:55:57.648Z","repository":{"id":57144696,"uuid":"101213618","full_name":"Zaibot/fsa","owner":"Zaibot","description":"Easy type checked Flux Standard Action for TypeScript","archived":false,"fork":false,"pushed_at":"2020-07-04T19:39:30.000Z","size":107,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T22:34:17.547Z","etag":null,"topics":["fsa","redux","typescript"],"latest_commit_sha":null,"homepage":"","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/Zaibot.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-08-23T18:41:53.000Z","updated_at":"2020-07-04T19:32:56.000Z","dependencies_parsed_at":"2022-09-05T11:30:42.202Z","dependency_job_id":null,"html_url":"https://github.com/Zaibot/fsa","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaibot%2Ffsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaibot%2Ffsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaibot%2Ffsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaibot%2Ffsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaibot","download_url":"https://codeload.github.com/Zaibot/fsa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241299085,"owners_count":19940476,"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":["fsa","redux","typescript"],"created_at":"2025-01-11T16:34:17.867Z","updated_at":"2026-04-09T08:55:57.567Z","avatar_url":"https://github.com/Zaibot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @zaibot/fsa [![Coverage Status](https://coveralls.io/repos/github/Zaibot/fsa/badge.svg?branch=master)](https://coveralls.io/github/Zaibot/fsa?branch=master) [![Build Status](https://travis-ci.org/Zaibot/fsa.svg?branch=master)](https://travis-ci.org/Zaibot/fsa)\n\nEasy type checked Flux Standard Action for TypeScript\n\n## Installation\n\n```sh\nnpm i -S @zaibot/fsa\n```\n\n## Usage\n\n```ts\nimport { Action, isType } from '@zaibot/fsa';\n\nexport const HELLO_WORLD = Action\u003c{ message: string; }\u003e('HELLO_WORLD');\n\nconst action = HELLO_WORLD({ message: 'Hello World!' });\nif (isType(action, HELLO_WORLD)) {\n    console.log(action.payload.message);\n}\n```\n\n\n```ts\nimport { Action, isTypeOneOf } from '@zaibot/fsa';\n\nexport const HELLO_WORLD = Action\u003c{ message: string; }\u003e('HELLO_WORLD');\nexport const WELCOME_MESSAGE = Action\u003c{ message: string; }\u003e('WELCOME_MESSAGE');\n\nconst action = HELLO_WORLD({ message: 'Hello World!' });\nif (isTypeOneOf(action, HELLO_WORLD, WELCOME_MESSAGE)) {\n    console.log(action.payload.message);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaibot%2Ffsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaibot%2Ffsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaibot%2Ffsa/lists"}