{"id":15099824,"url":"https://github.com/zon-dev/mime","last_synced_at":"2026-01-06T18:04:52.955Z","repository":{"id":251724119,"uuid":"837545047","full_name":"zon-dev/mime","owner":"zon-dev","description":"Support MIME (HTTP Media Types) types parse in Zig.","archived":false,"fork":false,"pushed_at":"2024-08-06T08:30:11.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T08:46:16.181Z","etag":null,"topics":["media-types","mime","mime-parser","mime-types","zig","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"https://zon.dev","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/zon-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}},"created_at":"2024-08-03T09:44:54.000Z","updated_at":"2024-08-06T08:39:27.000Z","dependencies_parsed_at":"2024-08-05T11:07:14.784Z","dependency_job_id":null,"html_url":"https://github.com/zon-dev/mime","commit_stats":null,"previous_names":["zon-dev/mime"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fmime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fmime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fmime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fmime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zon-dev","download_url":"https://codeload.github.com/zon-dev/mime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858876,"owners_count":20684057,"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":["media-types","mime","mime-parser","mime-types","zig","zig-package","ziglang"],"created_at":"2024-09-25T17:27:55.663Z","updated_at":"2026-01-06T18:04:52.888Z","avatar_url":"https://github.com/zon-dev.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mime\nSupport MIME (HTTP Media Types) types parse in Zig.\n\n\n### Usage:\n```zig\nvar mime = Mime.parse(std.heap.page_allocator, \"text/plain; charset=utf-8; foo=bar\");\ntry std.testing.expect(mime != null);\ntry std.testing.expect(std.mem.eql(u8, mime.?.essence, \"text/plain; charset=utf-8; foo=bar\"));\ntry std.testing.expect(std.mem.eql(u8, mime.?.basetype, \"text\"));\ntry std.testing.expect(std.mem.eql(u8, mime.?.subtype, \"plain\"));\n\nconst charset = mime.?.getParam(\"charset\");\ntry testing.expectEqualStrings(\"utf-8\", charset.?);\n\nconst foo = mime.?.getParam(\"foo\");\ntry testing.expectEqualStrings(\"bar\", foo.?);\n\nconst bar = mime.?.getParam(\"bar\");\ntry testing.expect(bar == null);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fmime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzon-dev%2Fmime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fmime/lists"}