{"id":28066787,"url":"https://github.com/voxpelli/fastify-enforce-host","last_synced_at":"2025-05-12T15:54:48.383Z","repository":{"id":273506893,"uuid":"654176080","full_name":"voxpelli/fastify-enforce-host","owner":"voxpelli","description":"Enforce a specific host name for your Fastify app","archived":false,"fork":false,"pushed_at":"2025-01-21T12:14:49.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-24T01:07:27.307Z","etag":null,"topics":["fastify","fastify-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/voxpelli.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},"funding":{"github":["voxpelli"]}},"created_at":"2023-06-15T14:42:13.000Z","updated_at":"2025-01-21T12:14:53.000Z","dependencies_parsed_at":"2025-01-21T10:44:21.464Z","dependency_job_id":null,"html_url":"https://github.com/voxpelli/fastify-enforce-host","commit_stats":null,"previous_names":["voxpelli/fastify-enforce-host","yikesable/fastify-enforce-host"],"tags_count":3,"template":false,"template_full_name":"voxpelli/node-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Ffastify-enforce-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Ffastify-enforce-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Ffastify-enforce-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Ffastify-enforce-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpelli","download_url":"https://codeload.github.com/voxpelli/fastify-enforce-host/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253770421,"owners_count":21961768,"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":["fastify","fastify-plugin"],"created_at":"2025-05-12T15:54:47.618Z","updated_at":"2025-05-12T15:54:48.349Z","avatar_url":"https://github.com/voxpelli.png","language":"JavaScript","funding_links":["https://github.com/sponsors/voxpelli"],"categories":[],"sub_categories":[],"readme":"# Fastify Enforce Host\n\nEnforce a specific host name for your Fastify app\n\n[![npm version](https://img.shields.io/npm/v/@voxpelli//fastify-enforce-host.svg?style=flat)](https://www.npmjs.com/package/@voxpelli//fastify-enforce-host)\n[![npm downloads](https://img.shields.io/npm/dm/@voxpelli//fastify-enforce-host.svg?style=flat)](https://www.npmjs.com/package/@voxpelli//fastify-enforce-host)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-7fffff?style=flat\u0026labelColor=ff80ff)](https://github.com/neostandard/neostandard)\n[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)\n[![Types in JS](https://img.shields.io/badge/types_in_js-yes-brightgreen)](https://github.com/voxpelli/types-in-js)\n[![Follow @voxpelli@mastodon.social](https://img.shields.io/mastodon/follow/109247025527949675?domain=https%3A%2F%2Fmastodon.social\u0026style=social)](https://mastodon.social/@voxpelli)\n\n## Usage\n\n```javascript\nimport { fastify } from 'fastify';\n\nconst app = fastify();\n\napp.register(import('@voxpelli/fastify-enforce-host'), {\n  baseUrl: 'http://localhost:3000/',\n});\n\n```\n\n\u003c!--\n## Similar modules\n\n*\n\n## See also\n\n* [Announcement blog post](#)\n* [Announcement tweet](#)\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Ffastify-enforce-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpelli%2Ffastify-enforce-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Ffastify-enforce-host/lists"}