{"id":20004942,"url":"https://github.com/pekkah/mimedb","last_synced_at":"2026-05-13T04:31:49.827Z","repository":{"id":48422609,"uuid":"257921200","full_name":"pekkah/MimeDb","owner":"pekkah","description":"MimeType utility generated from mime-db","archived":false,"fork":false,"pushed_at":"2024-07-29T16:21:20.000Z","size":82,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T13:47:19.821Z","etag":null,"topics":["asp-net","asp-net-core","dotnet","dotnet-core","http","mime-types"],"latest_commit_sha":null,"homepage":"","language":"C#","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/pekkah.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":"2020-04-22T14:12:24.000Z","updated_at":"2024-05-12T17:31:08.000Z","dependencies_parsed_at":"2024-05-12T17:44:44.136Z","dependency_job_id":"7d9504fe-8eaa-49b9-9c02-7c2b168009c9","html_url":"https://github.com/pekkah/MimeDb","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pekkah%2FMimeDb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pekkah%2FMimeDb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pekkah%2FMimeDb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pekkah%2FMimeDb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pekkah","download_url":"https://codeload.github.com/pekkah/MimeDb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444056,"owners_count":19963751,"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":["asp-net","asp-net-core","dotnet","dotnet-core","http","mime-types"],"created_at":"2024-11-13T05:37:13.973Z","updated_at":"2026-05-13T04:31:49.799Z","avatar_url":"https://github.com/pekkah.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mime type db\n=============\n\n* Provides methods to get mime-type from extension\n* DB is generated from [mime-db](https://github.com/jshttp/mime-db)\n\nUsage\n-------------\n\n```csharp\n[Theory]\n[InlineData(\"json\", \"application/json\")]\n[InlineData(\"md\", \"text/markdown\")]\npublic void TryGet(string extension, string mimeType)\n{\n    /* Given */\n    /* When */\n    var found = MimeType.TryGet(extension, out var actual);\n\n    /* Then */\n    Assert.True(found);\n    Assert.Equal(mimeType, actual.Type);\n}\n```\n\n\u003e NOTE: Extension can start with '.'\n\nContribution\n-------------\n\nTo add new mime type please make PR at [mime-db](https://github.com/jshttp/mime-db).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpekkah%2Fmimedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpekkah%2Fmimedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpekkah%2Fmimedb/lists"}