UNPKG

reqlogs

Version:

A simple logger, which logs the request to server in form of tables, it helps to debug the connection with client and can also be used for metrics.

47 lines (46 loc) 1.32 kB
{ "name": "reqlogs", "version": "1.0.7", "description": "A simple logger, which logs the request to server in form of tables, it helps to debug the connection with client and can also be used for metrics.", "main": "dist/index.js", "scripts": { "clean": "rimraf dist/*", "copy-assets": "ts-node src/tools/copyAssets", "lint": "tslint -c tslint.json -p tsconfig.json --fix", "tsc": "tsc", "build": "npm-run-all clean lint tsc copy-assets", "dev:start": "npm-run-all build start", "prepublish": "tsc", "test": "echo \"Error: no test specified\" && exit 1", "start": "ts-node src/index.ts", "dev": "nodemon --exec ts-node src/index.ts" }, "types": "dist/index.d.ts", "keywords": [ "express", "logger", "request-logger", "debugging" ], "author": "Akshat Garg", "license": "ISC", "dependencies": { "ejs": "^3.1.6", "express": "^4.17.1" }, "devDependencies": { "cors": "^2.8.5", "@types/cors": "^2.8.10", "@types/express": "^4.17.11", "@types/fs-extra": "^9.0.11", "@types/node": "^14.14.39", "@types/shelljs": "^0.8.8", "fs-extra": "^9.1.0", "nodemon": "^2.0.7", "npm-run-all": "^4.1.5", "rimraf": "^3.0.2", "shelljs": "^0.8.4", "ts-node": "^9.1.1", "typescript": "^4.2.4" } }