{"id":20572498,"url":"https://github.com/nucliweb/taskflow-defer","last_synced_at":"2025-09-26T11:49:41.257Z","repository":{"id":261335297,"uuid":"883999350","full_name":"nucliweb/taskflow-defer","owner":"nucliweb","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-06T16:57:10.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T21:16:45.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://taskflow-defer-demo.vercel.app","language":"TypeScript","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/nucliweb.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":"2024-11-06T00:28:05.000Z","updated_at":"2024-11-27T20:07:01.000Z","dependencies_parsed_at":"2024-11-06T01:57:06.596Z","dependency_job_id":"be503175-5f6a-4cfb-ad86-d297e7f40ec7","html_url":"https://github.com/nucliweb/taskflow-defer","commit_stats":null,"previous_names":["nucliweb/taskflow-defer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucliweb%2Ftaskflow-defer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucliweb%2Ftaskflow-defer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucliweb%2Ftaskflow-defer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucliweb%2Ftaskflow-defer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucliweb","download_url":"https://codeload.github.com/nucliweb/taskflow-defer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242187951,"owners_count":20086257,"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-16T05:20:51.667Z","updated_at":"2025-09-26T11:49:36.217Z","avatar_url":"https://github.com/nucliweb.png","language":"TypeScript","readme":"# Taskflow Defer\n\nA lightweight library for managing task execution timing in the browser\n\n## Demo\n\nCheck out the live demo: [https://taskflow-defer-demo.vercel.app](https://taskflow-defer-demo.vercel.app)\n\n## Installation\n\n```bash\nnpm install taskflow-defer\n# or\npnpm add taskflow-defer\n# or\nyarn add taskflow-defer\n```\n\n## Usage\n\n```typescript\nimport { delayTask, delayTaskUntilUrgent } from \"taskflow-defer\";\n\n// Delay a task\nawait delayTask();\nheavyComputation();\n\n// Or delay until browser is idle\nawait delayTaskUntilUrgent();\nheavyComputation();\n```\n\n## Local Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Run tests\npnpm test\n\n# Run demo\npnpm demo\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucliweb%2Ftaskflow-defer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucliweb%2Ftaskflow-defer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucliweb%2Ftaskflow-defer/lists"}