{"id":2236374,"name":"react-directive","ecosystem":"npm","description":"A conditional, className and listing directive for react apps","homepage":"https://github.com/mkhstar/react-directive#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mkhstar/react-directive","keywords_array":["react","className","classList","directive","dirIf","dirShow","dirFor","loop","condition","listing"],"namespace":null,"versions_count":9,"first_release_published_at":"2019-11-13T14:54:15.634Z","latest_release_published_at":"2023-01-31T17:50:17.730Z","latest_release_number":"2.0.0","last_synced_at":"2026-07-20T10:37:36.451Z","created_at":"2022-04-09T22:55:30.944Z","updated_at":"2026-08-27T05:13:48.230Z","registry_url":"https://www.npmjs.com/package/react-directive","install_command":"npm install react-directive","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0","beta":"2.0.0-beta.6"}},"repo_metadata":{"id":41758134,"uuid":"221483766","full_name":"mkhstar/react-directive","owner":"mkhstar","description":"A conditional, listing and className  directives for react apps","archived":false,"fork":false,"pushed_at":"2023-10-12T23:55:25.000Z","size":681,"stargazers_count":19,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-10T07:08:10.449Z","etag":null,"topics":["jsx","react","reactjs","tsx","typescript"],"latest_commit_sha":null,"homepage":"","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/mkhstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-13T14:55:40.000Z","updated_at":"2026-02-10T05:39:55.000Z","dependencies_parsed_at":"2024-12-11T23:41:33.965Z","dependency_job_id":null,"html_url":"https://github.com/mkhstar/react-directive","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":"0.31707317073170727","last_synced_commit":"e7914d556561bfa957f1566e6b93c016fcbf2373"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mkhstar/react-directive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhstar","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/sbom","scorecard":{"id":652510,"data":{"date":"2025-08-11","repo":{"name":"github.com/mkhstar/react-directive","commit":"073aa39d69304b9cc61b36024f2d8241aff520ec"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"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":"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":"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":"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":"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":"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/lint-and-test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mkhstar/react-directive/lint-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-and-test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mkhstar/react-directive/lint-and-test.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/lint-and-test.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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 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"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-hpx4-r86g-5jrg","Warn: Project is vulnerable to: GHSA-prr3-c3m5-p7q2","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-21T13:50:12.518Z","repository_id":41758134,"created_at":"2025-08-21T13:50:12.518Z","updated_at":"2025-08-21T13:50:12.518Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36934137,"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-27T02:00:07.166Z","response_time":96,"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":"mkhstar","name":"Musah Kusi Hussein","uuid":"26695391","kind":"user","description":"Full Stack Developer","email":"","website":null,"location":"Turkey, Ankara","twitter":"mkhstar","company":null,"icon_url":"https://avatars.githubusercontent.com/u/26695391?u=ad40698d789fead23912ed5f2a8ba21403aaa9eb\u0026v=4","repositories_count":8,"last_synced_at":"2023-03-09T05:35:22.456Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/mkhstar","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-18T18:57:12.321Z","updated_at":"2023-03-09T05:35:22.505Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhstar","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhstar/repositories"},"tags":[{"name":"2.0.0","sha":"cbe8ec5eb9553023db674ed9f69b81384a0aa550","kind":"commit","published_at":"2023-01-31T17:49:44.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0/manifests"},{"name":"2.0.0-beta.6","sha":"4be2a390e0b46d7a016cfe6549537ba6271a6b96","kind":"commit","published_at":"2023-01-31T17:46:28.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.6","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.6/manifests"},{"name":"2.0.0-beta.5","sha":"a1ddd4989d1578b9cbc9f8bfde593ff5821482e4","kind":"commit","published_at":"2023-01-31T17:31:34.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.5","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.5/manifests"},{"name":"2.0.0-beta.4","sha":"2b60f544a76ae437b1e4b4f9f84cdeb1a521ee72","kind":"commit","published_at":"2023-01-31T16:16:01.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.4","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.4/manifests"},{"name":"2.0.0-beta.3","sha":"66062461df2450e2fdb597d1d430ccdd30262cdc","kind":"commit","published_at":"2023-01-31T15:06:29.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.3","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.3/manifests"},{"name":"2.0.0-beta.2","sha":"fc186e5416154af4ce65deba6c8dbcdac454bddc","kind":"commit","published_at":"2023-01-31T13:25:05.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.2","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.2/manifests"},{"name":"2.0.0-beta.1","sha":"de19b9c24a5654fd68763d9d7c36752aac65c1ae","kind":"commit","published_at":"2023-01-31T13:01:18.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.1","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.1/manifests"},{"name":"2.0.0-beta.0","sha":"63f626f99053d328db009d8cb38d15a43dc2e9f0","kind":"commit","published_at":"2023-01-31T12:55:52.000Z","download_url":"https://codeload.github.com/mkhstar/react-directive/tar.gz/2.0.0-beta.0","html_url":"https://github.com/mkhstar/react-directive/releases/tag/2.0.0-beta.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mkhstar/react-directive@2.0.0-beta.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhstar%2Freact-directive/tags/2.0.0-beta.0/manifests"}]},"repo_metadata_updated_at":"2026-08-27T05:13:48.229Z","dependent_packages_count":1,"downloads":14,"downloads_period":"last-month","dependent_repos_count":6,"rankings":{"downloads":11.455373719768938,"dependent_repos_count":4.633041010808547,"dependent_packages_count":20.947084095572265,"stargazers_count":8.145318150951725,"forks_count":8.871366574805107,"docker_downloads_count":null,"average":10.810436710381316},"purl":"pkg:npm/react-directive","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-directive","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-directive","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-directive/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-31T04:38:29.320Z","issues_count":0,"pull_requests_count":164,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":3760431.146496815,"issues_closed_count":0,"pull_requests_closed_count":157,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.6890243902439024,"merged_pull_requests_count":57,"bot_issues_count":0,"bot_pull_requests_count":153,"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/mkhstar%2Freact-directive/issues","maintainers":[{"login":"mkhstar","count":10,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mkhstar"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-directive/codemeta","maintainers":[{"uuid":"mkhstar","login":"mkhstar","name":null,"email":"kusimusah@gmail.com","url":null,"packages_count":10,"html_url":"https://www.npmjs.com/~mkhstar","role":null,"created_at":"2022-11-14T01:21:15.297Z","updated_at":"2022-11-14T01:21:15.297Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mkhstar/packages"}]}