@amkisko/json-logging 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +231 -2
- package/dist/bun-serve.d.ts +30 -0
- package/dist/bun-serve.js +60 -0
- package/dist/console-bridge.d.ts +26 -0
- package/dist/console-bridge.js +155 -0
- package/dist/console-state.d.ts +11 -0
- package/dist/console-state.js +40 -0
- package/dist/console.d.ts +18 -0
- package/dist/console.js +17 -0
- package/dist/context.d.ts +40 -0
- package/dist/context.js +162 -0
- package/dist/express.d.ts +41 -0
- package/dist/express.js +48 -0
- package/dist/fastify.d.ts +37 -0
- package/dist/fastify.js +53 -0
- package/dist/hono.d.ts +37 -0
- package/dist/hono.js +50 -0
- package/dist/http-ambient.d.ts +10 -0
- package/dist/http-ambient.js +18 -0
- package/dist/http-context.d.ts +49 -0
- package/dist/http-context.js +147 -0
- package/dist/http.d.ts +24 -0
- package/dist/http.js +34 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +26 -0
- package/dist/json-logging.d.ts +9 -0
- package/dist/json-logging.js +12 -0
- package/dist/koa.d.ts +34 -0
- package/dist/koa.js +54 -0
- package/dist/logger.d.ts +46 -0
- package/dist/logger.js +130 -0
- package/dist/next.d.ts +40 -0
- package/dist/next.js +34 -0
- package/dist/objects.d.ts +12 -0
- package/dist/objects.js +18 -0
- package/dist/redact.d.ts +9 -0
- package/dist/redact.js +77 -0
- package/dist/remix.d.ts +43 -0
- package/dist/remix.js +38 -0
- package/dist/sanitize.d.ts +20 -0
- package/dist/sanitize.js +148 -0
- package/dist/serialize.d.ts +27 -0
- package/dist/serialize.js +200 -0
- package/dist/severity.d.ts +10 -0
- package/dist/severity.js +25 -0
- package/dist/sinks.d.ts +14 -0
- package/dist/sinks.js +66 -0
- package/dist/timestamp.d.ts +15 -0
- package/dist/timestamp.js +47 -0
- package/dist/types.d.ts +42 -0
- package/dist/types.js +2 -0
- package/package.json +98 -4
package/package.json
CHANGED
|
@@ -1,6 +1,100 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amkisko/json-logging",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Structured JSON logging with ActiveSupport-style tagged and withContext helpers",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/amkisko/json-logging.ts.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/amkisko/json-logging.ts#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/amkisko/json-logging.ts/issues"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist/**/*.js",
|
|
21
|
+
"dist/**/*.d.ts"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./console": {
|
|
29
|
+
"types": "./dist/console.d.ts",
|
|
30
|
+
"import": "./dist/console.js"
|
|
31
|
+
},
|
|
32
|
+
"./http": {
|
|
33
|
+
"types": "./dist/http.d.ts",
|
|
34
|
+
"import": "./dist/http.js"
|
|
35
|
+
},
|
|
36
|
+
"./next": {
|
|
37
|
+
"types": "./dist/next.d.ts",
|
|
38
|
+
"import": "./dist/next.js"
|
|
39
|
+
},
|
|
40
|
+
"./remix": {
|
|
41
|
+
"types": "./dist/remix.d.ts",
|
|
42
|
+
"import": "./dist/remix.js"
|
|
43
|
+
},
|
|
44
|
+
"./hono": {
|
|
45
|
+
"types": "./dist/hono.d.ts",
|
|
46
|
+
"import": "./dist/hono.js"
|
|
47
|
+
},
|
|
48
|
+
"./express": {
|
|
49
|
+
"types": "./dist/express.d.ts",
|
|
50
|
+
"import": "./dist/express.js"
|
|
51
|
+
},
|
|
52
|
+
"./fastify": {
|
|
53
|
+
"types": "./dist/fastify.d.ts",
|
|
54
|
+
"import": "./dist/fastify.js"
|
|
55
|
+
},
|
|
56
|
+
"./koa": {
|
|
57
|
+
"types": "./dist/koa.d.ts",
|
|
58
|
+
"import": "./dist/koa.js"
|
|
59
|
+
},
|
|
60
|
+
"./bun": {
|
|
61
|
+
"types": "./dist/bun-serve.d.ts",
|
|
62
|
+
"import": "./dist/bun-serve.js"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "tsc -p tsconfig.json",
|
|
67
|
+
"test": "bun test",
|
|
68
|
+
"test:coverage": "bun test --coverage",
|
|
69
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
70
|
+
"type-coverage": "type-coverage --project tsconfig.json --at-least 100 --strict",
|
|
71
|
+
"lint": "make lint",
|
|
72
|
+
"lint:biome": "make lint-biome",
|
|
73
|
+
"format": "npx --yes @biomejs/biome@2.3.8 check --write .",
|
|
74
|
+
"check": "make check",
|
|
75
|
+
"ci": "make ci",
|
|
76
|
+
"publish:npm": "npm publish --access public",
|
|
77
|
+
"publish:jsr": "npx --yes jsr publish"
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@nestjs/common": "^12.3.2",
|
|
81
|
+
"@nestjs/core": "^12.3.2",
|
|
82
|
+
"@nestjs/platform-express": "^12.3.2",
|
|
83
|
+
"@nestjs/platform-fastify": "^12.3.2",
|
|
84
|
+
"@remix-run/node": "2",
|
|
85
|
+
"@types/bun": "^1.4.4",
|
|
86
|
+
"@types/express": "^5.0.6",
|
|
87
|
+
"@types/koa": "^3.0.3",
|
|
88
|
+
"express": "^5.3.0",
|
|
89
|
+
"fastify": "^5.12.7",
|
|
90
|
+
"hono": "^4.13.14",
|
|
91
|
+
"koa": "^3.2.1",
|
|
92
|
+
"next": "15",
|
|
93
|
+
"react": "^19.3.1",
|
|
94
|
+
"react-dom": "^19.3.1",
|
|
95
|
+
"reflect-metadata": "^0.2.2",
|
|
96
|
+
"rxjs": "^7.8.2",
|
|
97
|
+
"type-coverage": "^2.29.7",
|
|
98
|
+
"typescript": "^5.9.3"
|
|
99
|
+
}
|
|
100
|
+
}
|