{"id":12411680,"name":"@eggjs/background-task","ecosystem":"npm","description":"background task util for tegg","homepage":"https://github.com/eggjs/egg/tree/next/tegg/core/background-task","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/eggjs/egg","keywords_array":["async","background","egg","tegg","typescript"],"namespace":"eggjs","versions_count":19,"first_release_published_at":"2025-10-23T15:39:13.459Z","latest_release_published_at":"2026-04-01T03:03:02.552Z","latest_release_number":"4.0.2-beta.9","last_synced_at":"2026-04-06T10:35:32.229Z","created_at":"2025-10-23T15:39:30.206Z","updated_at":"2026-04-06T10:35:32.230Z","registry_url":"https://www.npmjs.com/package/@eggjs/background-task","install_command":"npm install @eggjs/background-task","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.0-beta.0","beta":"4.0.2-beta.9"}},"repo_metadata":{"id":37359440,"uuid":"61421257","full_name":"eggjs/egg","owner":"eggjs","description":"🥚🥚🥚🥚 Born to build better enterprise frameworks and apps with Node.js \u0026 Koa. https://307.run/eggcode","archived":false,"fork":false,"pushed_at":"2026-04-02T15:18:01.000Z","size":27700,"stargazers_count":19004,"open_issues_count":388,"forks_count":1812,"subscribers_count":461,"default_branch":"next","last_synced_at":"2026-04-02T22:52:50.628Z","etag":null,"topics":["egg","eggjs","enterprise","framework","koa","koa-middleware","koa2","node-framework","nodejs"],"latest_commit_sha":null,"homepage":"https://eggjs.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/eggjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"open_collective":"eggjs"}},"created_at":"2016-06-18T06:53:23.000Z","updated_at":"2026-04-02T19:49:50.000Z","dependencies_parsed_at":"2023-09-29T08:54:47.653Z","dependency_job_id":"1679ff58-5d2b-4fda-8869-85eeb67e87ff","html_url":"https://github.com/eggjs/egg","commit_stats":{"total_commits":1167,"total_committers":233,"mean_commits":5.008583690987124,"dds":0.8500428449014568,"last_synced_commit":"ce4fd67278e008a0f58beff8db5c0f770f3eadc7"},"previous_names":[],"tags_count":237,"template":false,"template_full_name":null,"purl":"pkg:github/eggjs/egg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggjs","download_url":"https://codeload.github.com/eggjs/egg/tar.gz/refs/heads/next","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg/sbom","scorecard":{"id":368697,"data":{"date":"2025-08-11","repo":{"name":"github.com/eggjs/egg","commit":"dc8fa5e67707b434c123811b690ea4f7d9d799c9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":4,"reason":"1 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/chainalert.yml:1","Warn: no topLevel permission defined: .github/workflows/gh-pages.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs-cluster1.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs-cluster2.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs-lib-core.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs-lib-plugins.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/vercel-preview.yml:1","Warn: no topLevel permission defined: .github/workflows/vercel-production.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chainalert.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/chainalert.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/chainalert.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/chainalert.yml/next?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/gh-pages.yml/next?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/gh-pages.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/gh-pages.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs-cluster1.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/nodejs-cluster1.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs-cluster2.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/nodejs-cluster2.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs-lib-core.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/nodejs-lib-core.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs-lib-plugins.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/nodejs-lib-plugins.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/nodejs.yml/next?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/release.yml/next?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/vercel-preview.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/vercel-preview.yml/next?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/vercel-production.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/eggjs/egg/vercel-production.yml/next?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/gh-pages.yml:26","Warn: npmCommand not pinned by hash: .github/workflows/vercel-preview.yml:18","Warn: npmCommand not pinned by hash: .github/workflows/vercel-production.yml:16","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand dependencies pinned"],"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T12:28:54.101Z","repository_id":37359440,"created_at":"2025-08-18T12:28:54.101Z","updated_at":"2025-08-18T12:28:54.101Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31372205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"},"tags":[]},"repo_metadata_updated_at":"2026-04-03T19:27:43.148Z","dependent_packages_count":0,"downloads":3540,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":23.592845247683535,"dependent_packages_count":34.033248337419465,"stargazers_count":0.5794377480347829,"forks_count":0.7433053231643404,"docker_downloads_count":null,"average":14.73720916407553},"purl":"pkg:npm/%40eggjs/background-task","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@eggjs/background-task","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@eggjs/background-task","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@eggjs/background-task/dependencies","status":null,"funding_links":["https://opencollective.com/eggjs"],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-30T14:02:54.930Z","issues_count":299,"pull_requests_count":379,"avg_time_to_close_issue":7803167.666666667,"avg_time_to_close_pull_request":498702.65853658534,"issues_closed_count":171,"pull_requests_closed_count":287,"pull_request_authors_count":45,"issue_authors_count":212,"avg_comments_per_issue":4.193979933110368,"avg_comments_per_pull_request":3.108179419525066,"merged_pull_requests_count":241,"bot_issues_count":10,"bot_pull_requests_count":105,"past_year_issues_count":35,"past_year_pull_requests_count":204,"past_year_avg_time_to_close_issue":133761.58333333334,"past_year_avg_time_to_close_pull_request":179862.8347107438,"past_year_issues_closed_count":12,"past_year_pull_requests_closed_count":121,"past_year_pull_request_authors_count":13,"past_year_issue_authors_count":16,"past_year_avg_comments_per_issue":0.6857142857142857,"past_year_avg_comments_per_pull_request":4.083333333333333,"past_year_bot_issues_count":3,"past_year_bot_pull_requests_count":105,"past_year_merged_pull_requests_count":98,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggjs%2Fegg/issues","maintainers":[{"login":"fengmk2","count":181,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fengmk2"},{"login":"thonatos","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/thonatos"},{"login":"atian25","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/atian25"},{"login":"popomore","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/popomore"},{"login":"hyj1991","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hyj1991"},{"login":"jtyjty99999","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jtyjty99999"},{"login":"dead-horse","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/dead-horse"},{"login":"JimmyDaddy","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JimmyDaddy"},{"login":"XadillaX","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/XadillaX"}],"active_maintainers":[{"login":"fengmk2","count":72,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fengmk2"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@eggjs%2Fbackground-task/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@eggjs%2Fbackground-task/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@eggjs%2Fbackground-task/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@eggjs%2Fbackground-task/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@eggjs%2Fbackground-task/codemeta","maintainers":[{"uuid":"fengmk2","login":"fengmk2","name":null,"email":"fengmk2@gmail.com","url":null,"packages_count":1997,"html_url":"https://www.npmjs.com/~fengmk2","role":null,"created_at":"2025-10-26T05:24:13.172Z","updated_at":"2025-10-26T05:24:13.172Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/fengmk2/packages"},{"uuid":"eggjs-admin","login":"eggjs-admin","name":null,"email":"fengmk2+eggjs@gmail.com","url":null,"packages_count":175,"html_url":"https://www.npmjs.com/~eggjs-admin","role":null,"created_at":"2025-10-26T05:24:13.081Z","updated_at":"2025-10-26T05:24:13.081Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/eggjs-admin/packages"},{"uuid":"atian25","login":"atian25","name":null,"email":"atian25@qq.com","url":null,"packages_count":317,"html_url":"https://www.npmjs.com/~atian25","role":null,"created_at":"2025-10-26T05:24:13.243Z","updated_at":"2025-10-26T05:24:13.243Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/atian25/packages"},{"uuid":"hyj1991","login":"hyj1991","name":null,"email":"yeekwanvong@gmail.com","url":null,"packages_count":205,"html_url":"https://www.npmjs.com/~hyj1991","role":null,"created_at":"2025-10-26T05:24:13.321Z","updated_at":"2025-10-26T05:24:13.321Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hyj1991/packages"},{"uuid":"killagu","login":"killagu","name":null,"email":"killa07071201@gmail.com","url":null,"packages_count":229,"html_url":"https://www.npmjs.com/~killagu","role":null,"created_at":"2025-10-26T05:24:13.404Z","updated_at":"2025-10-26T05:24:13.404Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/killagu/packages"},{"uuid":"coolme200","login":"coolme200","name":null,"email":"2001-wms@163.com","url":null,"packages_count":179,"html_url":"https://www.npmjs.com/~coolme200","role":null,"created_at":"2025-10-26T05:24:13.465Z","updated_at":"2025-10-26T05:24:13.465Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/coolme200/packages"},{"uuid":"gxkl","login":"gxkl","name":null,"email":"gxkl203@gmail.com","url":null,"packages_count":191,"html_url":"https://www.npmjs.com/~gxkl","role":null,"created_at":"2025-10-26T05:24:13.002Z","updated_at":"2025-10-26T05:24:13.002Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gxkl/packages"},{"uuid":"niania","login":"niania","name":null,"email":"ljracm@gmail.com","url":null,"packages_count":158,"html_url":"https://www.npmjs.com/~niania","role":null,"created_at":"2026-03-12T15:02:55.733Z","updated_at":"2026-03-12T15:02:55.733Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/niania/packages"},{"uuid":"akitasummer","login":"akitasummer","name":null,"email":"644171127@qq.com","url":null,"packages_count":162,"html_url":"https://www.npmjs.com/~akitasummer","role":null,"created_at":"2025-10-26T05:24:13.520Z","updated_at":"2025-10-26T05:24:13.520Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/akitasummer/packages"}]}