{"id":13741832,"url":"https://github.com/nektro/zig-leven","last_synced_at":"2025-10-16T19:25:59.624Z","repository":{"id":45279909,"uuid":"389880111","full_name":"nektro/zig-leven","owner":"nektro","description":"Measure the difference between two slices using the Levenshtein distance algorithm","archived":false,"fork":false,"pushed_at":"2025-05-21T20:33:36.000Z","size":13,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T21:35:08.699Z","etag":null,"topics":["zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/nektro.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},"funding":{"github":"nektro"}},"created_at":"2021-07-27T06:59:53.000Z","updated_at":"2025-05-21T20:33:39.000Z","dependencies_parsed_at":"2024-05-04T21:26:23.165Z","dependency_job_id":"76817be6-74eb-4570-ac34-fb76cc7fecee","html_url":"https://github.com/nektro/zig-leven","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nektro/zig-leven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-leven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-leven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-leven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-leven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nektro","download_url":"https://codeload.github.com/nektro/zig-leven/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nektro%2Fzig-leven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279229818,"owners_count":26130680,"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-16T02:00:06.019Z","response_time":53,"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":["zig","zig-package"],"created_at":"2024-08-03T04:01:03.087Z","updated_at":"2025-10-16T19:25:59.619Z","avatar_url":"https://github.com/nektro.png","language":"Zig","funding_links":["https://github.com/sponsors/nektro"],"categories":["Libraries"],"sub_categories":[],"readme":"# zig-leven\n\n![loc](https://sloc.xyz/github/nektro/zig-leven)\n[![license](https://img.shields.io/github/license/nektro/zig-leven.svg)](https://github.com/nektro/zig-leven/blob/master/LICENSE)\n[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)\n[![Zig](https://img.shields.io/badge/Zig-0.14-f7a41d)](https://ziglang.org/)\n[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)\n\nMeasure the difference between two slices using the Levenshtein distance algorithm\n\nAdapted from https://github.com/sindresorhus/leven\n\n## Usage\n\n`pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T, max: ?usize) !usize`\n\n## Future\n\nTODO Unicode support for strings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fzig-leven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnektro%2Fzig-leven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnektro%2Fzig-leven/lists"}