UNPKG

@ajayos/server

Version:

A lightweight Express-based HTTP/HTTPS server wrapper with built-in middleware, lifecycle hooks, logging, and utility helpers.

85 lines (84 loc) 1.98 kB
{ "name": "@ajayos/server", "version": "3.0.0", "description": "A lightweight Express-based HTTP/HTTPS server wrapper with built-in middleware, lifecycle hooks, logging, and utility helpers.", "license": "Apache-2.0", "author": "Ajay O S", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "dev": "tsx src/index.ts", "build": "tsup", "clean": "rm -rf dist", "prepare": "npm run build", "docs": "typedoc", "test": "jest", "test:watch": "jest --watch", "test:ci": "jest --runInBand" }, "engines": { "node": ">=18" }, "keywords": [ "ajayos", "server", "express", "http-server", "https-server", "backend", "api", "middleware", "cors", "helmet", "body-parser", "cookie-parser", "logging", "nodejs", "typescript", "framework", "web-server" ], "homepage": "https://github.com/Ajayos/server#readme", "bugs": { "url": "https://github.com/Ajayos/server/issues" }, "repository": { "type": "git", "url": "git+https://github.com/Ajayos/server.git" }, "dependencies": { "axios": "^1.4.0", "body-parser": "^1.20.2", "compression": "^1.8.1", "connect-timeout": "^1.9.1", "cookie-parser": "^1.4.7", "cors": "^2.8.5", "dotenv": "^16.3.1", "express": "^4.18.2", "express-rate-limit": "^8.2.1", "helmet": "^8.0.0", "morgan": "^1.10.1", "picocolors": "^1.1.1" }, "devDependencies": { "@types/compression": "^1.8.1", "@types/connect-timeout": "^1.9.0", "@types/cookie-parser": "^1.4.7", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/jest": "^30.0.0", "@types/morgan": "^1.9.10", "@types/node": "^20.19.30", "jest": "^29.7.0", "ts-jest": "^29.4.6", "ts-node": "^10.9.2", "tsup": "^8.0.0", "tsx": "^4.7.0", "typedoc": "^0.26.9", "typescript": "^5.5.4" } }