Adds ExpressLogger module which contains utility functions to log at the...
Adds ExpressLogger module which contains utility functions to log at the correct format when using an express server. It also provides middleware for express servers that logs basic info about requests and responses.
Showing
ExpressLogger.ts
0 → 100644
This diff is collapsed.
... | ... | @@ -9,16 +9,20 @@ |
"repository": "git@gitlab.nsd.uib.no:nsd-commons/log-schema-node.git", | ||
"author": "Snorre Magnus Davøen <snorre.davoen@nsd.uib.no>", | ||
"license": "See LICENSE", | ||
"files": [ | ||
"lib/index.d.ts", | ||
"lib/index.js", | ||
"log-schema/log-schema.json" | ||
], | ||
"dependencies": { | ||
"dotenv": "6.2.0", | ||
"express": "4.16.4", | ||
"jsonschema": "1.2.4", | ||
"lodash": "4.17.11" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "4.16.1", | ||
"@types/lodash": "4.14.121", | ||
"dtslint": "Microsoft/dtslint#production", | ||
"jayschema": "^0.3.1", | ||
"json-schema-to-typescript": "^4.2.0", | ||
"tslint": "^5.2.0", | ||
"typescript": "^2.3.2" | ||
"typescript": "3.3.3333" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://nexus.nsd.no/repository/npm-hosted/" | ||
... | ... |
Please register or sign in to comment