UNPKG

@mcansh/remix-fastify

Version:

Fastify server request handler for Remix and React Router

105 lines 2.42 kB
{ "name": "@mcansh/remix-fastify", "version": "4.1.2", "description": "Fastify server request handler for Remix and React Router", "repository": "mcansh/remix-fastify", "license": "MIT", "author": "Logan McAnsh <logan@mcan.sh> (https://mcan.sh)", "bugs": { "url": "https://github.com/mcansh/remix-fastify/issues" }, "keywords": [ "remix", "remix-run", "react-router", "fastify" ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/mcansh" } ], "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./middleware": { "import": "./dist/middleware.js", "require": "./dist/middleware.cjs" }, "./react-router": { "import": "./dist/react-router.js", "require": "./dist/react-router.cjs" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "source": "./src/remix.ts", "types": "./dist/index.d.cts", "files": [ "dist", "package.json", "README.md", "LICENSE", "react-router.cjs", "react-router.d.cts", "react-router.d.ts", "react-router.js", "middleware.cjs", "middleware.d.cts", "middleware.d.ts", "middleware.js" ], "dependencies": { "@fastify/middie": "^9.0.3", "@fastify/static": "^8.2.0", "fastify-plugin": "^5.0.1", "pretty-cache-header": "^1.0.0" }, "devDependencies": { "@react-router/node": "7.6.1", "@remix-run/node": "^2.16.8", "@types/node": "^22.15.29", "@typescript/lib-dom": "npm:@types/web@^0.0.237", "fastify": "^5.3.3", "node-mocks-http": "^1.17.2", "react-router": "^7.6.1", "typescript": "^5.8.3", "vite": "^6.3.5" }, "peerDependencies": { "@remix-run/node": "^2.0.0", "fastify": "^3.29.0 || ^4.0.0 || ^5.0.0", "react-router": ">=7.0.0", "vite": ">=5.0.0 || >=6.0.0" }, "peerDependenciesMeta": { "@remix-run/node": { "optional": true }, "react-router": { "optional": true }, "vite": { "optional": true } }, "publishConfig": { "access": "public", "provenance": true }, "engines": { "node": ">=20.0.0" }, "scripts": { "typecheck": "tsc", "dev": "tsdown --watch", "build": "tsdown", "test": "vitest", "validate": "run-p typecheck test" } }