{"id":32265945,"url":"https://github.com/thdoan/scalem","last_synced_at":"2026-02-22T03:02:49.007Z","repository":{"id":15007489,"uuid":"17733000","full_name":"thdoan/scalem","owner":"thdoan","description":"A jQuery plugin to make any element scalable (responsive).","archived":false,"fork":false,"pushed_at":"2024-09-18T22:09:05.000Z","size":74,"stargazers_count":33,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-23T23:28:26.236Z","etag":null,"topics":["flowtype","jquery","jquery-plugin","liquid","responsive","scale"],"latest_commit_sha":null,"homepage":"https://thdoan.github.io/scalem/","language":null,"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/thdoan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-14T02:27:02.000Z","updated_at":"2024-09-18T22:09:08.000Z","dependencies_parsed_at":"2022-08-31T05:21:56.153Z","dependency_job_id":null,"html_url":"https://github.com/thdoan/scalem","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/thdoan/scalem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdoan%2Fscalem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdoan%2Fscalem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdoan%2Fscalem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdoan%2Fscalem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thdoan","download_url":"https://codeload.github.com/thdoan/scalem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdoan%2Fscalem/sbom","scorecard":{"id":876961,"data":{"date":"2025-08-11","repo":{"name":"github.com/thdoan/scalem","commit":"e76b5056c05c34f3b2d97e166d82f0f2da8c020e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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: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":"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"}}]},"last_synced_at":"2025-08-24T06:24:45.392Z","repository_id":15007489,"created_at":"2025-08-24T06:24:45.392Z","updated_at":"2025-08-24T06:24:45.392Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"online","status_checked_at":"2026-02-22T02:00:08.193Z","response_time":110,"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"}},"keywords":["flowtype","jquery","jquery-plugin","liquid","responsive","scale"],"created_at":"2025-10-22T21:21:44.437Z","updated_at":"2026-02-22T03:02:49.002Z","avatar_url":"https://github.com/thdoan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scalem JS\n\nScalem, short for __scale elements__ or slang for __scale 'em__, is a light-weight responsive text jQuery plugin inspired by [FlowType](http://simplefocus.com/flowtype/). Use it to \"liquify\" elements on your website so that they scale relative to the width of their parent element or, optionally, any element you specify (see Options below). Scalem is not just limited to text size\u0026mdash;it can be used to scale any CSS style that takes a numeric unit such as `px`, `em`, or `%`.\n\n### [See a demo \u0026raquo;](https://thdoan.github.io/scalem/demo.html)\n\n__NOTE: With increased support for the [`vw`](https://css-tricks.com/viewport-sized-typography/) CSS3 property in modern browsers, this plugin should be phased out with `vw`.__\n\n## Options\n\nOptions can be passed via data attributes or JavaScript (see Usage below). For data attributes, append the option name after \"data-scale-\", for example `data-scale-ratio=\"0.5\"`.\n\nName        | Type   | Default | Description\n----------- | ------ | ------- | -----------\n`ratio`     | number | 1       | Scale ratio, where 1 scales the element to 100% the width of the reference element.\n`reference` | string | parent  | Selector to the reference element (text will scale relative to this element's width).\n`styles`    | string | ''      | Space-separated list of CSS properties to scale in addition to `font-size`.\n\n\n## Usage\n\n```html\n\u003cbody\u003e\n\u003ch1\u003eScalable Heading\u003c/h1\u003e\n\u003cp id=\"txt\" data-scale-ratio=\"0.25\"\u003e\n  Scalable Text\n\u003cp\u003e\n\u003cp\u003e\n  \u003cbutton class=\"btn\"\u003eScalable Button\u003c/button\u003e\n\u003c/p\u003e\n...\n\u003cscript\u003e\n$(document).ready(function() {\n  // Scale heading using default options\n  $('h1').scalem();\n  // Scale text to 25% of the document's width using data attribute\n  $('#txt').scalem();\n  // Scale button to 50% the width of the \u003ch1\u003e, while also keeping its\n  // border ratio and width proportionate, by passing object properties\n  $('.btn').scalem({\n    ratio: 0.5,\n    reference: 'h1',\n    styles: 'border-radius border-width'\n  });\n}\n\u003c/script\u003e\n\u003c/body\u003e\n```\n\n## Installation\n\nChoose one of the following methods:\n\n- `git clone https://github.com/thdoan/scalem.git`\n- `bower install scalem`\n- `npm install scalem`\n- [Download ZIP](https://github.com/thdoan/scalem/archive/master.zip)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdoan%2Fscalem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthdoan%2Fscalem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdoan%2Fscalem/lists"}