{"id":43919303,"url":"https://github.com/frux/seenk","last_synced_at":"2026-02-06T22:07:18.571Z","repository":{"id":65493758,"uuid":"43914768","full_name":"frux/seenk","owner":"frux","description":"Flow controller for node.js","archived":false,"fork":false,"pushed_at":"2015-12-29T12:51:43.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T06:57:38.130Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frux.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}},"created_at":"2015-10-08T20:32:47.000Z","updated_at":"2015-10-12T10:45:58.000Z","dependencies_parsed_at":"2023-01-25T21:15:14.928Z","dependency_job_id":null,"html_url":"https://github.com/frux/seenk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/frux/seenk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fseenk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fseenk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fseenk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fseenk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frux","download_url":"https://codeload.github.com/frux/seenk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frux%2Fseenk/sbom","scorecard":{"id":412507,"data":{"date":"2025-08-11","repo":{"name":"github.com/frux/seenk","commit":"8c0335543d21e9c5ee69618e8b3883c4bf87489d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T23:04:54.113Z","repository_id":65493758,"created_at":"2025-08-18T23:04:54.113Z","updated_at":"2025-08-18T23:04:54.113Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29178619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T20:14:21.878Z","status":"ssl_error","status_checked_at":"2026-02-06T20:14:21.443Z","response_time":59,"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":[],"created_at":"2026-02-06T22:07:16.984Z","updated_at":"2026-02-06T22:07:18.564Z","avatar_url":"https://github.com/frux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seenk [![Build Status](https://travis-ci.org/frux/seenk.svg?branch=master)](https://travis-ci.org/frux/seenk)\n\nFlow controller for node.js\n\n## Run tests\n``npm i``\n\n``npm test``\n\n## Install\n``npm i seenk``\n\n## Use\n\nLet we have some async function named blaBlaBla returning Promise.\n```js\nfunction blaBlaBla(text, delay){\n    delay = Number(delay) || 0;\n\n    return new Promise(function(resolve, reject){\n        setTimeout(function(){\n            resolve(text);\n        }, delay);\n    });\n}\n```\n\n### Seenk(generatorFunction) : Promise\n\nIf you need some async functions to be executed synchronously you should wrap it by generator function and use Seenk:\n\n```js\nSeenk(function*(){\n    var greeting = '';\n\n    greeting += (yield blaBlaBla('Hello', 100)) +\n        (yield blaBlaBla(' ', 300)) +\n        (yield blaBlaBla('World', 300)) +\n        (yield blaBlaBla('!'));\n\n    return greeting;\n})\n```\n\nAll of this blaBlaBla will be executed by turns.\n\nAlso Seenk returns you a Promise to allow you getting result of generator function.\n\n```js\nSeenk(function*(){\n    var greeting = '';\n\n    greeting += (yield blaBlaBla('Hello', 100)) +\n        (yield blaBlaBla(' ', 300)) +\n        (yield blaBlaBla('World', 300)) +\n        (yield blaBlaBla('!'));\n\n    return greeting;\n}).then(function(greeting){\n    console.log(greeting);\n  });\n```\nThis outputs ``Hello World!`` into console after 700ms.\n\n\n### Seenk(Array) : Promise\n\nIf you need to get results of some independent async functions running parallely\n\n```js\nSeenk([\n    blaBlaBla('Hello', 100),\n    blaBlaBla(' ', 200),\n    blaBlaBla('World', 300),\n    blaBlaBla('!', 500)\n])\n```\n\nSeenk will return you a Promise which will resolve ``Hello World!`` in 500ms after the longest delay will pass.\n\n### Seenk.wrap(generatorFunction) : Function\n\n```js\nvar wrapped = Seenk.wrap(function*(){\n    var message = '';\n\n    message += (yield blaBlaBla('Wrap', 100)) +\n        (yield blaBlaBla(' ', 200)) +\n        (yield blaBlaBla('me', 300)) +\n        (yield blaBlaBla('!'));\n\n    return message;\n})\n```\n\nAnd now you have function ``wrapped`` returning Promise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrux%2Fseenk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrux%2Fseenk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrux%2Fseenk/lists"}