{"id":32171410,"url":"https://github.com/jung-hunsoo/exdiff","last_synced_at":"2026-02-18T22:02:09.737Z","repository":{"id":62429081,"uuid":"125170534","full_name":"jung-hunsoo/exdiff","owner":"jung-hunsoo","description":"Text difference library for Elixir","archived":false,"fork":false,"pushed_at":"2020-05-23T17:11:37.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-21T19:31:24.557Z","etag":null,"topics":["elixir","hex"],"latest_commit_sha":null,"homepage":"","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/jung-hunsoo.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":"2018-03-14T07:10:52.000Z","updated_at":"2024-07-30T16:46:30.000Z","dependencies_parsed_at":"2022-11-01T20:02:13.380Z","dependency_job_id":null,"html_url":"https://github.com/jung-hunsoo/exdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jung-hunsoo/exdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jung-hunsoo%2Fexdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jung-hunsoo%2Fexdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jung-hunsoo%2Fexdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jung-hunsoo%2Fexdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jung-hunsoo","download_url":"https://codeload.github.com/jung-hunsoo/exdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jung-hunsoo%2Fexdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["elixir","hex"],"created_at":"2025-10-21T17:50:32.157Z","updated_at":"2026-02-18T22:02:09.732Z","avatar_url":"https://github.com/jung-hunsoo.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exdiff\n\n[![Hex.pm](https://img.shields.io/hexpm/v/exdiff.svg)](https://hex.pm/packages/exdiff)\n\nText difference library for Elixir\n\n## Installation\n\nAdd `exdiff` to your `mix.exs` dependencies:\n\n```elixir\ndef deps do\n  [{:exdiff, \"~\u003e 0.1.5\"}]\nend\n```\n\n## Quick example\n\n```elixir\n\u003e Exdiff.diff(\"abd\", \"abcd\")\n%{html: \"\u003cdiv class='exdiff-eq'\u003eab\u003c/div\u003e\u003cdiv class='exdiff-ins'\u003ec\u003c/div\u003e\u003cdiv class='exdiff-eq'\u003ed\u003c/div\u003e\", length: 1}\n\n\u003e Exdiff.diff(\"abd\", \"abcd\", wrapper_tag: \"span\")\n%{html: \"\u003cspan class='exdiff-eq'\u003eab\u003c/span\u003e\u003cspan class='exdiff-ins'\u003ec\u003c/span\u003e\u003cspan class='exdiff-eq'\u003ed\u003c/span\u003e\", length: 1}\n\n\u003e Exdiff.diff_to_html(\"abd\", \"abcd\")\n{1, \"\u003cdiv class='exdiff-eq'\u003eab\u003c/div\u003e\u003cdiv class='exdiff-ins'\u003ec\u003c/div\u003e\u003cdiv class='exdiff-eq'\u003ed\u003c/div\u003e\"}\n\n\u003e Exdiff.diff_to_html(\"abd\", \"abcd\", wrapper_tag: \"span\")\n{1, \"\u003cspan class='exdiff-eq'\u003eab\u003c/span\u003e\u003cspan class='exdiff-ins'\u003ec\u003c/span\u003e\u003cspan class='exdiff-eq'\u003ed\u003c/span\u003e\"}\n```\n\n## Usage\n\nThere are three HTML classes wrapped with tag.\n\n- `exdiff-del`\n- `exdiff-ins`\n- `exdiff-eq`\n\n## Test\n\n`mix test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjung-hunsoo%2Fexdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjung-hunsoo%2Fexdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjung-hunsoo%2Fexdiff/lists"}