{"id":22753591,"url":"https://github.com/starryinternet/tinyco","last_synced_at":"2025-07-20T17:32:44.755Z","repository":{"id":65516661,"uuid":"80525631","full_name":"StarryInternet/tinyco","owner":"StarryInternet","description":"Simple coroutines using generators","archived":false,"fork":false,"pushed_at":"2017-02-09T13:36:12.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T07:23:26.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/StarryInternet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-31T14:04:50.000Z","updated_at":"2017-01-31T14:14:39.000Z","dependencies_parsed_at":"2023-01-26T22:25:11.224Z","dependency_job_id":null,"html_url":"https://github.com/StarryInternet/tinyco","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/StarryInternet/tinyco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarryInternet%2Ftinyco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarryInternet%2Ftinyco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarryInternet%2Ftinyco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarryInternet%2Ftinyco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StarryInternet","download_url":"https://codeload.github.com/StarryInternet/tinyco/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarryInternet%2Ftinyco/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266165660,"owners_count":23886656,"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-12-11T06:11:50.140Z","updated_at":"2025-07-20T17:32:44.733Z","avatar_url":"https://github.com/StarryInternet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinyco\n\n[![Build Status](https://travis-ci.org/StarryInternet/tinyco.svg?branch=master)](https://travis-ci.org/StarryInternet/tinyco)\n\nSimple coroutines using generators\n\n---\n\n### Installing\n\n```\nnpm install --save tinyco\n```\n\n---\n\n### Example\n\n```js\n'use strict';\n\nconst c = require('tinyco');\n\nfunction asyncAdd( a, b ) {\n  return new Promise( resolve =\u003e setTimeout( () =\u003e resolve( a + b ), 100 ) );\n}\n\nc(function*() {\n  let val = yield asyncAdd( 1, 2 );\n  console.log( val );\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarryinternet%2Ftinyco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarryinternet%2Ftinyco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarryinternet%2Ftinyco/lists"}