{"id":14957499,"url":"https://github.com/expressjs/mime-extended","last_synced_at":"2025-10-19T07:31:25.836Z","repository":{"id":16196388,"uuid":"18943090","full_name":"expressjs/mime-extended","owner":"expressjs","description":"DEPRECATED - Please use mime-types instead.","archived":false,"fork":false,"pushed_at":"2014-05-13T17:48:30.000Z","size":136,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-29T14:24:19.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/expressjs/mime-types","language":"JavaScript","has_issues":false,"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/expressjs.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":"2014-04-19T14:42:12.000Z","updated_at":"2024-07-10T03:57:31.000Z","dependencies_parsed_at":"2022-09-11T16:10:46.543Z","dependency_job_id":null,"html_url":"https://github.com/expressjs/mime-extended","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fmime-extended","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fmime-extended/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fmime-extended/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fmime-extended/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/expressjs","download_url":"https://codeload.github.com/expressjs/mime-extended/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088477,"owners_count":19253565,"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":[],"created_at":"2024-09-24T13:14:59.626Z","updated_at":"2025-10-19T07:31:25.831Z","avatar_url":"https://github.com/expressjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!CAUTION]\n\u003e **This repository is archived and no longer actively maintained.**\n\u003e\n\u003e We are no longer accepting issues, feature requests, or pull requests.\n\u003e For additional support or questions, please visit the [Express.js Discussions page](https://github.com/expressjs/express/discussions).\n\n---\n\n**Please use [mime-types](https://github.com/expressjs/mime-types) instead**\n\n---\n\n# MIME EXTENDED\n\nExtends the [mime](https://github.com/broofa/node-mime) module with two main features:\n\n- Adds some content types for preprocessor/transpiler languages\n- Adds `mime.contentType()`\n\n## Additional types\n\nCheckout [lib/types.json](lib/types.json) for additional content types.\nFeel free to make PRs to add your own!\n\n## `mime.contentType(type)`\n\nAn easy way to create a `content-type` header just by setting an extension or mime type,\njust like how Express and Koa works!\n\n```js\nmime.contentType('html') // =\u003e text/html; charset=utf-8\nmime.contentType('json') // =\u003e application/json\n```\n\n## Notes\n\nThis augments the `mime` module globally.\nIt also loosely depends on `mime`,\nso you might want to pin `mime` in your app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Fmime-extended","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpressjs%2Fmime-extended","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Fmime-extended/lists"}