{"id":13518756,"url":"https://github.com/jonathantneal/flexibility","last_synced_at":"2026-01-11T13:29:56.619Z","repository":{"id":57238276,"uuid":"45703901","full_name":"jonathantneal/flexibility","owner":"jonathantneal","description":"A JavaScript polyfill for Flexbox","archived":false,"fork":false,"pushed_at":"2022-09-21T12:39:18.000Z","size":449,"stargazers_count":4307,"open_issues_count":43,"forks_count":465,"subscribers_count":121,"default_branch":"master","last_synced_at":"2025-12-03T11:14:58.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jonathantneal.github.io/flexibility/","language":"JavaScript","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/jonathantneal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-06T19:51:26.000Z","updated_at":"2025-11-22T20:17:08.000Z","dependencies_parsed_at":"2022-09-08T12:20:14.419Z","dependency_job_id":null,"html_url":"https://github.com/jonathantneal/flexibility","commit_stats":null,"previous_names":["10up/flexibility"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jonathantneal/flexibility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathantneal%2Fflexibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathantneal%2Fflexibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathantneal%2Fflexibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathantneal%2Fflexibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathantneal","download_url":"https://codeload.github.com/jonathantneal/flexibility/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathantneal%2Fflexibility/sbom","scorecard":{"id":1159,"data":{"date":"2025-08-04","repo":{"name":"github.com/jonathantneal/flexibility","commit":"c7cbaf26c39ba1c0947d16b05d95c8ac9ce022fb"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":1,"reason":"Found 4/29 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T12:33:06.952Z","repository_id":57238276,"created_at":"2025-08-14T12:33:06.953Z","updated_at":"2025-08-14T12:33:06.953Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28304263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":[],"created_at":"2024-08-01T05:01:48.595Z","updated_at":"2026-01-11T13:29:56.603Z","avatar_url":"https://github.com/jonathantneal.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# flexibility\n\n\u003ca href=\"https://github.com/jonathantneal/flexibility\"\u003e\u003cimg src=\"https://jonathantneal.github.io/flexibility/logo.svg\" alt=\"Flexibility Logo\" width=\"60\" height=\"60\" align=\"right\"\u003e\u003c/a\u003e\n\n\u003e A JavaScript polyfill for Flexbox\n\n[![npm][npm-image]][npm-url] [![bower][bower-image]][bower-url]\n[![ci][ci-image]][ci-url] [![gitter][gitter-image]][gitter-url]\n\n[Flexibility] is a polyfill for the [Flexible Box Layout], commonly known as\nFlexbox. With Flexibility, you get to design beautiful, flexible layouts on the\nweb without sacrificing the experience in older browsers.\n\nFlexbox lays out, aligns, and distributes elements in a container, even\nwhen their size is unknown or dynamic. To better understand Flexbox, read\n[Chris Coyier]’s excellent [Complete Guide to Flexbox].\n\nTo start using Flexbox in Internet Explorer 8 \u0026 9 or any older browser, download the\n[flexibility.js] script and include it anywhere on your page.\n\n```html\n\u003cscript src=\"flexibility.js\"\u003e\u003c/script\u003e\n```\n\nIf you’re only targeting Internet Explorer 10 and lower, add a\n`-js-display: flex` declaration before any `display: flex` declarations in your\nCSS, or use [PostCSS Flexibility] to automate this during your build process.\n\n```css\n.container {\n\t-js-display: flex;\n\tdisplay: flex;\n}\n```\n\nIf you’re targeting other browsers, use the `data-style` attribute to alert these browsers to your changes.\n\n```html\n\u003cdiv data-style=\"display: flex;\"\u003e\u003c/div\u003e\n```\n\nWhen you’re ready to polyfill flexbox with JavaScript, use the `flexibility`\nmethod on the outermost element you would like to polyfill.\n\n```js\nflexibility(document.documentElement);\n```\n\n## API\n\nThe global `flexibility` method contains child functions for use within your\nown framework.\n\n##### `flexibility.read`\n\nArgument: `Element`\n\nReturn flexbox related styles from an element.\n\n##### `flexibility.readAll`\n\nArgument: `Element`\n\nReturn a list of flexbox details from a matching element or its descendants.\n\n##### `flexibility.write`\n\nArgument: `Details`\n\nWrites flexbox details back to their respective elements.\n\n##### `flexibility.writeAll`\n\nArgument: `Array`\n\nWrites a list of flexbox details back to their respective elements.\n\n---\n\nTo learn more about [Flexibility], read the [support] section.\n\nIf you experience an issue, read the [contributing] section before creating an\nissue.\n\n[bower-image]:  https://img.shields.io/bower/v/flexibility.svg?style=flat-square\n[bower-url]:    https://libraries.io/bower/flexibility\n[ci-image]:     https://img.shields.io/travis/jonathantneal/flexibility.svg?style=flat-square\n[ci-url]:       https://travis-ci.org/jonathantneal/flexibility\n[gitter-image]: https://img.shields.io/gitter/room/jonathantneal/flexibility.svg?style=flat-square\n[gitter-url]:   https://gitter.im/jonathantneal/flexibility\n[npm-image]:    https://img.shields.io/npm/v/flexibility.svg?style=flat-square\n[npm-url]:      https://www.npmjs.com/package/flexibility\n\n[contributing]: CONTRIBUTING.md\n[Flexibility]: https://github.com/jonathantneal/flexibility\n[flexibility.js]: flexibility.js\n[support]: SUPPORT.md\n\n[Chris Coyier]: https://twitter.com/chriscoyier\n[Complete Guide to Flexbox]: https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n[Flexible Box Layout]: http://www.w3.org/TR/css3-flexbox/\n[PostCSS Flexibility]: https://github.com/7rulnik/postcss-flexibility\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathantneal%2Fflexibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathantneal%2Fflexibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathantneal%2Fflexibility/lists"}