{"id":15289162,"url":"https://github.com/i10416/cssminifier","last_synced_at":"2026-03-02T23:31:34.099Z","repository":{"id":38275620,"uuid":"456158496","full_name":"i10416/cssminifier","owner":"i10416","description":"This library is a simple, dependency free css minifier supporting Scala 2.13, 3 on JVM, JS and Native Platform.","archived":false,"fork":false,"pushed_at":"2023-06-04T06:06:58.000Z","size":57,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T04:46:36.991Z","etag":null,"topics":["compression","scala","scalajs","scalanative","web"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i10416.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-02-06T13:27:52.000Z","updated_at":"2022-10-04T15:45:21.000Z","dependencies_parsed_at":"2024-10-14T20:10:45.136Z","dependency_job_id":null,"html_url":"https://github.com/i10416/cssminifier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/i10416/cssminifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i10416%2Fcssminifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i10416%2Fcssminifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i10416%2Fcssminifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i10416%2Fcssminifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i10416","download_url":"https://codeload.github.com/i10416/cssminifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i10416%2Fcssminifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006841,"owners_count":26084204,"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-11T02:00:06.511Z","response_time":55,"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":["compression","scala","scalajs","scalanative","web"],"created_at":"2024-09-30T15:59:27.536Z","updated_at":"2025-10-11T10:18:20.890Z","avatar_url":"https://github.com/i10416.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple CSS Minifier in Pure Scala\n\n[![Release](https://github.com/i10416/cssminifier/actions/workflows/release.yml/badge.svg)](https://github.com/i10416/cssminifier/actions/workflows/release.yml)\n\n| scala 2.13                                                                                                                                                                                                                                                                                                                                                                                                        | scala 3                                                                                                                                                                                                                                                                                                                                                                                               |\n| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/s01.oss.sonatype.org/dev.i10416/cssminifier_2.13.svg)](https://s01.oss.sonatype.org/content/repositories/snapshots/dev/i10416/cssminifier_2.13/)\u003cbr/\u003e[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.i10416/cssminifier_2.13/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.i10416/cssminifier_2.13) | [![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/s01.oss.sonatype.org/dev.i10416/cssminifier_3.svg)](https://s01.oss.sonatype.org/content/repositories/snapshots/dev/i10416/cssminifier_3/)\u003cbr/\u003e[![Maven Central](https://maven-badges.herokuapp.com/maven-central/dev.i10416/cssminifier_3/badge.svg)](https://maven-badges.herokuapp.com/maven-central/dev.i10416/cssminifier_3) |\n\n\nThis library is a simple, dependency free css minifier supporting Scala 2.13, 3 on JVM, JS and Native Platform.\n\nAlgorithm is written in reference to YUI\nor.\n\nFollowing features are supported.\n\n- remove leading whitespace-like chars\n- remove trailing whitespace-like chars\n- remove last semi-colon in braces\n- remove repeated semi-colons\n- remove comments except ones start with `!`\n- remove empty rules\n- compress zeros(e.g. `margin:0 0 0 0; =\u003e margin:0`,`border:none;=\u003eborder:0`)\n- collect `@charset` and keep only the first one\n\n## Install\n\n```scala\nlibraryDependencies += \"dev.i10416\" %% \"cssminifier\" % \"0.0.2\"\n```\n\nFor JS or Native platform, use `%%%` instead of `%%`.\n\n```scala\nlibraryDependencies += \"dev.i10416\" %%% \"cssminifier\" % \"0.0.2\"\n```\n\n## Run\n\n```scala\nimport dev.i10416.CSSMinifier\n\nCSSMinifier.run(\"\u003ccss string\u003e\")\n```\n\n## How to contribute?\n\n- Give it a star⭐\n- Drop the feedback to the author @i10416\n- Send a PR with fixes of typos/bugs/etc🐛\n\n## License\n\nLicensed under the Apache License, Version 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi10416%2Fcssminifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi10416%2Fcssminifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi10416%2Fcssminifier/lists"}