@nexload-sdk/healthcheck-otel 2.0.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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @nexload-sdk/healthcheck-otel
2
+
3
+ OpenTelemetry-friendly transforms for `@nexload-sdk/healthcheck`. This package does not depend on the OpenTelemetry SDK.
package/dist/index.cjs ADDED
@@ -0,0 +1,121 @@
1
+ // @nexload-sdk/healthcheck-otel v1.0.0 (build 2026-06-21T16:03:28.598Z)
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ toOtelMetricRecords: () => toOtelMetricRecords,
25
+ toOtelResourceAttributes: () => toOtelResourceAttributes
26
+ });
27
+ module.exports = __toCommonJS(index_exports);
28
+ function statusValue(status) {
29
+ if (status === "ok") return 1;
30
+ if (status === "degraded") return 0.5;
31
+ return 0;
32
+ }
33
+ function toOtelResourceAttributes(report) {
34
+ var _a;
35
+ return {
36
+ "service.name": report.service.name,
37
+ "service.version": report.service.version ?? "unknown",
38
+ "deployment.environment.name": report.service.environment ?? ((_a = report.environment) == null ? void 0 : _a.name) ?? "unknown",
39
+ "service.instance.id": report.service.instanceId ?? "unknown",
40
+ "process.runtime.name": report.runtime.name,
41
+ "process.runtime.version": report.runtime.version ?? "unknown",
42
+ "host.arch": report.runtime.arch ?? "unknown",
43
+ "os.type": report.runtime.platform ?? "unknown"
44
+ };
45
+ }
46
+ function toOtelMetricRecords(report) {
47
+ const records = [
48
+ {
49
+ name: "health.status",
50
+ value: statusValue(report.status),
51
+ unit: "state",
52
+ type: "gauge",
53
+ observedAt: report.observedAt,
54
+ attributes: {
55
+ service: report.service.name,
56
+ scope: report.scope,
57
+ status: report.status
58
+ }
59
+ },
60
+ {
61
+ name: "health.run.duration_ms",
62
+ value: report.durationMs,
63
+ unit: "milliseconds",
64
+ type: "gauge",
65
+ observedAt: report.observedAt,
66
+ attributes: {
67
+ service: report.service.name,
68
+ scope: report.scope
69
+ }
70
+ }
71
+ ];
72
+ for (const check of report.checks) {
73
+ records.push({
74
+ name: "health.check.status",
75
+ value: statusValue(check.status),
76
+ unit: "state",
77
+ type: "gauge",
78
+ observedAt: check.observedAt,
79
+ attributes: {
80
+ service: report.service.name,
81
+ scope: String(check.scope),
82
+ check: check.name,
83
+ status: check.status,
84
+ critical: check.critical
85
+ }
86
+ });
87
+ records.push({
88
+ name: "health.check.duration_ms",
89
+ value: check.durationMs,
90
+ unit: "milliseconds",
91
+ type: "gauge",
92
+ observedAt: check.observedAt,
93
+ attributes: {
94
+ service: report.service.name,
95
+ scope: String(check.scope),
96
+ check: check.name
97
+ }
98
+ });
99
+ }
100
+ for (const metric of report.metrics) {
101
+ records.push({
102
+ name: metric.name,
103
+ value: metric.value,
104
+ unit: metric.unit,
105
+ type: metric.type,
106
+ observedAt: metric.observedAt ?? report.observedAt,
107
+ attributes: {
108
+ service: report.service.name,
109
+ scope: report.scope,
110
+ ...metric.labels ?? {}
111
+ }
112
+ });
113
+ }
114
+ return records;
115
+ }
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ toOtelMetricRecords,
119
+ toOtelResourceAttributes
120
+ });
121
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts"],
4
+ "sourcesContent": ["import type {\n HealthMetric,\n HealthMetricValue,\n HealthReport\n} from \"@nexload-sdk/healthcheck\";\n\nexport interface OtelMetricRecord {\n name: string\n value: HealthMetricValue\n attributes: Record<string, string | number | boolean>\n unit?: string\n type?: HealthMetric[\"type\"]\n observedAt: string\n}\n\nfunction statusValue (status: string): number {\n if (status === \"ok\") return 1;\n if (status === \"degraded\") return 0.5;\n return 0;\n}\n\nexport function toOtelResourceAttributes (report: HealthReport): Record<string, string | number | boolean> {\n return {\n \"service.name\": report.service.name,\n \"service.version\": report.service.version ?? \"unknown\",\n \"deployment.environment.name\": report.service.environment ?? report.environment?.name ?? \"unknown\",\n \"service.instance.id\": report.service.instanceId ?? \"unknown\",\n \"process.runtime.name\": report.runtime.name,\n \"process.runtime.version\": report.runtime.version ?? \"unknown\",\n \"host.arch\": report.runtime.arch ?? \"unknown\",\n \"os.type\": report.runtime.platform ?? \"unknown\",\n };\n}\n\nexport function toOtelMetricRecords (report: HealthReport): OtelMetricRecord[] {\n const records: OtelMetricRecord[] = [\n {\n name: \"health.status\",\n value: statusValue(report.status),\n unit: \"state\",\n type: \"gauge\",\n observedAt: report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n status: report.status,\n },\n },\n {\n name: \"health.run.duration_ms\",\n value: report.durationMs,\n unit: \"milliseconds\",\n type: \"gauge\",\n observedAt: report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n },\n }\n ];\n\n for (const check of report.checks) {\n records.push({\n name: \"health.check.status\",\n value: statusValue(check.status),\n unit: \"state\",\n type: \"gauge\",\n observedAt: check.observedAt,\n attributes: {\n service: report.service.name,\n scope: String(check.scope),\n check: check.name,\n status: check.status,\n critical: check.critical,\n },\n });\n records.push({\n name: \"health.check.duration_ms\",\n value: check.durationMs,\n unit: \"milliseconds\",\n type: \"gauge\",\n observedAt: check.observedAt,\n attributes: {\n service: report.service.name,\n scope: String(check.scope),\n check: check.name,\n },\n });\n }\n\n for (const metric of report.metrics) {\n records.push({\n name: metric.name,\n value: metric.value,\n unit: metric.unit,\n type: metric.type,\n observedAt: metric.observedAt ?? report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n ...(metric.labels ?? {}),\n },\n });\n }\n\n return records;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA,SAAS,YAAa,QAAwB;AAC5C,MAAI,WAAW,KAAM,QAAO;AAC5B,MAAI,WAAW,WAAY,QAAO;AAClC,SAAO;AACT;AAEO,SAAS,yBAA0B,QAAiE;AArB3G;AAsBE,SAAO;AAAA,IACL,gBAAgB,OAAO,QAAQ;AAAA,IAC/B,mBAAmB,OAAO,QAAQ,WAAW;AAAA,IAC7C,+BAA+B,OAAO,QAAQ,iBAAe,YAAO,gBAAP,mBAAoB,SAAQ;AAAA,IACzF,uBAAuB,OAAO,QAAQ,cAAc;AAAA,IACpD,wBAAwB,OAAO,QAAQ;AAAA,IACvC,2BAA2B,OAAO,QAAQ,WAAW;AAAA,IACrD,aAAa,OAAO,QAAQ,QAAQ;AAAA,IACpC,WAAW,OAAO,QAAQ,YAAY;AAAA,EACxC;AACF;AAEO,SAAS,oBAAqB,QAA0C;AAC7E,QAAM,UAA8B;AAAA,IAClC;AAAA,MACE,MAAM;AAAA,MACN,OAAO,YAAY,OAAO,MAAM;AAAA,MAChC,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,OAAO;AAAA,MACnB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,QACd,QAAQ,OAAO;AAAA,MACjB;AAAA,IACF;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO,OAAO;AAAA,MACd,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,OAAO;AAAA,MACnB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AAEA,aAAW,SAAS,OAAO,QAAQ;AACjC,YAAQ,KAAK;AAAA,MACX,MAAM;AAAA,MACN,OAAO,YAAY,MAAM,MAAM;AAAA,MAC/B,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,MAAM;AAAA,MAClB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO,MAAM,KAAK;AAAA,QACzB,OAAO,MAAM;AAAA,QACb,QAAQ,MAAM;AAAA,QACd,UAAU,MAAM;AAAA,MAClB;AAAA,IACF,CAAC;AACD,YAAQ,KAAK;AAAA,MACX,MAAM;AAAA,MACN,OAAO,MAAM;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,MAAM;AAAA,MAClB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO,MAAM,KAAK;AAAA,QACzB,OAAO,MAAM;AAAA,MACf;AAAA,IACF,CAAC;AAAA,EACH;AAEA,aAAW,UAAU,OAAO,SAAS;AACnC,YAAQ,KAAK;AAAA,MACX,MAAM,OAAO;AAAA,MACb,OAAO,OAAO;AAAA,MACd,MAAM,OAAO;AAAA,MACb,MAAM,OAAO;AAAA,MACb,YAAY,OAAO,cAAc,OAAO;AAAA,MACxC,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,QACd,GAAI,OAAO,UAAU,CAAC;AAAA,MACxB;AAAA,IACF,CAAC;AAAA,EACH;AAEA,SAAO;AACT;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ import type { HealthMetric, HealthMetricValue, HealthReport } from "@nexload-sdk/healthcheck";
2
+ export interface OtelMetricRecord {
3
+ name: string;
4
+ value: HealthMetricValue;
5
+ attributes: Record<string, string | number | boolean>;
6
+ unit?: string;
7
+ type?: HealthMetric["type"];
8
+ observedAt: string;
9
+ }
10
+ export declare function toOtelResourceAttributes(report: HealthReport): Record<string, string | number | boolean>;
11
+ export declare function toOtelMetricRecords(report: HealthReport): OtelMetricRecord[];
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACb,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,iBAAiB,CAAA;IACxB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;IACrD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC3B,UAAU,EAAE,MAAM,CAAA;CACnB;AAQD,wBAAgB,wBAAwB,CAAE,MAAM,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAWzG;AAED,wBAAgB,mBAAmB,CAAE,MAAM,EAAE,YAAY,GAAG,gBAAgB,EAAE,CAwE7E"}
package/dist/index.mjs ADDED
@@ -0,0 +1,95 @@
1
+ // @nexload-sdk/healthcheck-otel v1.0.0 (build 2026-06-21T16:03:28.448Z)
2
+
3
+ // src/index.ts
4
+ function statusValue(status) {
5
+ if (status === "ok") return 1;
6
+ if (status === "degraded") return 0.5;
7
+ return 0;
8
+ }
9
+ function toOtelResourceAttributes(report) {
10
+ return {
11
+ "service.name": report.service.name,
12
+ "service.version": report.service.version ?? "unknown",
13
+ "deployment.environment.name": report.service.environment ?? report.environment?.name ?? "unknown",
14
+ "service.instance.id": report.service.instanceId ?? "unknown",
15
+ "process.runtime.name": report.runtime.name,
16
+ "process.runtime.version": report.runtime.version ?? "unknown",
17
+ "host.arch": report.runtime.arch ?? "unknown",
18
+ "os.type": report.runtime.platform ?? "unknown"
19
+ };
20
+ }
21
+ function toOtelMetricRecords(report) {
22
+ const records = [
23
+ {
24
+ name: "health.status",
25
+ value: statusValue(report.status),
26
+ unit: "state",
27
+ type: "gauge",
28
+ observedAt: report.observedAt,
29
+ attributes: {
30
+ service: report.service.name,
31
+ scope: report.scope,
32
+ status: report.status
33
+ }
34
+ },
35
+ {
36
+ name: "health.run.duration_ms",
37
+ value: report.durationMs,
38
+ unit: "milliseconds",
39
+ type: "gauge",
40
+ observedAt: report.observedAt,
41
+ attributes: {
42
+ service: report.service.name,
43
+ scope: report.scope
44
+ }
45
+ }
46
+ ];
47
+ for (const check of report.checks) {
48
+ records.push({
49
+ name: "health.check.status",
50
+ value: statusValue(check.status),
51
+ unit: "state",
52
+ type: "gauge",
53
+ observedAt: check.observedAt,
54
+ attributes: {
55
+ service: report.service.name,
56
+ scope: String(check.scope),
57
+ check: check.name,
58
+ status: check.status,
59
+ critical: check.critical
60
+ }
61
+ });
62
+ records.push({
63
+ name: "health.check.duration_ms",
64
+ value: check.durationMs,
65
+ unit: "milliseconds",
66
+ type: "gauge",
67
+ observedAt: check.observedAt,
68
+ attributes: {
69
+ service: report.service.name,
70
+ scope: String(check.scope),
71
+ check: check.name
72
+ }
73
+ });
74
+ }
75
+ for (const metric of report.metrics) {
76
+ records.push({
77
+ name: metric.name,
78
+ value: metric.value,
79
+ unit: metric.unit,
80
+ type: metric.type,
81
+ observedAt: metric.observedAt ?? report.observedAt,
82
+ attributes: {
83
+ service: report.service.name,
84
+ scope: report.scope,
85
+ ...metric.labels ?? {}
86
+ }
87
+ });
88
+ }
89
+ return records;
90
+ }
91
+ export {
92
+ toOtelMetricRecords,
93
+ toOtelResourceAttributes
94
+ };
95
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts"],
4
+ "sourcesContent": ["import type {\n HealthMetric,\n HealthMetricValue,\n HealthReport\n} from \"@nexload-sdk/healthcheck\";\n\nexport interface OtelMetricRecord {\n name: string\n value: HealthMetricValue\n attributes: Record<string, string | number | boolean>\n unit?: string\n type?: HealthMetric[\"type\"]\n observedAt: string\n}\n\nfunction statusValue (status: string): number {\n if (status === \"ok\") return 1;\n if (status === \"degraded\") return 0.5;\n return 0;\n}\n\nexport function toOtelResourceAttributes (report: HealthReport): Record<string, string | number | boolean> {\n return {\n \"service.name\": report.service.name,\n \"service.version\": report.service.version ?? \"unknown\",\n \"deployment.environment.name\": report.service.environment ?? report.environment?.name ?? \"unknown\",\n \"service.instance.id\": report.service.instanceId ?? \"unknown\",\n \"process.runtime.name\": report.runtime.name,\n \"process.runtime.version\": report.runtime.version ?? \"unknown\",\n \"host.arch\": report.runtime.arch ?? \"unknown\",\n \"os.type\": report.runtime.platform ?? \"unknown\",\n };\n}\n\nexport function toOtelMetricRecords (report: HealthReport): OtelMetricRecord[] {\n const records: OtelMetricRecord[] = [\n {\n name: \"health.status\",\n value: statusValue(report.status),\n unit: \"state\",\n type: \"gauge\",\n observedAt: report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n status: report.status,\n },\n },\n {\n name: \"health.run.duration_ms\",\n value: report.durationMs,\n unit: \"milliseconds\",\n type: \"gauge\",\n observedAt: report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n },\n }\n ];\n\n for (const check of report.checks) {\n records.push({\n name: \"health.check.status\",\n value: statusValue(check.status),\n unit: \"state\",\n type: \"gauge\",\n observedAt: check.observedAt,\n attributes: {\n service: report.service.name,\n scope: String(check.scope),\n check: check.name,\n status: check.status,\n critical: check.critical,\n },\n });\n records.push({\n name: \"health.check.duration_ms\",\n value: check.durationMs,\n unit: \"milliseconds\",\n type: \"gauge\",\n observedAt: check.observedAt,\n attributes: {\n service: report.service.name,\n scope: String(check.scope),\n check: check.name,\n },\n });\n }\n\n for (const metric of report.metrics) {\n records.push({\n name: metric.name,\n value: metric.value,\n unit: metric.unit,\n type: metric.type,\n observedAt: metric.observedAt ?? report.observedAt,\n attributes: {\n service: report.service.name,\n scope: report.scope,\n ...(metric.labels ?? {}),\n },\n });\n }\n\n return records;\n}\n"],
5
+ "mappings": ";;;AAeA,SAAS,YAAa,QAAwB;AAC5C,MAAI,WAAW,KAAM,QAAO;AAC5B,MAAI,WAAW,WAAY,QAAO;AAClC,SAAO;AACT;AAEO,SAAS,yBAA0B,QAAiE;AACzG,SAAO;AAAA,IACL,gBAAgB,OAAO,QAAQ;AAAA,IAC/B,mBAAmB,OAAO,QAAQ,WAAW;AAAA,IAC7C,+BAA+B,OAAO,QAAQ,eAAe,OAAO,aAAa,QAAQ;AAAA,IACzF,uBAAuB,OAAO,QAAQ,cAAc;AAAA,IACpD,wBAAwB,OAAO,QAAQ;AAAA,IACvC,2BAA2B,OAAO,QAAQ,WAAW;AAAA,IACrD,aAAa,OAAO,QAAQ,QAAQ;AAAA,IACpC,WAAW,OAAO,QAAQ,YAAY;AAAA,EACxC;AACF;AAEO,SAAS,oBAAqB,QAA0C;AAC7E,QAAM,UAA8B;AAAA,IAClC;AAAA,MACE,MAAM;AAAA,MACN,OAAO,YAAY,OAAO,MAAM;AAAA,MAChC,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,OAAO;AAAA,MACnB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,QACd,QAAQ,OAAO;AAAA,MACjB;AAAA,IACF;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO,OAAO;AAAA,MACd,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,OAAO;AAAA,MACnB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AAEA,aAAW,SAAS,OAAO,QAAQ;AACjC,YAAQ,KAAK;AAAA,MACX,MAAM;AAAA,MACN,OAAO,YAAY,MAAM,MAAM;AAAA,MAC/B,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,MAAM;AAAA,MAClB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO,MAAM,KAAK;AAAA,QACzB,OAAO,MAAM;AAAA,QACb,QAAQ,MAAM;AAAA,QACd,UAAU,MAAM;AAAA,MAClB;AAAA,IACF,CAAC;AACD,YAAQ,KAAK;AAAA,MACX,MAAM;AAAA,MACN,OAAO,MAAM;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY,MAAM;AAAA,MAClB,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO,MAAM,KAAK;AAAA,QACzB,OAAO,MAAM;AAAA,MACf;AAAA,IACF,CAAC;AAAA,EACH;AAEA,aAAW,UAAU,OAAO,SAAS;AACnC,YAAQ,KAAK;AAAA,MACX,MAAM,OAAO;AAAA,MACb,OAAO,OAAO;AAAA,MACd,MAAM,OAAO;AAAA,MACb,MAAM,OAAO;AAAA,MACb,YAAY,OAAO,cAAc,OAAO;AAAA,MACxC,YAAY;AAAA,QACV,SAAS,OAAO,QAAQ;AAAA,QACxB,OAAO,OAAO;AAAA,QACd,GAAI,OAAO,UAAU,CAAC;AAAA,MACxB;AAAA,IACF,CAAC;AAAA,EACH;AAEA,SAAO;AACT;",
6
+ "names": []
7
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@nexload-sdk/healthcheck-otel",
3
+ "version": "2.0.0",
4
+ "description": "OpenTelemetry-friendly transforms for @nexload-sdk/healthcheck reports.",
5
+ "keywords": [
6
+ "healthcheck",
7
+ "opentelemetry",
8
+ "otel",
9
+ "monitoring"
10
+ ],
11
+ "author": "GecutWeb",
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "main": "./dist/index.cjs",
15
+ "module": "./dist/index.mjs",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.mjs",
21
+ "require": "./dist/index.cjs",
22
+ "default": "./dist/index.mjs"
23
+ },
24
+ "./package.json": "./package.json"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md",
29
+ "package.json"
30
+ ],
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "dependencies": {
35
+ "@nexload-sdk/healthcheck": "4.0.0"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^25.0.3",
39
+ "eslint": "^9.39.2",
40
+ "typescript": "5.9.3",
41
+ "@nexload-sdk/bundler": "4.0.1",
42
+ "@nexload-sdk/eslint-config": "4.0.1",
43
+ "@nexload-sdk/typescript-config": "4.0.1"
44
+ },
45
+ "scripts": {
46
+ "build": "node esbuild.config.mjs",
47
+ "lint": "eslint src"
48
+ }
49
+ }