{"id":942605,"name":"@flat/classlist","ecosystem":"npm","description":"Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)","homepage":"https://github.com/eligrey/classList.js#readme","licenses":"Unlicense","normalized_licenses":["Unlicense"],"repository_url":"https://github.com/eligrey/classList.js","keywords_array":["classList","polyfill","shim","cross-browser"],"namespace":"flat","versions_count":1,"first_release_published_at":"2018-10-22T21:57:15.307Z","latest_release_published_at":"2018-10-22T21:57:15.307Z","latest_release_number":"1.2.20180112","last_synced_at":"2026-03-24T10:49:50.089Z","created_at":"2022-04-07T17:26:00.723Z","updated_at":"2026-03-24T10:49:50.089Z","registry_url":"https://www.npmjs.com/package/@flat/classlist","install_command":"npm install @flat/classlist","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.2.20180112"}},"repo_metadata":{"id":1113190,"uuid":"982691","full_name":"eligrey/classList.js","owner":"eligrey","description":"Cross-browser element.classList","archived":false,"fork":false,"pushed_at":"2018-10-18T21:13:12.000Z","size":62,"stargazers_count":1104,"open_issues_count":23,"forks_count":230,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-09-02T22:31:42.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eligrey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-12T23:36:18.000Z","updated_at":"2025-07-01T11:14:28.000Z","dependencies_parsed_at":"2022-08-16T12:05:10.284Z","dependency_job_id":null,"html_url":"https://github.com/eligrey/classList.js","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/eligrey/classList.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eligrey","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/sbom","scorecard":{"id":372800,"data":{"date":"2025-08-11","repo":{"name":"github.com/eligrey/classList.js","commit":"ecb3305730a9b62f31cfdc71190d2f312233ed32"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":"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":"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":"Code-Review","score":3,"reason":"Found 7/21 approved changesets -- score normalized to 3","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":"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":"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.md:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE.md: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'"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 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-18T13:23:39.382Z","repository_id":1113190,"created_at":"2025-08-18T13:23:39.382Z","updated_at":"2025-08-18T13:23:39.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278084418,"owners_count":25927185,"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-10-02T02:00:08.890Z","response_time":67,"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":"eligrey","name":"Eli Grey","uuid":"46995","kind":"user","description":"Full-stack web developer and security engineer.","email":"","website":"https://dangerous.link/virus.exe","location":"San Francisco, CA","twitter":"sephr","company":"@transcend-io","icon_url":"https://avatars.githubusercontent.com/u/46995?u=21a18bc04d50e86a2c2d8783877d2b070ea5a0f6\u0026v=4","repositories_count":110,"last_synced_at":"2025-10-02T04:59:39.844Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"eligrey"}},"html_url":"https://github.com/eligrey","funding_links":["https://github.com/sponsors/eligrey"],"total_stars":26333,"followers":1403,"following":187,"created_at":"2022-11-02T16:26:21.560Z","updated_at":"2025-10-02T04:59:39.844Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eligrey","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eligrey/repositories"},"tags":[{"name":"1.2.20180112","sha":"ecb3305730a9b62f31cfdc71190d2f312233ed32","kind":"commit","published_at":"2018-01-12T13:10:28.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.2.20180112","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.2.20180112","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.2.20180112","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20180112","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20180112/manifests"},{"name":"1.2.20171210","sha":"bb340c63177cd174f9c75b96d81476ce6b4e8674","kind":"commit","published_at":"2017-12-10T10:57:48.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.2.20171210","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.2.20171210","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.2.20171210","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20171210","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20171210/manifests"},{"name":"1.2.201711092","sha":"2f1dc1fdc85c1319d9a56795d976b14958bfeec9","kind":"commit","published_at":"2017-11-09T09:56:31.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.2.201711092","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.2.201711092","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.2.201711092","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.201711092","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.201711092/manifests"},{"name":"1.2.20171109","sha":"bea58004521abbb0b0dd019b969641cf538dbfc3","kind":"commit","published_at":"2017-11-09T09:10:25.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.2.20171109","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.2.20171109","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.2.20171109","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20171109","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.2.20171109/manifests"},{"name":"1.1.20170427","sha":"1fd9951666f940ac415dfe5dfa61cf902cc03b5e","kind":"commit","published_at":"2017-04-27T20:42:35.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.1.20170427","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.1.20170427","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.1.20170427","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20170427","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20170427/manifests"},{"name":"1.1.20170112","sha":"41da0b1ce6a2eedc4489097fc22b2c6848556da9","kind":"commit","published_at":"2017-01-25T02:35:10.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.1.20170112","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.1.20170112","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.1.20170112","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20170112","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20170112/manifests"},{"name":"1.1.20150312","sha":"e87db36a95b2381a8c3ed44582a3926185cede70","kind":"commit","published_at":"2015-09-24T04:04:16.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/1.1.20150312","html_url":"https://github.com/eligrey/classList.js/releases/tag/1.1.20150312","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@1.1.20150312","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20150312","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/1.1.20150312/manifests"},{"name":"2014-12-13","sha":"96a2fcb504b086f990d0255afc6d7bd763d99102","kind":"commit","published_at":"2014-12-13T21:33:43.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/2014-12-13","html_url":"https://github.com/eligrey/classList.js/releases/tag/2014-12-13","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@2014-12-13","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/2014-12-13","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/2014-12-13/manifests"},{"name":"2014-07-23","sha":"1b844dcdfceb10983484a8f899935ea644f96b2d","kind":"commit","published_at":"2014-07-24T19:55:40.000Z","download_url":"https://codeload.github.com/eligrey/classList.js/tar.gz/2014-07-23","html_url":"https://github.com/eligrey/classList.js/releases/tag/2014-07-23","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/eligrey/classList.js@2014-07-23","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/2014-07-23","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eligrey%2FclassList.js/tags/2014-07-23/manifests"}]},"repo_metadata_updated_at":"2025-10-02T23:34:14.900Z","dependent_packages_count":1,"downloads":127,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":15.168586393889527,"dependent_repos_count":10.295976646711454,"dependent_packages_count":20.907756255897063,"stargazers_count":2.3091224931195757,"forks_count":2.1444615275591037,"docker_downloads_count":null,"average":10.165180663435345},"purl":"pkg:npm/%40flat/classlist","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@flat/classlist","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@flat/classlist","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@flat/classlist/dependencies","status":null,"funding_links":["https://github.com/sponsors/eligrey"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T08:47:20.756Z","issues_count":40,"pull_requests_count":44,"avg_time_to_close_issue":25079717.826086957,"avg_time_to_close_pull_request":13147777.94736842,"issues_closed_count":23,"pull_requests_closed_count":38,"pull_request_authors_count":31,"issue_authors_count":35,"avg_comments_per_issue":4.275,"avg_comments_per_pull_request":3.25,"merged_pull_requests_count":20,"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/eligrey%2FclassList.js/issues","maintainers":[{"login":"beck","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/beck"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@flat%2Fclasslist/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@flat%2Fclasslist/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@flat%2Fclasslist/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@flat%2Fclasslist/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@flat%2Fclasslist/codemeta","maintainers":[{"uuid":"gierschv","login":"gierschv","name":null,"email":"mail@vincent.sh","url":null,"packages_count":16,"html_url":"https://www.npmjs.com/~gierschv","role":null,"created_at":"2022-11-20T15:42:21.929Z","updated_at":"2022-11-20T15:42:21.929Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gierschv/packages"},{"uuid":"giersch","login":"giersch","name":null,"email":"npm@flat.io","url":null,"packages_count":17,"html_url":"https://www.npmjs.com/~giersch","role":null,"created_at":"2022-11-20T15:42:21.913Z","updated_at":"2022-11-20T15:42:21.913Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/giersch/packages"}]}