UNPKG

fastify-file-router

Version:

A fastify plugin that automatically registers routes from files in a directory.

59 lines (58 loc) 1.36 kB
{ "name": "fastify-file-router", "version": "3.1.0", "description": "A fastify plugin that automatically registers routes from files in a directory.", "keywords": [ "automatic", "directory", "fastify", "file-router", "nodejs", "plugin", "router", "typescript" ], "homepage": "https://github.com/bhouston/fastify-file-router#readme", "bugs": { "url": "https://github.com/bhouston/fastify-file-router/issues" }, "license": "MIT", "author": "Ben Houston <neuralsoft@gmail.com> (https://ben3d.ca)", "repository": { "type": "git", "url": "git+https://github.com/bhouston/fastify-file-router" }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "tsgo", "dev": "tsgo --watch", "tsgo": "tsgo" }, "dependencies": { "fastify": "^5.0.0", "fastify-plugin": "^5.0.1", "json-schema-to-ts": "^3.1.1", "p-limit": "^7.3.0" }, "devDependencies": { "@fastify/response-validation": "^3.0.0", "@types/node": "^24", "node-mocks-http": "^1.16.1", "vitest": "^2.1.8", "zod": "^4" }, "peerDependencies": { "ajv": "^8", "fastify": "^5", "zod": "^4" }, "engines": { "node": ">=24.0.0" } }