UNPKG

universal-autorouter

Version:

An universal plugin that scans the file system and automatically loads to a server all routes in a target directory.

69 lines (68 loc) 1.42 kB
{ "name": "universal-autorouter", "version": "0.2.7", "license": "MIT", "type": "module", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "exports": { "import": "./dist/index.mjs", "types": "./dist/index.d.mts" }, "repository": { "type": "git", "url": "git+https://github.com/node-ecosystem/universal-autorouter.git" }, "files": [ "dist" ], "scripts": { "dev": "tsx ./start.ts", "lint": "eslint src/**/*.ts", "test": "tsx ./test/index.test.ts", "build": "pkgroll", "prepublishOnly": "yarn build", "od": "yarn outdated" }, "peerDependencies": { "vite": "*" }, "peerDependenciesMeta": { "vite": { "optional": true } }, "devDependencies": { "@hono/node-server": "^1.13.7", "@types/bun": "^1.2.1", "@types/node": "^22.12.0", "@yarnpkg/sdks": "^3.2.0", "eslint": "^9.19.0", "eslint-plugin-unicorn": "^56.0.1", "hono": "^4.6.19", "pkgroll": "^2.6.1", "tsx": "^4.19.2", "typescript": "^5.7.3", "typescript-eslint": "^8.22.0", "vite": "^6.0.11" }, "engines": { "node": ">=22" }, "keywords": [ "autoload", "cross-platform", "directory", "fast", "filesystem", "http", "http-server", "lightweight", "microws", "middleware", "plugin", "router", "proxy-protocol" ], "packageManager": "yarn@4.6.0" }