UNPKG

fastify-file-router

Version:

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

53 lines (52 loc) 1.19 kB
{ "name": "fastify-file-router", "description": "A fastify plugin that automatically registers routes from files in a directory.", "version": "0.0.5", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "author": "Ben Houston <neuralsoft@gmail.com> (https://benhouston3d.com)", "keywords": [ "router", "file-router", "directory", "automatic", "fastify", "plugin", "nodejs", "typescript" ], "homepage": "https://github.com/bhouston/fastify-file-router#readme", "repository": { "type": "git", "url": "git+https://github.com/bhouston/fastify-file-router" }, "bugs": { "url": "https://github.com/bhouston/fastify-file-router/issues" }, "files": [ "dist", "package.json", "README.md", "LICENSE" ], "dependencies": { "fastify": "^5.0.0", "fastify-plugin": "^5.0.1" }, "peerDependencies": { "fastify": "^5.0.0" }, "devDependencies": { "@types/node": "^20", "node-mocks-http": "^1.16.1" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "engines": { "node": ">=20.0.0" } }