{"id":25347571,"url":"https://github.com/gsmlg-dev/ex_html_minifier","last_synced_at":"2026-03-11T15:33:22.467Z","repository":{"id":277480069,"uuid":"932543786","full_name":"gsmlg-dev/ex_html_minifier","owner":"gsmlg-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T10:17:19.000Z","size":3257,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T11:34:29.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/gsmlg-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-14T04:44:42.000Z","updated_at":"2025-02-17T10:13:28.000Z","dependencies_parsed_at":"2025-02-14T06:26:22.435Z","dependency_job_id":"4185cbcd-99b6-46d5-be68-cb3d191d5782","html_url":"https://github.com/gsmlg-dev/ex_html_minifier","commit_stats":null,"previous_names":["gsmlg-dev/ex_html_minifier"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gsmlg-dev/ex_html_minifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fex_html_minifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fex_html_minifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fex_html_minifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fex_html_minifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsmlg-dev","download_url":"https://codeload.github.com/gsmlg-dev/ex_html_minifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsmlg-dev%2Fex_html_minifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259749204,"owners_count":22905669,"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","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":"2025-02-14T14:57:09.491Z","updated_at":"2025-10-24T15:33:32.164Z","avatar_url":"https://github.com/gsmlg-dev.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HtmlMinifier\n\n[![Elixir CI](https://github.com/gsmlg-dev/ex_html_minifier/actions/workflows/elixir_ci.yml/badge.svg)](https://github.com/gsmlg-dev/ex_html_minifier/actions/workflows/elixir_ci.yml)\n[![Hex.pm](https://img.shields.io/hexpm/v/html_minifier.svg)](https://hex.pm/packages/html_minifier)\n[![Hexdocs.pm](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/html_minifier/)\n[![Hex.pm](https://img.shields.io/hexpm/dt/html_minifier.svg)](https://hex.pm/packages/html_minifier)\n[![Hex.pm](https://img.shields.io/hexpm/dw/html_minifier.svg)](https://hex.pm/packages/html_minifier)\n\n\n## Installation\n\nThe package can be installed\nby adding `html_minifier` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:html_minifier, \"~\u003e 0.1\"}\n  ]\nend\n```\n\n## Examples\n\n```elixir\niex\u003e HtmlMinifier.minify(\"\u003cdiv\u003e      A       \u003c/div\u003e\", %HtmlMinfier{})\n\"\u003cdiv\u003e A \u003c/div\u003e\"\n```\n\n## Config\n\n```elixir\n%HtmlMinifier{\n  keep_closing_tags: boolean(),\n  keep_html_and_head_opening_tags: boolean(),\n  keep_spaces_between_attributes: boolean(),\n  minify_css: boolean(),\n  minify_js: boolean(),\n  remove_bangs: boolean(),\n  remove_processing_instructions: boolean(),\n  do_not_minify_doctype: boolean(),\n  ensure_spec_compliant_unquoted_attribute_values: boolean(),\n  keep_comments: boolean(),\n  keep_input_type_text_attr: boolean(),\n  keep_ssi_comments: boolean(),\n  preserve_brace_template_syntax: boolean(),\n  preserve_chevron_percent_template_syntax: boolean()\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsmlg-dev%2Fex_html_minifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsmlg-dev%2Fex_html_minifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsmlg-dev%2Fex_html_minifier/lists"}