{"id":27973064,"url":"https://github.com/fedify-dev/express","last_synced_at":"2025-05-07T23:43:01.682Z","repository":{"id":251742526,"uuid":"838311160","full_name":"fedify-dev/express","owner":"fedify-dev","description":"Integrate Fedify with Express","archived":false,"fork":false,"pushed_at":"2025-01-27T14:52:59.000Z","size":69,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T17:15:42.475Z","etag":null,"topics":["express","expressjs","expressjs-middleware","fedify"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@fedify/express","language":"TypeScript","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/fedify-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-05T11:37:21.000Z","updated_at":"2025-01-27T14:53:02.000Z","dependencies_parsed_at":"2024-10-23T23:07:46.288Z","dependency_job_id":"258f7a42-ed66-445d-a2d2-6f357f7477e6","html_url":"https://github.com/fedify-dev/express","commit_stats":null,"previous_names":["dahlia/fedify-express","fedify-dev/express"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedify-dev%2Fexpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedify-dev%2Fexpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedify-dev%2Fexpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedify-dev%2Fexpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedify-dev","download_url":"https://codeload.github.com/fedify-dev/express/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252338860,"owners_count":21732035,"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":["express","expressjs","expressjs-middleware","fedify"],"created_at":"2025-05-07T23:43:01.100Z","updated_at":"2025-05-07T23:43:01.671Z","avatar_url":"https://github.com/fedify-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"@fedify/express: Integrate Fedify with Express\n==============================================\n\n[![npm][npm badge]][npm]\n[![Matrix][Matrix badge]][Matrix]\n[![Follow @fedify@hollo.social][@fedify@hollo.social badge]][@fedify@hollo.social]\n\nThis package provides a simple way to integrate [Fedify] with [Express].\n\nThe integration code looks like this:\n\n~~~~ typescript\nimport express from \"express\";\nimport { integrateFederation } from \"@fedify/express\";\nimport { federation } from \"./federation\";  // Your `Federation` instance\n\nexport const app = express();\n\napp.set(\"trust proxy\", true);\n\napp.use(integrateFederation(federation, (req) =\u003e \"context data goes here\"));\n~~~~\n\n[npm]: https://www.npmjs.com/package/@fedify/express\n[npm badge]: https://img.shields.io/npm/v/@fedify/express?logo=npm\n[Matrix]: https://matrix.to/#/#fedify:matrix.org\n[Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org\n[@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg\n[@fedify@hollo.social]: https://hollo.social/@fedify\n[Fedify]: https://fedify.dev/\n[Express]: https://expressjs.com/\n\n\nChangelog\n---------\n\n### Version 0.2.1\n\nTo be released.\n\n### Version 0.2.0\n\nReleased on September 30, 2024.\n\n -  Relaxed the requirement for the peer dependency `@fedify/fedify` to allow\n    any version under 2.0.0.\n\n### Version 0.1.4\n\nReleased on August 31, 2024.\n\n -  Fixed a bug where it throws `TypeError` with message \u003cq\u003eRequestInit: duplex\n    option is required when sending a body.\u003c/q\u003e\n\n### Version 0.1.3\n\nReleased on August 5, 2024.\n\n -  Fixed the middleware to not fill `Request.body` when the request method is\n    `GET` or `HEAD`.\n -  Fixed the middleware to content-negotiate the response based on\n    the `Accept` header.\n\n### Version 0.1.2\n\nReleased on August 5, 2024.\n\n -  Fixed incorrectly configured export targets in *package.json*.\n\n### Version 0.1.1\n\nReleased on August 5, 2024.\n\n -  Added missing entry points to the *package.json*.\n\n### Version 0.1.0\n\nInitial release.  Released on August 5, 2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedify-dev%2Fexpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedify-dev%2Fexpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedify-dev%2Fexpress/lists"}