From 4de4e57f2d2c2893094c2a46069e04767b179d8e Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Oct 2023 14:51:23 +0100 Subject: [PATCH] chore(package): explicitly declare js module type (#19) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6f29831..2e37c58 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.1.0", "description": "Parse HTTP Content-Type header according to RFC 7231", "main": "index.js", + "type": "commonjs", "types": "./types/index.d.ts", "scripts": { "benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",