{"id":1906725,"name":"jsfunc","ecosystem":"npm","description":"常用的js func","homepage":"https://github.com/hanyitim/jsfunc#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/hanyitim/jsfunc","keywords_array":[],"namespace":null,"versions_count":13,"first_release_published_at":"2019-08-28T02:03:29.082Z","latest_release_published_at":"2020-12-29T09:16:20.360Z","latest_release_number":"0.1.9","last_synced_at":"2026-04-29T15:51:23.374Z","created_at":"2022-04-09T18:10:38.628Z","updated_at":"2026-04-29T15:51:23.374Z","registry_url":"https://www.npmjs.com/package/jsfunc","install_command":"npm install jsfunc","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.9"}},"repo_metadata":{"id":47861764,"uuid":"204701748","full_name":"hanyitim/jsfunc","owner":"hanyitim","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T04:32:09.000Z","size":633,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T09:52:46.043Z","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/hanyitim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-08-27T12:47:13.000Z","updated_at":"2020-12-29T08:51:14.000Z","dependencies_parsed_at":"2023-02-05T08:02:24.411Z","dependency_job_id":null,"html_url":"https://github.com/hanyitim/jsfunc","commit_stats":null,"previous_names":["hanyitim/jscommon"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hanyitim/jsfunc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanyitim","download_url":"https://codeload.github.com/hanyitim/jsfunc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/sbom","scorecard":{"id":454901,"data":{"date":"2025-08-11","repo":{"name":"github.com/hanyitim/jsfunc","commit":"ffe47e3fa78cdf6d9399ce0666f730125b5b3d35"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/29 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":-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":"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":"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":"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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"41 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-qh2h-chj9-jffq","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c","Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T09:18:16.374Z","repository_id":47861764,"created_at":"2025-08-19T09:18:16.374Z","updated_at":"2025-08-19T09:18:16.374Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271137948,"owners_count":24705529,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"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":"hanyitim","name":null,"uuid":"17884587","kind":"user","description":"","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/17884587?u=3bc28ba1ea73d81a916ff0df9247ade7fb1c7157\u0026v=4","repositories_count":10,"last_synced_at":"2023-03-21T04:41:26.485Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hanyitim","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-03-21T04:41:26.511Z","updated_at":"2023-03-21T04:41:26.511Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanyitim","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanyitim/repositories"},"tags":[{"name":"v0.1.3","sha":"a53a0f85baa276d269bd0af3304f80009e3ae174","kind":"tag","published_at":"2020-04-28T09:14:38.000Z","download_url":"https://codeload.github.com/hanyitim/jsfunc/tar.gz/v0.1.3","html_url":"https://github.com/hanyitim/jsfunc/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hanyitim/jsfunc@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.1.3/manifests"},{"name":"v0.1.0","sha":"a7c1000143d27eb860f1b6a90d85240159657a26","kind":"tag","published_at":"2019-08-30T06:21:05.000Z","download_url":"https://codeload.github.com/hanyitim/jsfunc/tar.gz/v0.1.0","html_url":"https://github.com/hanyitim/jsfunc/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hanyitim/jsfunc@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.1.0/manifests"},{"name":"v0.0.3","sha":"01b1dc5e34d534a5e283129cacb602443bbddadd","kind":"tag","published_at":"2019-08-28T07:50:45.000Z","download_url":"https://codeload.github.com/hanyitim/jsfunc/tar.gz/v0.0.3","html_url":"https://github.com/hanyitim/jsfunc/releases/tag/v0.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hanyitim/jsfunc@v0.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.0.3/manifests"},{"name":"v0.0.2","sha":"0d908ead7ab27308723ab215909f6970f655a031","kind":"tag","published_at":"2019-08-28T02:08:44.000Z","download_url":"https://codeload.github.com/hanyitim/jsfunc/tar.gz/v0.0.2","html_url":"https://github.com/hanyitim/jsfunc/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hanyitim/jsfunc@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanyitim%2Fjsfunc/tags/v0.0.2/manifests"}]},"repo_metadata_updated_at":"2025-10-30T07:09:54.629Z","dependent_packages_count":2,"downloads":378,"downloads_period":"last-month","dependent_repos_count":3,"rankings":{"downloads":15.886684412555569,"dependent_repos_count":6.399753158778642,"dependent_packages_count":8.894386156129027,"stargazers_count":21.018171038712996,"forks_count":15.467531025683364,"docker_downloads_count":null,"average":13.53330515837192},"purl":"pkg:npm/jsfunc","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/jsfunc","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/jsfunc","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/jsfunc/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-06T16:33:34.265Z","issues_count":1,"pull_requests_count":8,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":25489271.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.125,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":8,"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/hanyitim%2Fjsfunc/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/jsfunc/codemeta","maintainers":[{"uuid":"hanyi","login":"hanyi","name":null,"email":"hyt19920921@126.com","url":null,"packages_count":14,"html_url":"https://www.npmjs.com/~hanyi","role":null,"created_at":"2022-11-12T22:49:18.156Z","updated_at":"2022-11-12T22:49:18.156Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hanyi/packages"}]}