UNPKG

uws-autoload

Version:

Plugin for [µWebSockets.js](https://github.com/uNetworking/uWebSockets.js) that autoloads all routes in a directory.

67 lines (66 loc) 1.39 kB
{ "name": "uws-autoload", "version": "0.5.0", "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/uws-ecosystem/uws-autoload.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": { "uWebSockets.js": "*" }, "devDependencies": { "@types/bun": "^1.1.14", "@types/node": "^22.10.1", "@yarnpkg/sdks": "^3.2.0", "eslint": "^9.16.0", "eslint-plugin-unicorn": "^56.0.1", "pkgroll": "^2.5.1", "tsx": "^4.19.2", "typescript": "^5.7.2", "typescript-eslint": "^8.17.0", "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.51.0" }, "engines": { "node": ">=22" }, "keywords": [ "autoload", "cross-platform", "directory", "fast", "filesystem", "http", "http-server", "lightweight", "microws", "middleware", "plugin", "router", "proxy-protocol", "uws", "uwebsockets", "uwebsocketsjs", "websockets", "µws", "µwebsockets" ] }