Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reqlogs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reqlogs - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/index.d.ts

37

package.json
{
"name": "reqlogs",
"version": "1.0.0",
"version": "1.0.1",
"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": "build/index.js",
"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",
"build": "tsc",
"dev": "nodemon --exec ts-node src/index.ts"
"start": "ts-node index.ts",
"dev": "nodemon --exec ts-node index.ts"
},
"keywords": ["express", "logger", "request-logger", "debugging"],
"types": "dist/index.d.ts",
"keywords": [
"express",
"logger",
"request-logger",
"debugging"
],
"author": "Akshat Garg",

@@ -25,7 +37,14 @@ "license": "ISC",

"@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",
"@types/express": "^4.17.11",
"@types/node": "^14.14.39"
"typescript": "^4.2.4"
}
}

@@ -18,4 +18,5 @@ // import express , {Request, Response} from 'express'

// })
// Copy all the view templates
import {RequestLogger} from './request'
export default RequestLogger

@@ -33,4 +33,2 @@ import express, {Request, Response, NextFunction, Router} from 'express'

this.ignore_urls = ignore_urls || []

@@ -37,0 +35,0 @@ // @ts-ignore

@@ -13,7 +13,7 @@ {

// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./build", /* Redirect output structure to the directory. */
"outDir": "./dist", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */

@@ -46,4 +46,10 @@ // "composite": true, /* Enable project compilation */

"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
"paths": {
"*": [
"node_modules/*",
"src/views/*",
"src/types/*"
]
}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */

@@ -50,0 +56,0 @@ // "typeRoots": [], /* List of folders to include type definitions from. */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc