{"id":805485,"name":"@alitajs/f2","ecosystem":"npm","description":"基于 F2 封装的图表组件，支持 react hooks。帮助你快速的在移动端项目中构建图表。 完全准照 F2 的 API 封装，支持完全的图表自定义，但是其实在你的项目中，并不需要自定义图表。 我们通过对移动端的图表需求进行整理和构建，提供了一个常用的[图表库 @alitajs/charts](https://github.com/alitajs/charts)。 你可以优先使用[@alitajs/charts](https://github.com/alitajs/charts)快速实现你的需求。","homepage":"https://github.com/alitajs/f2#readme","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/alitajs/f2","keywords_array":[],"namespace":"alitajs","versions_count":10,"first_release_published_at":"2021-02-01T09:18:49.895Z","latest_release_published_at":"2022-10-20T11:51:54.433Z","latest_release_number":"0.1.1","latest_published_release_number":null,"last_synced_at":"2026-07-21T16:53:42.291Z","created_at":"2022-04-07T13:25:44.667Z","updated_at":"2026-10-25T14:18:27.962Z","registry_url":"https://www.npmjs.com/package/@alitajs/f2","install_command":"npm install @alitajs/f2","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.1"}},"repo_metadata":{"id":53459770,"uuid":"334019179","full_name":"alitajs/f2","owner":"alitajs","description":"Based on F2 encapsulated chart component, it supports react hook. Help you quickly in the mobile terminal project to achieve chart.","archived":false,"fork":false,"pushed_at":"2022-10-20T11:54:41.000Z","size":560,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-15T14:42:10.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/alitajs.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}},"created_at":"2021-01-29T02:49:47.000Z","updated_at":"2023-02-21T09:02:43.000Z","dependencies_parsed_at":"2023-01-20T15:46:43.892Z","dependency_job_id":null,"html_url":"https://github.com/alitajs/f2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alitajs/f2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alitajs","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/sbom","scorecard":{"id":184582,"data":{"date":"2025-08-11","repo":{"name":"github.com/alitajs/f2","commit":"7f4a0190ce049dcf28978a0444d961c417d2cd9f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"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":"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":"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":"Code-Review","score":1,"reason":"Found 2/13 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":"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'","Warn: branch protection not enabled for branch 'gh-pages'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 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-16T19:32:57.175Z","repository_id":53459770,"created_at":"2025-08-16T19:32:57.175Z","updated_at":"2025-08-16T19:32:57.175Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":345237552,"owners_count":38518587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-25T02:00:07.705Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"alitajs","name":"alita","uuid":"49136103","kind":"organization","description":"Construction scheme based on Umi.","email":null,"website":"https://alitajs.com","location":"中国","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/49136103?v=4","repositories_count":115,"last_synced_at":"2024-05-21T05:05:05.099Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/alitajs","funding_links":[],"total_stars":2025,"followers":26,"following":0,"created_at":"2022-11-13T12:32:44.771Z","updated_at":"2024-05-21T05:05:08.591Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alitajs","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alitajs/repositories"},"tags":[{"name":"0.0.7","sha":"f478878447d50f81d8804f926b16f0625527c02a","kind":"commit","published_at":"2021-03-11T09:38:41.000Z","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/0.0.7","html_url":"https://github.com/alitajs/f2/releases/tag/0.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/alitajs/f2@0.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.7/manifests","release_url":null},{"name":"0.0.6","sha":"2aa946d052e663e2fb38603e16ea79dd58744f93","kind":"commit","published_at":"2021-03-11T09:34:14.000Z","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/0.0.6","html_url":"https://github.com/alitajs/f2/releases/tag/0.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/alitajs/f2@0.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.6/manifests","release_url":null},{"name":"0.0.2","sha":"03123d3fd358e4cc3a90f7adc72bb4c18efc18f0","kind":"commit","published_at":"2021-03-11T03:29:20.000Z","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/0.0.2","html_url":"https://github.com/alitajs/f2/releases/tag/0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/alitajs/f2@0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.2/manifests","release_url":null},{"name":"v0.0.5","sha":"03123d3fd358e4cc3a90f7adc72bb4c18efc18f0","kind":"commit","published_at":"2021-03-11T03:29:20.000Z","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/v0.0.5","html_url":"https://github.com/alitajs/f2/releases/tag/v0.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/alitajs/f2@v0.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/v0.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/v0.0.5/manifests","release_url":null},{"name":"0.0.1","sha":"dd5d02fab0cfc1fc8e7c31c3ca89bbce6193dbd7","kind":"commit","published_at":"2021-02-19T09:52:27.000Z","download_url":"https://codeload.github.com/alitajs/f2/tar.gz/0.0.1","html_url":"https://github.com/alitajs/f2/releases/tag/0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/alitajs/f2@0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/tags/0.0.1/manifests","release_url":null}]},"repo_metadata_updated_at":"2026-10-25T14:18:27.962Z","dependent_packages_count":4,"downloads":304,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":14.522621237697395,"dependent_repos_count":10.38682000905086,"dependent_packages_count":5.927439829532742,"stargazers_count":10.93632665413501,"forks_count":8.913181061723371,"docker_downloads_count":null,"average":10.137277758427874},"purl":"pkg:npm/%40alitajs/f2","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@alitajs/f2","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@alitajs/f2","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@alitajs/f2/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-15T12:48:02.573Z","issues_count":3,"pull_requests_count":10,"avg_time_to_close_issue":2360225.3333333335,"avg_time_to_close_pull_request":248722.22222222222,"issues_closed_count":3,"pull_requests_closed_count":9,"pull_request_authors_count":3,"issue_authors_count":3,"avg_comments_per_issue":1.3333333333333333,"avg_comments_per_pull_request":0.2,"merged_pull_requests_count":6,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/alitajs%2Ff2/issues","maintainers":[{"login":"hang1017","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hang1017"},{"login":"gezhicui","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gezhicui"},{"login":"xiaohuoni","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/xiaohuoni"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@alitajs%2Ff2/codemeta","maintainers":[{"uuid":"diyc","login":"diyc","name":null,"email":"13067111941x@gmail.com","url":null,"packages_count":182,"html_url":"https://www.npmjs.com/~diyc","role":null,"created_at":"2022-11-14T21:43:37.916Z","updated_at":"2022-11-14T21:43:37.916Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/diyc/packages"},{"uuid":"pengyh","login":"pengyh","name":null,"email":"pt370390794@126.com","url":null,"packages_count":222,"html_url":"https://www.npmjs.com/~pengyh","role":null,"created_at":"2022-11-14T21:43:37.867Z","updated_at":"2022-11-14T21:43:37.867Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/pengyh/packages"},{"uuid":"xiaohuoni","login":"xiaohuoni","name":null,"email":"448627663@qq.com","url":null,"packages_count":544,"html_url":"https://www.npmjs.com/~xiaohuoni","role":null,"created_at":"2022-11-14T21:43:37.924Z","updated_at":"2022-11-14T21:43:37.924Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/xiaohuoni/packages"},{"uuid":"hammersjs","login":"hammersjs","name":null,"email":"1270253618@qq.com","url":null,"packages_count":250,"html_url":"https://www.npmjs.com/~hammersjs","role":null,"created_at":"2022-11-14T21:43:37.987Z","updated_at":"2022-11-14T21:43:37.987Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hammersjs/packages"},{"uuid":"sorrycc","login":"sorrycc","name":null,"email":"sorrycc@gmail.com","url":null,"packages_count":557,"html_url":"https://www.npmjs.com/~sorrycc","role":null,"created_at":"2022-11-14T21:43:37.961Z","updated_at":"2022-11-14T21:43:37.961Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sorrycc/packages"},{"uuid":"wangxingkang","login":"wangxingkang","name":null,"email":"156148958@qq.com","url":null,"packages_count":441,"html_url":"https://www.npmjs.com/~wangxingkang","role":null,"created_at":"2022-11-14T21:43:37.945Z","updated_at":"2022-11-14T21:43:37.945Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wangxingkang/packages"},{"uuid":"ashoka_j","login":"ashoka_j","name":null,"email":"savebtc11@gmail.com","url":null,"packages_count":163,"html_url":"https://www.npmjs.com/~ashoka_j","role":null,"created_at":"2022-11-14T21:43:37.884Z","updated_at":"2022-11-14T21:43:37.884Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ashoka_j/packages"},{"uuid":"imhele","login":"imhele","name":null,"email":"work@imhele.com","url":null,"packages_count":232,"html_url":"https://www.npmjs.com/~imhele","role":null,"created_at":"2022-11-14T21:43:37.940Z","updated_at":"2022-11-14T21:43:37.940Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/imhele/packages"},{"uuid":"shawdanon","login":"shawdanon","name":null,"email":"292973338@qq.com","url":null,"packages_count":94,"html_url":"https://www.npmjs.com/~shawdanon","role":null,"created_at":"2022-11-14T21:43:37.951Z","updated_at":"2022-11-14T21:43:37.951Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/shawdanon/packages"},{"uuid":"cjy0208","login":"cjy0208","name":null,"email":"fanluan058@gmail.com","url":null,"packages_count":188,"html_url":"https://www.npmjs.com/~cjy0208","role":null,"created_at":"2022-11-14T21:43:37.956Z","updated_at":"2022-11-14T21:43:37.956Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cjy0208/packages"},{"uuid":"hang1017","login":"hang1017","name":null,"email":"437132124@qq.com","url":null,"packages_count":168,"html_url":"https://www.npmjs.com/~hang1017","role":null,"created_at":"2022-11-14T21:43:37.967Z","updated_at":"2022-11-14T21:43:37.967Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hang1017/packages"}]}