{"id":37720806,"url":"https://github.com/yuriyyakym/awai","last_synced_at":"2026-01-16T13:32:12.985Z","repository":{"id":165660808,"uuid":"639997343","full_name":"yuriyyakym/awai","owner":"yuriyyakym","description":"Promised state management library with a unique events system, where every event is thennable, which allows to write logic in a saga-like way using async functions","archived":false,"fork":false,"pushed_at":"2026-01-13T22:04:53.000Z","size":1082,"stargazers_count":27,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T00:40:24.479Z","etag":null,"topics":["atomic","effects","management","race-conditions","react","state","state-management"],"latest_commit_sha":null,"homepage":"https://awai.js.org","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/yuriyyakym.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-12T18:08:20.000Z","updated_at":"2026-01-07T10:40:15.000Z","dependencies_parsed_at":"2023-11-14T21:24:52.789Z","dependency_job_id":"31e79544-df83-41a0-b0f0-2c3981c11a37","html_url":"https://github.com/yuriyyakym/awai","commit_stats":null,"previous_names":["yuriyyakym/awai"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/yuriyyakym/awai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriyyakym%2Fawai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriyyakym%2Fawai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriyyakym%2Fawai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriyyakym%2Fawai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuriyyakym","download_url":"https://codeload.github.com/yuriyyakym/awai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriyyakym%2Fawai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["atomic","effects","management","race-conditions","react","state","state-management"],"created_at":"2026-01-16T13:32:12.484Z","updated_at":"2026-01-16T13:32:12.978Z","avatar_url":"https://github.com/yuriyyakym.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eAwai\u003c/h1\u003e\n\n  \u003cimg width=\"64px\" src=\"https://github.com/yuriyyakym/awai/blob/master/logo.svg\" /\u003e\n\n  \u003cp style=\"margin-right: -20px;\"\u003eDependency-free state management library\u003c/p\u003e\n\n  \u003cdiv\u003e\n    \u003cimg src=\"https://github.com/yuriyyakym/awai/actions/workflows/tests.yml/badge.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/yuriyyakym/ba8810278ef57a8ae9243e3edf9f43b8/raw/coverage-master.json\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Stability-experimental-blue.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" /\u003e\n  \u003c/div\u003e\n\n  \u003cbr /\u003e\n  \n  \u003cp\u003e| \u003ca href=\"https://awai.js.org\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"https://awai.js.org/examples\"\u003eExamples\u003c/a\u003e | \u003ca href=\"https://www.npmjs.com/package/awai\"\u003eNPM\u003c/a\u003e | \u003ca href=\"https://github.com/yuriyyakym/awai-react\"\u003eAwai-React\u003c/a\u003e |\u003c/p\u003e\n\u003c/div\u003e\n\n## About\n\nThis library introduces a fresh approach to state management, where every event is a thennable (promise-like) with no terminal state.\n\nAwai provides variety of tools helping with organizing asynchronous logic, handling race conditions, and prioritizes the extraction of business logic from the UI layer.\n\n## Installation\n\n```sh\nnpm install awai\n```\n\n## Documentation\n\n- [Quick start](https://awai.js.org/quick-start)\n- [Architecture](https://awai.js.org/architecture)\n- [Examples](https://awai.js.org/examples)\n- Tools:\n  - [State](https://awai.js.org/state) - simple node which stores data\n  - [AsyncState](https://awai.js.org/async-state) - helps with storing data loaded asynchronously protecting against race conditions\n  - [Selector](https://awai.js.org/selector) - combines multiple states into a single value. Handles async loading and protects against race conditions\n  - [Action](https://awai.js.org/action) - function wrapper which emits events; is helpful for controlling scenarios\n  - [Scenario](https://awai.js.org/scenario) - composable event listener which allows to declaratively write logic in a saga-like way using async functions\n  - [FamilyState](https://awai.js.org/family-state) - aggregator of multiple states of the same type; handles both sync and async states\n  - [Effect](https://awai.js.org/effect) - runs callback on dependency states change and cleans up previous effects\n- Other\n  - [AwaiEvent](https://awai.js.org/awai-event)\n  - [Registry](https://awai.js.org/registry)\n  - [Motivation](https://awai.js.org/motivation)\n\n## Integrations\n\n- **React** - [NPM](https://www.npmjs.com/package/awai-react), [GitHub](https://github.com/yuriyyakym/awai-react)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriyyakym%2Fawai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuriyyakym%2Fawai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriyyakym%2Fawai/lists"}