{"id":13508640,"url":"https://github.com/martinsvalin/html_entities","last_synced_at":"2026-02-23T05:01:46.958Z","repository":{"id":54427483,"uuid":"38458133","full_name":"martinsvalin/html_entities","owner":"martinsvalin","description":"Elixir module for decoding HTML entities.","archived":false,"fork":false,"pushed_at":"2021-02-18T21:04:56.000Z","size":159,"stargazers_count":88,"open_issues_count":4,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-27T01:41:33.281Z","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/martinsvalin.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":"2015-07-02T21:36:05.000Z","updated_at":"2025-08-26T21:46:57.000Z","dependencies_parsed_at":"2022-08-13T15:20:27.544Z","dependency_job_id":null,"html_url":"https://github.com/martinsvalin/html_entities","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/martinsvalin/html_entities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinsvalin%2Fhtml_entities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinsvalin%2Fhtml_entities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinsvalin%2Fhtml_entities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinsvalin%2Fhtml_entities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinsvalin","download_url":"https://codeload.github.com/martinsvalin/html_entities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinsvalin%2Fhtml_entities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-01T02:00:56.070Z","updated_at":"2026-02-23T05:01:46.932Z","avatar_url":"https://github.com/martinsvalin.png","language":"Elixir","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"# HtmlEntities\n\n[![Module Version](https://img.shields.io/hexpm/v/html_entities.svg)](https://hex.pm/packages/html_entities)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/html_entities/)\n[![Total Download](https://img.shields.io/hexpm/dt/html_entities.svg)](https://hex.pm/packages/html_entities)\n[![License](https://img.shields.io/hexpm/l/html_entities.svg)](https://github.com/martinsvalin/html_entities/blob/master/LICENSE)\n[![Last Updated](https://img.shields.io/github/last-commit/martinsvalin/html_entities.svg)](https://github.com/martinsvalin/html_entities/commits/master)\n\nElixir module for decoding and encoding HTML entities in a string.\n\nEntity names, codepoints and their corresponding characters are copied from\n[Wikipedia](https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references).\n\n## Installation\n\nAdd the dependency to your `mix.exs` file, then run `mix deps.get`.\n\n```elixir\ndefp deps do\n  [\n    {:html_entities, \"~\u003e 0.5\"}\n  ]\nend\n```\n\n## Usage\n\nInside IEx:\n\n```elixir\niex\u003e HtmlEntities.decode(\"Tom \u0026amp; Jerry\")\n\"Tom \u0026 Jerry\"\niex\u003e HtmlEntities.decode(\"\u0026#161;Ay, caramba!\")\n\"¡Ay, caramba!\"\niex\u003e HtmlEntities.encode(\"\u003c\u003c KAPOW!! \u003e\u003e\")\n\"\u0026lt;\u0026lt; KAPOW!! \u0026gt;\u0026gt;\"\n```\n\nInside a module:\n\n```elixir\ndefmodule EntityTest do\n  def non_breaking_space do\n    HtmlEntities.decode(\"\u0026#161;\")\n  end\nend\n```\n\n## License\n\nCopyright (c) 2015 Martin Svalin\n\nThis library is MIT licensed. See the [LICENSE](https://github.com/martinsvalin/html_entities/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsvalin%2Fhtml_entities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinsvalin%2Fhtml_entities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsvalin%2Fhtml_entities/lists"}