UNPKG

@quiltjs/quilt

Version:

Lightweight, type-safe handler and router abstraction for Node HTTP servers.

76 lines (75 loc) 1.72 kB
{ "name": "@quiltjs/quilt", "version": "0.2.3", "description": "Lightweight, type-safe handler and router abstraction for Node HTTP servers.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md" ], "sideEffects": false, "engines": { "node": ">=18" }, "scripts": { "build": "npm run clean && npm run compile", "clean": "rimraf ./dist", "compile": "tsc -p tsconfig.json", "prepublishOnly": "npm run build", "watch": "tsc -w -p tsconfig.json", "test": "npm run build && node --test test", "test:types": "tsc -p test-types/tsconfig.json", "bench": "node benchmarks/handler-overhead.mjs" }, "keywords": [ "quilt", "fastify", "express", "http", "router", "middleware", "typescript" ], "author": "Quilt contributors", "repository": { "type": "git", "url": "https://github.com/quiltjs/quilt.git" }, "homepage": "https://github.com/quiltjs/quilt#readme", "bugs": { "url": "https://github.com/quiltjs/quilt/issues" }, "license": "ISC", "devDependencies": { "@types/express": "^4.17.21", "@types/node": "^22.10.2", "fastify": "^4.25.2", "express": "^4.18.2", "rimraf": "^5.0.1", "typescript": "5.3.3" }, "peerDependencies": { "@fastify/multipart": "^8.1.0", "fastify": "^4.25.2", "express": "^4.18.2 || ^5.0.0" }, "peerDependenciesMeta": { "@fastify/multipart": { "optional": true }, "fastify": { "optional": true }, "express": { "optional": true } } }