{"id":14957516,"url":"https://github.com/expressjs/set-type","last_synced_at":"2025-10-19T07:31:32.532Z","repository":{"id":16448013,"uuid":"19199814","full_name":"expressjs/set-type","owner":"expressjs","description":"DEPRECATED - Please use mime-types instead.","archived":false,"fork":false,"pushed_at":"2014-05-13T17:48:23.000Z","size":128,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-29T14:24:22.304Z","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-27T08:47:56.000Z","updated_at":"2024-07-10T03:58:07.000Z","dependencies_parsed_at":"2022-09-17T05:40:28.041Z","dependency_job_id":null,"html_url":"https://github.com/expressjs/set-type","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%2Fset-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fset-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fset-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expressjs%2Fset-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/expressjs","download_url":"https://codeload.github.com/expressjs/set-type/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088483,"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:15:01.680Z","updated_at":"2025-10-19T07:31:32.527Z","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# Set Type\n\nReturn a well-formatted content type header given an extension.\n\n```js\nvar set = require('set-type')\n\napp.use(function (req, res) {\n  res.setHeader('Content-Type', set('html'))\n  // =\u003e text/html; charset=utf-8\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Fset-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpressjs%2Fset-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpressjs%2Fset-type/lists"}