@hong4rc/powered-by
Advanced tools
Comparing version 0.0.1 to 0.0.2
import { RequestHandler } from 'express'; | ||
export declare const POWERED_BY = "X-Powered-By"; | ||
export declare const POWERED_BY = "x-powered-by"; | ||
export declare const poweredBy: (value?: string | undefined) => RequestHandler; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.poweredBy = exports.POWERED_BY = void 0; | ||
exports.POWERED_BY = 'X-Powered-By'; | ||
exports.POWERED_BY = 'x-powered-by'; | ||
var poweredBy = function (value) { return function (_request, response, next) { | ||
@@ -6,0 +6,0 @@ if (value && typeof value === 'string') { |
{ | ||
"name": "@hong4rc/powered-by", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Express middleware custom `X-Powered-X`", | ||
@@ -10,5 +10,6 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"test": "eslint src/**/*.ts", | ||
"test": "jest", | ||
"fix": "eslint src/**/*.ts --fix", | ||
"prepack": "npm test && tsc", | ||
"prepack": "tsc", | ||
"coverage": "codecov", | ||
"build": "tsc" | ||
@@ -28,4 +29,7 @@ }, | ||
"@types/express": "^4.17.11", | ||
"@types/jest": "^26.0.23", | ||
"@types/supertest": "^2.0.11", | ||
"@typescript-eslint/eslint-plugin": "^4.23.0", | ||
"@typescript-eslint/parser": "^4.23.0", | ||
"codecov": "^3.8.2", | ||
"eslint": "^7.26.0", | ||
@@ -37,2 +41,6 @@ "eslint-config-airbnb-base": "^14.2.1", | ||
"express": "^4.17.1", | ||
"jest": "^26.6.3", | ||
"supertest": "^6.1.3", | ||
"ts-jest": "^26.5.6", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.2.4" | ||
@@ -39,0 +47,0 @@ }, |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
3571
5
1
47
17