{"id":15041329,"url":"https://github.com/mpopv/pxsmlx","last_synced_at":"2026-02-01T03:38:49.103Z","repository":{"id":119598467,"uuid":"54073920","full_name":"mpopv/pxsmlx","owner":"mpopv","description":"A Sass mixin library for concisely generating sets of single-property media queries","archived":false,"fork":false,"pushed_at":"2020-01-13T23:37:12.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-03T20:54:08.825Z","etag":null,"topics":["bootstrap-breakpoints","breakpoint","breakpoints","css","css3","media-queries","mixin-library","mixins","sass","sass-library","sass-mixins","scss","scss-library","scss-mixin","scss-mixins"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pxsmlx","language":"CSS","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/mpopv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2016-03-16T23:35:52.000Z","updated_at":"2020-01-18T02:49:42.000Z","dependencies_parsed_at":"2023-05-29T04:00:15.948Z","dependency_job_id":null,"html_url":"https://github.com/mpopv/pxsmlx","commit_stats":{"total_commits":55,"total_committers":3,"mean_commits":"18.333333333333332","dds":"0.036363636363636376","last_synced_commit":"ed9e8adb9d14ed7d91477be82f1d0118981a0809"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mpopv/pxsmlx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpopv%2Fpxsmlx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpopv%2Fpxsmlx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpopv%2Fpxsmlx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpopv%2Fpxsmlx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpopv","download_url":"https://codeload.github.com/mpopv/pxsmlx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpopv%2Fpxsmlx/sbom","scorecard":{"id":663068,"data":{"date":"2025-08-11","repo":{"name":"github.com/mpopv/pxsmlx","commit":"ed9e8adb9d14ed7d91477be82f1d0118981a0809"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"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":"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-21T16:50:32.778Z","repository_id":119598467,"created_at":"2025-08-21T16:50:32.778Z","updated_at":"2025-08-21T16:50:32.778Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28966837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"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":["bootstrap-breakpoints","breakpoint","breakpoints","css","css3","media-queries","mixin-library","mixins","sass","sass-library","sass-mixins","scss","scss-library","scss-mixin","scss-mixins"],"created_at":"2024-09-24T20:45:58.028Z","updated_at":"2026-02-01T03:38:49.085Z","avatar_url":"https://github.com/mpopv.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pxsmlx\n\n![npm](https://img.shields.io/npm/v/pxsmlx) ![NPM](https://img.shields.io/npm/l/pxsmlx) ![npm](https://img.shields.io/npm/dt/pxsmlx) ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/pxsmlx)\n\n*ˈpɪks mɪlks'*\n\nA mixin library to make writing responsive CSS simple.\n\n### About\n\nDo you nest media queries inside elements in SCSS, but get sick of writing out media queries for small responsive changes, especially if you need multiple? This is a set of mixins designed to reduce that work by condensing it down to as concise a syntax as possible, by baking in some assumptions.\n\npxsmlx is opinionated — it only uses min-width queries and Bootstrap 3 breakpoints (plus an extra one at 1440px). But it allows you to write complex sets of media queries much more quickly.\n\n```scss\n  // You write...\n  div.responsive {\n    @include pxsmlx(width, 100px, 200px, 300px, 400px, 500px);\n  }\n\n  // And it generates...\n  div.responsive {\n    width: 100px;\n  }\n  @media (min-width: 576px) {\n    div.responsive {\n      width: 200px;\n    }\n  }\n  @media (min-width: 768px) {\n    div.responsive {\n      width: 300px;\n    }\n  }\n  @media (min-width: 992px) {\n    div.responsive {\n      width: 400px;\n    }\n  }\n  @media (min-width: 1200px) {\n    div.responsive {\n      width: 500px;\n    }\n  }\n```\n\n### Installation\n\n```bash\n  $ npm i -D pxsmlx\n```\n\n### Usage\n\n```scss\n  // with webpack\n  @import 'pxsmlx/pxsmlx';\n\n  // without webpack\n  @import '../../path/to/node_modules/pxsmlx/pxsmlx';\n```\n\npxsmlx stands for `property`, `xs`, `sm`, `md`, `lg`, and `xl`. It's a shorthand to help you remember the mixin arguments. You can use any combination of breakpoints within that set: `pxsm`, `psm`, `psmlx`, etc.\n\nFirst, set your breakpoints, if they differ from the default Bootstrap 3 breakpoints. They're the variables at the top.\n\n```scss\n$mixin-sm-min-width: 768px;\n$mixin-md-min-width: 992px;\n$mixin-lg-min-width: 1200px;\n$mixin-xl-min-width: 1440px;\n```\n\n### Nesting and merging media queries\n\nThis library adds many media queries that contain a single selector, which may inflate the size of your CSS versus manually combining them. If you serve your files with Gzip [the difference will probably be small](https://benfrain.com/inline-or-combined-media-queries-in-sass-fight/), although you can also use tools like [node-css-mqpacker](https://github.com/hail2u/node-css-mqpacker) or [clean-css](https://github.com/jakubpawlowicz/clean-css)'s `mergeMedia` to combine media queries at compile time.\n\n### License\n- [MIT](https://github.com/mpopv/pxsmlx/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpopv%2Fpxsmlx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpopv%2Fpxsmlx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpopv%2Fpxsmlx/lists"}