{"id":1904626,"name":"js-string-validator","ecosystem":"npm","description":"JS String validator utility class","homepage":"https://github.com/theekshanawj/js-string-validator#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/theekshanawj/js-string-validator","keywords_array":["JS","String","Validator"],"namespace":null,"versions_count":3,"first_release_published_at":"2020-03-24T03:10:41.786Z","latest_release_published_at":"2020-05-16T08:52:20.009Z","latest_release_number":"2.0.0","last_synced_at":"2026-07-06T12:36:25.166Z","created_at":"2022-04-09T18:09:02.008Z","updated_at":"2026-08-26T14:16:27.791Z","registry_url":"https://www.npmjs.com/package/js-string-validator","install_command":"npm install js-string-validator","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0"}},"repo_metadata":{"id":57283697,"uuid":"249468641","full_name":"theekshanawj/js-string-validator","owner":"theekshanawj","description":"JavaScript string validator util class","archived":false,"fork":false,"pushed_at":"2020-05-16T08:48:50.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T01:39:05.336Z","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/theekshanawj.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":"2020-03-23T15:26:54.000Z","updated_at":"2020-05-16T08:48:52.000Z","dependencies_parsed_at":"2022-08-31T10:54:11.939Z","dependency_job_id":null,"html_url":"https://github.com/theekshanawj/js-string-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theekshanawj/js-string-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theekshanawj%2Fjs-string-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theekshanawj%2Fjs-string-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theekshanawj%2Fjs-string-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theekshanawj%2Fjs-string-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theekshanawj","download_url":"https://codeload.github.com/theekshanawj/js-string-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theekshanawj%2Fjs-string-validator/sbom","scorecard":{"id":878421,"data":{"date":"2025-08-11","repo":{"name":"github.com/theekshanawj/js-string-validator","commit":"28f3f4a2ec662a3c768f2d5cb46b7037adeb0aa4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":4,"reason":"Found 5/11 approved changesets -- score normalized to 4","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":"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/script-validator.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/theekshanawj/js-string-validator/script-validator.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/script-validator.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/theekshanawj/js-string-validator/script-validator.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/script-validator.yml:23","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/script-validator.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":"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":"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":"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":-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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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-24T07:00:26.078Z","repository_id":57283697,"created_at":"2025-08-24T07:00:26.078Z","updated_at":"2025-08-24T07:00:26.078Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36921047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-26T02:00:06.703Z","response_time":94,"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":"theekshanawj","name":"Theekshana Dilshan Wijesinghe","uuid":"37209626","kind":"user","description":"Software Engineer","email":"","website":null,"location":null,"twitter":"TheekshanaWj","company":null,"icon_url":"https://avatars.githubusercontent.com/u/37209626?u=3deefdef43be95f50dfc50bed7d01aa993d619bc\u0026v=4","repositories_count":11,"last_synced_at":"2023-03-06T21:53:23.728Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/theekshanawj","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T22:15:35.991Z","updated_at":"2023-03-06T21:53:23.747Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theekshanawj","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theekshanawj/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-08-26T14:16:27.791Z","dependent_packages_count":2,"downloads":1,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":58.03721924745341,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":null,"forks_count":null,"average":33.196381930586654},"purl":"pkg:npm/js-string-validator","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/js-string-validator","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/js-string-validator","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/js-string-validator/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-19T01:39:07.706Z","issues_count":1,"pull_requests_count":12,"avg_time_to_close_issue":2531071.0,"avg_time_to_close_pull_request":122846.91666666667,"issues_closed_count":1,"pull_requests_closed_count":12,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":5.0,"avg_comments_per_pull_request":0.3333333333333333,"merged_pull_requests_count":12,"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/theekshanawj%2Fjs-string-validator/issues","maintainers":[{"login":"theekshanawj","count":9,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/theekshanawj"},{"login":"suthagar23","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/suthagar23"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/js-string-validator/codemeta","maintainers":[{"uuid":"theekshanawj","login":"theekshanawj","name":null,"email":"theekshanawjdev@gmail.com","url":null,"packages_count":11,"html_url":"https://www.npmjs.com/~theekshanawj","role":null,"created_at":"2022-11-12T22:48:21.030Z","updated_at":"2022-11-12T22:48:21.030Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/theekshanawj/packages"}]}