@jadenrazo/cloudcost-mcp 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 +21 -0
- package/README.md +384 -0
- package/data/gcp-pricing/cloud-sql.json +72 -0
- package/data/gcp-pricing/cloud-storage.json +13 -0
- package/data/gcp-pricing/compute-engine.json +343 -0
- package/data/gcp-pricing/metadata.json +6 -0
- package/data/gcp-pricing/persistent-disk.json +13 -0
- package/data/instance-map.json +230 -0
- package/data/instance-types/aws-instances.json +77 -0
- package/data/instance-types/azure-vm-sizes.json +36 -0
- package/data/instance-types/gcp-machine-types.json +34 -0
- package/data/region-mappings.json +21 -0
- package/data/resource-equivalents.json +16 -0
- package/data/storage-map.json +16 -0
- package/dist/chunk-KZJSZMWM.js +153 -0
- package/dist/chunk-KZJSZMWM.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4488 -0
- package/dist/index.js.map +1 -0
- package/dist/loader-WIX54B7L.js +30 -0
- package/dist/loader-WIX54B7L.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "provider": "aws", "instance_type": "t3.micro", "vcpus": 2, "memory_gb": 1, "category": "general_purpose" },
|
|
3
|
+
{ "provider": "aws", "instance_type": "t3.small", "vcpus": 2, "memory_gb": 2, "category": "general_purpose" },
|
|
4
|
+
{ "provider": "aws", "instance_type": "t3.medium", "vcpus": 2, "memory_gb": 4, "category": "general_purpose" },
|
|
5
|
+
{ "provider": "aws", "instance_type": "t3.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
6
|
+
{ "provider": "aws", "instance_type": "t3.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
7
|
+
{ "provider": "aws", "instance_type": "t3.2xlarge", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
8
|
+
{ "provider": "aws", "instance_type": "m5.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
9
|
+
{ "provider": "aws", "instance_type": "m5.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
10
|
+
{ "provider": "aws", "instance_type": "m5.2xlarge", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
11
|
+
{ "provider": "aws", "instance_type": "m5.4xlarge", "vcpus": 16, "memory_gb": 64, "category": "general_purpose" },
|
|
12
|
+
{ "provider": "aws", "instance_type": "m6i.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
13
|
+
{ "provider": "aws", "instance_type": "m6i.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
14
|
+
{ "provider": "aws", "instance_type": "c5.large", "vcpus": 2, "memory_gb": 4, "category": "compute_optimized" },
|
|
15
|
+
{ "provider": "aws", "instance_type": "c5.xlarge", "vcpus": 4, "memory_gb": 8, "category": "compute_optimized" },
|
|
16
|
+
{ "provider": "aws", "instance_type": "c5.2xlarge", "vcpus": 8, "memory_gb": 16, "category": "compute_optimized" },
|
|
17
|
+
{ "provider": "aws", "instance_type": "r5.large", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
18
|
+
{ "provider": "aws", "instance_type": "r5.xlarge", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
19
|
+
{ "provider": "aws", "instance_type": "r5.2xlarge", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
20
|
+
{ "provider": "aws", "instance_type": "db.t3.micro", "vcpus": 2, "memory_gb": 1, "category": "database" },
|
|
21
|
+
{ "provider": "aws", "instance_type": "db.t3.small", "vcpus": 2, "memory_gb": 2, "category": "database" },
|
|
22
|
+
{ "provider": "aws", "instance_type": "db.t3.medium", "vcpus": 2, "memory_gb": 4, "category": "database" },
|
|
23
|
+
{ "provider": "aws", "instance_type": "db.r5.large", "vcpus": 2, "memory_gb": 16, "category": "database" },
|
|
24
|
+
{ "provider": "aws", "instance_type": "db.r5.xlarge", "vcpus": 4, "memory_gb": 32, "category": "database" },
|
|
25
|
+
{ "provider": "aws", "instance_type": "t3a.micro", "vcpus": 2, "memory_gb": 1, "category": "general_purpose" },
|
|
26
|
+
{ "provider": "aws", "instance_type": "t3a.small", "vcpus": 2, "memory_gb": 2, "category": "general_purpose" },
|
|
27
|
+
{ "provider": "aws", "instance_type": "t3a.medium", "vcpus": 2, "memory_gb": 4, "category": "general_purpose" },
|
|
28
|
+
{ "provider": "aws", "instance_type": "t3a.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
29
|
+
{ "provider": "aws", "instance_type": "t2.micro", "vcpus": 1, "memory_gb": 1, "category": "general_purpose" },
|
|
30
|
+
{ "provider": "aws", "instance_type": "t2.small", "vcpus": 1, "memory_gb": 2, "category": "general_purpose" },
|
|
31
|
+
{ "provider": "aws", "instance_type": "t2.medium", "vcpus": 2, "memory_gb": 4, "category": "general_purpose" },
|
|
32
|
+
{ "provider": "aws", "instance_type": "t2.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
33
|
+
{ "provider": "aws", "instance_type": "m6i.2xlarge", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
34
|
+
{ "provider": "aws", "instance_type": "m6i.4xlarge", "vcpus": 16, "memory_gb": 64, "category": "general_purpose" },
|
|
35
|
+
{ "provider": "aws", "instance_type": "m6i.8xlarge", "vcpus": 32, "memory_gb": 128, "category": "general_purpose" },
|
|
36
|
+
{ "provider": "aws", "instance_type": "m7i.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
37
|
+
{ "provider": "aws", "instance_type": "m7i.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
38
|
+
{ "provider": "aws", "instance_type": "m7i.2xlarge", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
39
|
+
{ "provider": "aws", "instance_type": "c6i.large", "vcpus": 2, "memory_gb": 4, "category": "compute_optimized" },
|
|
40
|
+
{ "provider": "aws", "instance_type": "c6i.xlarge", "vcpus": 4, "memory_gb": 8, "category": "compute_optimized" },
|
|
41
|
+
{ "provider": "aws", "instance_type": "c6i.2xlarge", "vcpus": 8, "memory_gb": 16, "category": "compute_optimized" },
|
|
42
|
+
{ "provider": "aws", "instance_type": "c7i.large", "vcpus": 2, "memory_gb": 4, "category": "compute_optimized" },
|
|
43
|
+
{ "provider": "aws", "instance_type": "c7i.xlarge", "vcpus": 4, "memory_gb": 8, "category": "compute_optimized" },
|
|
44
|
+
{ "provider": "aws", "instance_type": "c7i.2xlarge", "vcpus": 8, "memory_gb": 16, "category": "compute_optimized" },
|
|
45
|
+
{ "provider": "aws", "instance_type": "r6i.large", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
46
|
+
{ "provider": "aws", "instance_type": "r6i.xlarge", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
47
|
+
{ "provider": "aws", "instance_type": "r6i.2xlarge", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
48
|
+
{ "provider": "aws", "instance_type": "r7i.large", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
49
|
+
{ "provider": "aws", "instance_type": "r7i.xlarge", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
50
|
+
{ "provider": "aws", "instance_type": "r7i.2xlarge", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
51
|
+
{ "provider": "aws", "instance_type": "m6g.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
52
|
+
{ "provider": "aws", "instance_type": "m6g.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
53
|
+
{ "provider": "aws", "instance_type": "m6g.2xlarge", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
54
|
+
{ "provider": "aws", "instance_type": "c6g.large", "vcpus": 2, "memory_gb": 4, "category": "compute_optimized" },
|
|
55
|
+
{ "provider": "aws", "instance_type": "c6g.xlarge", "vcpus": 4, "memory_gb": 8, "category": "compute_optimized" },
|
|
56
|
+
{ "provider": "aws", "instance_type": "c6g.2xlarge", "vcpus": 8, "memory_gb": 16, "category": "compute_optimized" },
|
|
57
|
+
{ "provider": "aws", "instance_type": "r6g.large", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
58
|
+
{ "provider": "aws", "instance_type": "r6g.xlarge", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
59
|
+
{ "provider": "aws", "instance_type": "r6g.2xlarge", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
60
|
+
{ "provider": "aws", "instance_type": "t4g.micro", "vcpus": 2, "memory_gb": 1, "category": "general_purpose" },
|
|
61
|
+
{ "provider": "aws", "instance_type": "t4g.small", "vcpus": 2, "memory_gb": 2, "category": "general_purpose" },
|
|
62
|
+
{ "provider": "aws", "instance_type": "t4g.medium", "vcpus": 2, "memory_gb": 4, "category": "general_purpose" },
|
|
63
|
+
{ "provider": "aws", "instance_type": "t4g.large", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
64
|
+
{ "provider": "aws", "instance_type": "t4g.xlarge", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
65
|
+
{ "provider": "aws", "instance_type": "db.t3.large", "vcpus": 2, "memory_gb": 8, "category": "database" },
|
|
66
|
+
{ "provider": "aws", "instance_type": "db.t4g.micro", "vcpus": 2, "memory_gb": 1, "category": "database" },
|
|
67
|
+
{ "provider": "aws", "instance_type": "db.t4g.small", "vcpus": 2, "memory_gb": 2, "category": "database" },
|
|
68
|
+
{ "provider": "aws", "instance_type": "db.t4g.medium", "vcpus": 2, "memory_gb": 4, "category": "database" },
|
|
69
|
+
{ "provider": "aws", "instance_type": "db.m5.large", "vcpus": 2, "memory_gb": 8, "category": "database" },
|
|
70
|
+
{ "provider": "aws", "instance_type": "db.m5.xlarge", "vcpus": 4, "memory_gb": 16, "category": "database" },
|
|
71
|
+
{ "provider": "aws", "instance_type": "db.m6g.large", "vcpus": 2, "memory_gb": 8, "category": "database" },
|
|
72
|
+
{ "provider": "aws", "instance_type": "db.m6i.large", "vcpus": 2, "memory_gb": 8, "category": "database" },
|
|
73
|
+
{ "provider": "aws", "instance_type": "db.r6g.large", "vcpus": 2, "memory_gb": 16, "category": "database" },
|
|
74
|
+
{ "provider": "aws", "instance_type": "db.r6i.large", "vcpus": 2, "memory_gb": 16, "category": "database" },
|
|
75
|
+
{ "provider": "aws", "instance_type": "db.r5.2xlarge", "vcpus": 8, "memory_gb": 64, "category": "database" },
|
|
76
|
+
{ "provider": "aws", "instance_type": "db.r6g.xlarge", "vcpus": 4, "memory_gb": 32, "category": "database" }
|
|
77
|
+
]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "provider": "azure", "instance_type": "Standard_B1s", "vcpus": 1, "memory_gb": 1, "category": "general_purpose" },
|
|
3
|
+
{ "provider": "azure", "instance_type": "Standard_B1ms", "vcpus": 1, "memory_gb": 2, "category": "general_purpose" },
|
|
4
|
+
{ "provider": "azure", "instance_type": "Standard_B2s", "vcpus": 2, "memory_gb": 4, "category": "general_purpose" },
|
|
5
|
+
{ "provider": "azure", "instance_type": "Standard_B2ms", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
6
|
+
{ "provider": "azure", "instance_type": "Standard_B4ms", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
7
|
+
{ "provider": "azure", "instance_type": "Standard_B8ms", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
8
|
+
{ "provider": "azure", "instance_type": "Standard_D2s_v5", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
9
|
+
{ "provider": "azure", "instance_type": "Standard_D4s_v5", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
10
|
+
{ "provider": "azure", "instance_type": "Standard_D8s_v5", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
11
|
+
{ "provider": "azure", "instance_type": "Standard_D16s_v5", "vcpus": 16, "memory_gb": 64, "category": "general_purpose" },
|
|
12
|
+
{ "provider": "azure", "instance_type": "Standard_F2s_v2", "vcpus": 2, "memory_gb": 4, "category": "compute_optimized" },
|
|
13
|
+
{ "provider": "azure", "instance_type": "Standard_F4s_v2", "vcpus": 4, "memory_gb": 8, "category": "compute_optimized" },
|
|
14
|
+
{ "provider": "azure", "instance_type": "Standard_F8s_v2", "vcpus": 8, "memory_gb": 16, "category": "compute_optimized" },
|
|
15
|
+
{ "provider": "azure", "instance_type": "Standard_E2s_v5", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
16
|
+
{ "provider": "azure", "instance_type": "Standard_E4s_v5", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
17
|
+
{ "provider": "azure", "instance_type": "Standard_E8s_v5", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
18
|
+
{ "provider": "azure", "instance_type": "Standard_B12ms", "vcpus": 12, "memory_gb": 48, "category": "general_purpose" },
|
|
19
|
+
{ "provider": "azure", "instance_type": "Standard_B16ms", "vcpus": 16, "memory_gb": 64, "category": "general_purpose" },
|
|
20
|
+
{ "provider": "azure", "instance_type": "Standard_D2s_v4", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
21
|
+
{ "provider": "azure", "instance_type": "Standard_D4s_v4", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
22
|
+
{ "provider": "azure", "instance_type": "Standard_D8s_v4", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
23
|
+
{ "provider": "azure", "instance_type": "Standard_D2ds_v5", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
24
|
+
{ "provider": "azure", "instance_type": "Standard_D4ds_v5", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
25
|
+
{ "provider": "azure", "instance_type": "Standard_D32s_v5", "vcpus": 32, "memory_gb": 128, "category": "general_purpose" },
|
|
26
|
+
{ "provider": "azure", "instance_type": "Standard_F16s_v2", "vcpus": 16, "memory_gb": 32, "category": "compute_optimized" },
|
|
27
|
+
{ "provider": "azure", "instance_type": "Standard_F32s_v2", "vcpus": 32, "memory_gb": 64, "category": "compute_optimized" },
|
|
28
|
+
{ "provider": "azure", "instance_type": "Standard_E16s_v5", "vcpus": 16, "memory_gb": 128, "category": "memory_optimized" },
|
|
29
|
+
{ "provider": "azure", "instance_type": "Standard_E32s_v5", "vcpus": 32, "memory_gb": 256, "category": "memory_optimized" },
|
|
30
|
+
{ "provider": "azure", "instance_type": "Standard_L8s_v3", "vcpus": 8, "memory_gb": 64, "category": "storage_optimized" },
|
|
31
|
+
{ "provider": "azure", "instance_type": "Standard_L16s_v3", "vcpus": 16, "memory_gb": 128, "category": "storage_optimized" },
|
|
32
|
+
{ "provider": "azure", "instance_type": "Standard_NC4as_T4_v3", "vcpus": 4, "memory_gb": 28, "category": "gpu" },
|
|
33
|
+
{ "provider": "azure", "instance_type": "Standard_NC8as_T4_v3", "vcpus": 8, "memory_gb": 56, "category": "gpu" },
|
|
34
|
+
{ "provider": "azure", "instance_type": "Standard_D2ps_v5", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
35
|
+
{ "provider": "azure", "instance_type": "Standard_D4ps_v5", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" }
|
|
36
|
+
]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "provider": "gcp", "instance_type": "e2-micro", "vcpus": 0.25, "memory_gb": 1, "category": "general_purpose" },
|
|
3
|
+
{ "provider": "gcp", "instance_type": "e2-small", "vcpus": 0.5, "memory_gb": 2, "category": "general_purpose" },
|
|
4
|
+
{ "provider": "gcp", "instance_type": "e2-medium", "vcpus": 1, "memory_gb": 4, "category": "general_purpose" },
|
|
5
|
+
{ "provider": "gcp", "instance_type": "e2-standard-2", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
6
|
+
{ "provider": "gcp", "instance_type": "e2-standard-4", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
7
|
+
{ "provider": "gcp", "instance_type": "e2-standard-8", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
8
|
+
{ "provider": "gcp", "instance_type": "n2-standard-2", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
9
|
+
{ "provider": "gcp", "instance_type": "n2-standard-4", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
10
|
+
{ "provider": "gcp", "instance_type": "n2-standard-8", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
11
|
+
{ "provider": "gcp", "instance_type": "n2-standard-16", "vcpus": 16, "memory_gb": 64, "category": "general_purpose" },
|
|
12
|
+
{ "provider": "gcp", "instance_type": "c2-standard-4", "vcpus": 4, "memory_gb": 16, "category": "compute_optimized" },
|
|
13
|
+
{ "provider": "gcp", "instance_type": "c2-standard-8", "vcpus": 8, "memory_gb": 32, "category": "compute_optimized" },
|
|
14
|
+
{ "provider": "gcp", "instance_type": "c2-standard-16", "vcpus": 16, "memory_gb": 64, "category": "compute_optimized" },
|
|
15
|
+
{ "provider": "gcp", "instance_type": "n2-highmem-2", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
16
|
+
{ "provider": "gcp", "instance_type": "n2-highmem-4", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
17
|
+
{ "provider": "gcp", "instance_type": "n2-highmem-8", "vcpus": 8, "memory_gb": 64, "category": "memory_optimized" },
|
|
18
|
+
{ "provider": "gcp", "instance_type": "db-custom-1-3840", "vcpus": 1, "memory_gb": 3.75, "category": "database" },
|
|
19
|
+
{ "provider": "gcp", "instance_type": "db-custom-2-7680", "vcpus": 2, "memory_gb": 7.5, "category": "database" },
|
|
20
|
+
{ "provider": "gcp", "instance_type": "db-custom-4-15360", "vcpus": 4, "memory_gb": 15, "category": "database" },
|
|
21
|
+
{ "provider": "gcp", "instance_type": "e2-highcpu-2", "vcpus": 2, "memory_gb": 2, "category": "compute_optimized" },
|
|
22
|
+
{ "provider": "gcp", "instance_type": "e2-highcpu-4", "vcpus": 4, "memory_gb": 4, "category": "compute_optimized" },
|
|
23
|
+
{ "provider": "gcp", "instance_type": "e2-highmem-2", "vcpus": 2, "memory_gb": 16, "category": "memory_optimized" },
|
|
24
|
+
{ "provider": "gcp", "instance_type": "e2-highmem-4", "vcpus": 4, "memory_gb": 32, "category": "memory_optimized" },
|
|
25
|
+
{ "provider": "gcp", "instance_type": "n2d-standard-2", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
26
|
+
{ "provider": "gcp", "instance_type": "n2d-standard-4", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" },
|
|
27
|
+
{ "provider": "gcp", "instance_type": "n2d-standard-8", "vcpus": 8, "memory_gb": 32, "category": "general_purpose" },
|
|
28
|
+
{ "provider": "gcp", "instance_type": "c2d-standard-4", "vcpus": 4, "memory_gb": 16, "category": "compute_optimized" },
|
|
29
|
+
{ "provider": "gcp", "instance_type": "c2d-standard-8", "vcpus": 8, "memory_gb": 32, "category": "compute_optimized" },
|
|
30
|
+
{ "provider": "gcp", "instance_type": "c3-standard-4", "vcpus": 4, "memory_gb": 16, "category": "compute_optimized" },
|
|
31
|
+
{ "provider": "gcp", "instance_type": "t2d-standard-1", "vcpus": 1, "memory_gb": 4, "category": "general_purpose" },
|
|
32
|
+
{ "provider": "gcp", "instance_type": "t2d-standard-2", "vcpus": 2, "memory_gb": 8, "category": "general_purpose" },
|
|
33
|
+
{ "provider": "gcp", "instance_type": "t2d-standard-4", "vcpus": 4, "memory_gb": 16, "category": "general_purpose" }
|
|
34
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "aws": "us-east-1", "azure": "eastus", "gcp": "us-east1", "display_name": "US East (Virginia)" },
|
|
3
|
+
{ "aws": "us-east-2", "azure": "eastus2", "gcp": "us-east4", "display_name": "US East (Ohio)" },
|
|
4
|
+
{ "aws": "us-west-1", "azure": "westus", "gcp": "us-west1", "display_name": "US West (N. California)" },
|
|
5
|
+
{ "aws": "us-west-2", "azure": "westus2", "gcp": "us-west1", "display_name": "US West (Oregon)" },
|
|
6
|
+
{ "aws": "eu-west-1", "azure": "northeurope", "gcp": "europe-west1", "display_name": "Europe (Ireland)" },
|
|
7
|
+
{ "aws": "eu-west-2", "azure": "uksouth", "gcp": "europe-west2", "display_name": "Europe (London)" },
|
|
8
|
+
{ "aws": "eu-central-1", "azure": "germanywestcentral", "gcp": "europe-west3", "display_name": "Europe (Frankfurt)" },
|
|
9
|
+
{ "aws": "ap-southeast-1", "azure": "southeastasia", "gcp": "asia-southeast1", "display_name": "Asia Pacific (Singapore)" },
|
|
10
|
+
{ "aws": "ap-northeast-1", "azure": "japaneast", "gcp": "asia-northeast1", "display_name": "Asia Pacific (Tokyo)" },
|
|
11
|
+
{ "aws": "ap-south-1", "azure": "centralindia", "gcp": "asia-south1", "display_name": "Asia Pacific (Mumbai)" },
|
|
12
|
+
{ "aws": "sa-east-1", "azure": "brazilsouth", "gcp": "southamerica-east1", "display_name": "South America (São Paulo)" },
|
|
13
|
+
{ "aws": "ca-central-1", "azure": "canadacentral", "gcp": "northamerica-northeast1", "display_name": "Canada (Central)" },
|
|
14
|
+
{ "aws": "ap-southeast-2", "azure": "australiaeast", "gcp": "australia-southeast1", "display_name": "Asia Pacific (Sydney)" },
|
|
15
|
+
{ "aws": "eu-north-1", "azure": "swedencentral", "gcp": "europe-north1", "display_name": "Europe (Stockholm)" },
|
|
16
|
+
{ "aws": "ap-northeast-2", "azure": "koreacentral", "gcp": "asia-northeast3", "display_name": "Asia Pacific (Seoul)" },
|
|
17
|
+
{ "aws": "me-south-1", "azure": "uaenorth", "gcp": "me-west1", "display_name": "Middle East (Bahrain)" },
|
|
18
|
+
{ "aws": "af-south-1", "azure": "southafricanorth", "gcp": "africa-south1", "display_name": "Africa (Cape Town)" },
|
|
19
|
+
{ "aws": "eu-south-1", "azure": "italynorth", "gcp": "europe-west8", "display_name": "Europe (Milan)" },
|
|
20
|
+
{ "aws": "ap-east-1", "azure": "eastasia", "gcp": "asia-east2", "display_name": "Asia Pacific (Hong Kong)" }
|
|
21
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "category": "compute_instance", "aws": "aws_instance", "azure": "azurerm_linux_virtual_machine", "gcp": "google_compute_instance", "notes": "General purpose VM" },
|
|
3
|
+
{ "category": "compute_instance_windows", "aws": "aws_instance", "azure": "azurerm_windows_virtual_machine", "gcp": "google_compute_instance", "notes": "Windows VM" },
|
|
4
|
+
{ "category": "managed_database_postgres", "aws": "aws_db_instance", "azure": "azurerm_postgresql_flexible_server", "gcp": "google_sql_database_instance", "notes": "Managed PostgreSQL" },
|
|
5
|
+
{ "category": "managed_database_mysql", "aws": "aws_db_instance", "azure": "azurerm_mysql_flexible_server", "gcp": "google_sql_database_instance", "notes": "Managed MySQL" },
|
|
6
|
+
{ "category": "object_storage", "aws": "aws_s3_bucket", "azure": "azurerm_storage_account", "gcp": "google_storage_bucket", "notes": "Object storage" },
|
|
7
|
+
{ "category": "block_storage", "aws": "aws_ebs_volume", "azure": "azurerm_managed_disk", "gcp": "google_compute_disk", "notes": "Block storage volume" },
|
|
8
|
+
{ "category": "load_balancer", "aws": "aws_lb", "azure": "azurerm_lb", "gcp": "google_compute_forwarding_rule", "notes": "Load balancer" },
|
|
9
|
+
{ "category": "nat_gateway", "aws": "aws_nat_gateway", "azure": "azurerm_nat_gateway", "gcp": "google_compute_router_nat", "notes": "NAT gateway" },
|
|
10
|
+
{ "category": "kubernetes_cluster", "aws": "aws_eks_cluster", "azure": "azurerm_kubernetes_cluster", "gcp": "google_container_cluster", "notes": "Managed Kubernetes" },
|
|
11
|
+
{ "category": "kubernetes_node_group", "aws": "aws_eks_node_group", "azure": "azurerm_kubernetes_cluster_node_pool", "gcp": "google_container_node_pool", "notes": "Kubernetes node pool" },
|
|
12
|
+
{ "category": "dns_zone", "aws": "aws_route53_zone", "azure": "azurerm_dns_zone", "gcp": "google_dns_managed_zone", "notes": "DNS hosted zone" },
|
|
13
|
+
{ "category": "cdn", "aws": "aws_cloudfront_distribution", "azure": "azurerm_cdn_profile", "gcp": "google_compute_backend_bucket", "notes": "CDN distribution" },
|
|
14
|
+
{ "category": "redis_cache", "aws": "aws_elasticache_cluster", "azure": "azurerm_redis_cache", "gcp": "google_redis_instance", "notes": "Managed Redis" },
|
|
15
|
+
{ "category": "container_registry", "aws": "aws_ecr_repository", "azure": "azurerm_container_registry", "gcp": "google_artifact_registry_repository", "notes": "Container registry" }
|
|
16
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"block_storage": [
|
|
3
|
+
{ "category": "ssd_general", "aws": "gp3", "azure": "Premium_LRS", "gcp": "pd-ssd", "iops_baseline": 3000, "throughput_mbps": 125 },
|
|
4
|
+
{ "category": "ssd_general_prev", "aws": "gp2", "azure": "Premium_LRS", "gcp": "pd-ssd", "iops_baseline": 3000, "throughput_mbps": 125 },
|
|
5
|
+
{ "category": "ssd_provisioned", "aws": "io2", "azure": "UltraSSD_LRS", "gcp": "pd-ssd", "iops_baseline": 64000, "throughput_mbps": 1000 },
|
|
6
|
+
{ "category": "ssd_provisioned_prev", "aws": "io1", "azure": "UltraSSD_LRS", "gcp": "pd-ssd", "iops_baseline": 64000, "throughput_mbps": 1000 },
|
|
7
|
+
{ "category": "hdd_standard", "aws": "st1", "azure": "Standard_LRS", "gcp": "pd-standard", "iops_baseline": 500, "throughput_mbps": 500 },
|
|
8
|
+
{ "category": "hdd_cold", "aws": "sc1", "azure": "Standard_LRS", "gcp": "pd-standard", "iops_baseline": 250, "throughput_mbps": 250 }
|
|
9
|
+
],
|
|
10
|
+
"object_storage": [
|
|
11
|
+
{ "category": "standard", "aws": "STANDARD", "azure": "Hot", "gcp": "STANDARD" },
|
|
12
|
+
{ "category": "infrequent", "aws": "STANDARD_IA", "azure": "Cool", "gcp": "NEARLINE" },
|
|
13
|
+
{ "category": "archive", "aws": "GLACIER", "azure": "Archive", "gcp": "ARCHIVE" },
|
|
14
|
+
{ "category": "deep_archive", "aws": "DEEP_ARCHIVE", "azure": "Archive", "gcp": "ARCHIVE" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/data/loader.ts
|
|
4
|
+
import { readFileSync } from "fs";
|
|
5
|
+
import { join, dirname } from "path";
|
|
6
|
+
import { fileURLToPath } from "url";
|
|
7
|
+
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
|
+
function findProjectRoot(startDir) {
|
|
9
|
+
let dir = startDir;
|
|
10
|
+
while (true) {
|
|
11
|
+
try {
|
|
12
|
+
readFileSync(join(dir, "package.json"), "utf-8");
|
|
13
|
+
return dir;
|
|
14
|
+
} catch {
|
|
15
|
+
const parent = dirname(dir);
|
|
16
|
+
if (parent === dir) return startDir;
|
|
17
|
+
dir = parent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
var DATA_DIR = join(findProjectRoot(__dirname), "data");
|
|
22
|
+
function loadJsonFile(relativePath) {
|
|
23
|
+
const fullPath = join(DATA_DIR, relativePath);
|
|
24
|
+
try {
|
|
25
|
+
return JSON.parse(readFileSync(fullPath, "utf-8"));
|
|
26
|
+
} catch (err) {
|
|
27
|
+
throw new Error(
|
|
28
|
+
`Failed to load data file "${fullPath}": ${err instanceof Error ? err.message : String(err)}`
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
var _resourceEquivalents = null;
|
|
33
|
+
var _instanceMap = null;
|
|
34
|
+
var _regionMappings = null;
|
|
35
|
+
var _storageMap = null;
|
|
36
|
+
var _awsInstances = null;
|
|
37
|
+
var _azureVmSizes = null;
|
|
38
|
+
var _gcpMachineTypes = null;
|
|
39
|
+
var _gcpComputePricing = null;
|
|
40
|
+
var _gcpSqlPricing = null;
|
|
41
|
+
var _gcpStoragePricing = null;
|
|
42
|
+
var _gcpDiskPricing = null;
|
|
43
|
+
function getResourceEquivalents() {
|
|
44
|
+
if (_resourceEquivalents === null) {
|
|
45
|
+
_resourceEquivalents = loadJsonFile(
|
|
46
|
+
"resource-equivalents.json"
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
return _resourceEquivalents;
|
|
50
|
+
}
|
|
51
|
+
function getInstanceMap() {
|
|
52
|
+
if (_instanceMap === null) {
|
|
53
|
+
_instanceMap = loadJsonFile("instance-map.json");
|
|
54
|
+
}
|
|
55
|
+
return _instanceMap;
|
|
56
|
+
}
|
|
57
|
+
function getRegionMappings() {
|
|
58
|
+
if (_regionMappings === null) {
|
|
59
|
+
_regionMappings = loadJsonFile("region-mappings.json");
|
|
60
|
+
}
|
|
61
|
+
return _regionMappings;
|
|
62
|
+
}
|
|
63
|
+
function getStorageMap() {
|
|
64
|
+
if (_storageMap === null) {
|
|
65
|
+
_storageMap = loadJsonFile("storage-map.json");
|
|
66
|
+
}
|
|
67
|
+
return _storageMap;
|
|
68
|
+
}
|
|
69
|
+
function getAwsInstances() {
|
|
70
|
+
if (_awsInstances === null) {
|
|
71
|
+
_awsInstances = loadJsonFile(
|
|
72
|
+
"instance-types/aws-instances.json"
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
return _awsInstances;
|
|
76
|
+
}
|
|
77
|
+
function getAzureVmSizes() {
|
|
78
|
+
if (_azureVmSizes === null) {
|
|
79
|
+
_azureVmSizes = loadJsonFile(
|
|
80
|
+
"instance-types/azure-vm-sizes.json"
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
return _azureVmSizes;
|
|
84
|
+
}
|
|
85
|
+
function getGcpMachineTypes() {
|
|
86
|
+
if (_gcpMachineTypes === null) {
|
|
87
|
+
_gcpMachineTypes = loadJsonFile(
|
|
88
|
+
"instance-types/gcp-machine-types.json"
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
return _gcpMachineTypes;
|
|
92
|
+
}
|
|
93
|
+
function getGcpComputePricing() {
|
|
94
|
+
if (_gcpComputePricing === null) {
|
|
95
|
+
_gcpComputePricing = loadJsonFile(
|
|
96
|
+
"gcp-pricing/compute-engine.json"
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
return _gcpComputePricing;
|
|
100
|
+
}
|
|
101
|
+
function getGcpSqlPricing() {
|
|
102
|
+
if (_gcpSqlPricing === null) {
|
|
103
|
+
_gcpSqlPricing = loadJsonFile(
|
|
104
|
+
"gcp-pricing/cloud-sql.json"
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
return _gcpSqlPricing;
|
|
108
|
+
}
|
|
109
|
+
function getGcpStoragePricing() {
|
|
110
|
+
if (_gcpStoragePricing === null) {
|
|
111
|
+
_gcpStoragePricing = loadJsonFile(
|
|
112
|
+
"gcp-pricing/cloud-storage.json"
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
return _gcpStoragePricing;
|
|
116
|
+
}
|
|
117
|
+
function getGcpDiskPricing() {
|
|
118
|
+
if (_gcpDiskPricing === null) {
|
|
119
|
+
_gcpDiskPricing = loadJsonFile(
|
|
120
|
+
"gcp-pricing/persistent-disk.json"
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
return _gcpDiskPricing;
|
|
124
|
+
}
|
|
125
|
+
function _resetLoaderCache() {
|
|
126
|
+
_resourceEquivalents = null;
|
|
127
|
+
_instanceMap = null;
|
|
128
|
+
_regionMappings = null;
|
|
129
|
+
_storageMap = null;
|
|
130
|
+
_awsInstances = null;
|
|
131
|
+
_azureVmSizes = null;
|
|
132
|
+
_gcpMachineTypes = null;
|
|
133
|
+
_gcpComputePricing = null;
|
|
134
|
+
_gcpSqlPricing = null;
|
|
135
|
+
_gcpStoragePricing = null;
|
|
136
|
+
_gcpDiskPricing = null;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export {
|
|
140
|
+
getResourceEquivalents,
|
|
141
|
+
getInstanceMap,
|
|
142
|
+
getRegionMappings,
|
|
143
|
+
getStorageMap,
|
|
144
|
+
getAwsInstances,
|
|
145
|
+
getAzureVmSizes,
|
|
146
|
+
getGcpMachineTypes,
|
|
147
|
+
getGcpComputePricing,
|
|
148
|
+
getGcpSqlPricing,
|
|
149
|
+
getGcpStoragePricing,
|
|
150
|
+
getGcpDiskPricing,
|
|
151
|
+
_resetLoaderCache
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=chunk-KZJSZMWM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/data/loader.ts"],"sourcesContent":["import { readFileSync } from \"node:fs\";\nimport { join, dirname } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport type {\n ResourceEquivalent,\n RegionMapping,\n StorageMapping,\n InstanceSpec,\n} from \"../types/index.js\";\n\nconst __dirname = dirname(fileURLToPath(import.meta.url));\n\n// Resolve the project root by walking up from the current file until we find\n// package.json. This works both during development (src/data/loader.ts) and\n// after bundling (dist/chunk-*.js) regardless of directory depth.\nfunction findProjectRoot(startDir: string): string {\n let dir = startDir;\n while (true) {\n try {\n readFileSync(join(dir, \"package.json\"), \"utf-8\");\n return dir;\n } catch {\n const parent = dirname(dir);\n if (parent === dir) return startDir; // filesystem root, give up\n dir = parent;\n }\n }\n}\n\nconst DATA_DIR = join(findProjectRoot(__dirname), \"data\");\n\n// ---------------------------------------------------------------------------\n// Internal types for structured JSON shapes that don't directly map to\n// exported domain types (e.g. nested maps or objects with mixed fields).\n// ---------------------------------------------------------------------------\n\nexport interface InstanceMapData {\n aws_to_azure: Record<string, string>;\n aws_to_gcp: Record<string, string>;\n azure_to_aws: Record<string, string>;\n azure_to_gcp: Record<string, string>;\n gcp_to_aws: Record<string, string>;\n gcp_to_azure: Record<string, string>;\n}\n\nexport interface StorageMapData {\n block_storage: StorageMapping[];\n object_storage: Array<{\n category: string;\n aws: string;\n azure: string;\n gcp: string;\n }>;\n}\n\nexport interface GcpSqlRegionPricing {\n [tier: string]: number; // tier keys like \"db-custom-1-3840\", plus \"storage_per_gb\" and \"ha_multiplier\"\n}\n\nexport interface GcpStorageRegionPricing {\n STANDARD: number;\n NEARLINE: number;\n COLDLINE: number;\n ARCHIVE: number;\n}\n\nexport interface GcpDiskRegionPricing {\n \"pd-standard\": number;\n \"pd-ssd\": number;\n \"pd-balanced\": number;\n}\n\n// ---------------------------------------------------------------------------\n// Generic file loader – reads and parses a JSON file relative to DATA_DIR.\n// Throws with the file path in the message if anything goes wrong so callers\n// always know which file caused a problem.\n// ---------------------------------------------------------------------------\n\nfunction loadJsonFile<T>(relativePath: string): T {\n const fullPath = join(DATA_DIR, relativePath);\n try {\n return JSON.parse(readFileSync(fullPath, \"utf-8\")) as T;\n } catch (err) {\n throw new Error(\n `Failed to load data file \"${fullPath}\": ${err instanceof Error ? err.message : String(err)}`\n );\n }\n}\n\n// ---------------------------------------------------------------------------\n// Lazy-loaded module-level singletons. Each is initialised exactly once on\n// first access and then cached for the lifetime of the process.\n// ---------------------------------------------------------------------------\n\nlet _resourceEquivalents: ResourceEquivalent[] | null = null;\nlet _instanceMap: InstanceMapData | null = null;\nlet _regionMappings: RegionMapping[] | null = null;\nlet _storageMap: StorageMapData | null = null;\nlet _awsInstances: InstanceSpec[] | null = null;\nlet _azureVmSizes: InstanceSpec[] | null = null;\nlet _gcpMachineTypes: InstanceSpec[] | null = null;\nlet _gcpComputePricing: Record<string, Record<string, number>> | null = null;\nlet _gcpSqlPricing: Record<string, GcpSqlRegionPricing> | null = null;\nlet _gcpStoragePricing: Record<string, GcpStorageRegionPricing> | null = null;\nlet _gcpDiskPricing: Record<string, GcpDiskRegionPricing> | null = null;\n\n// ---------------------------------------------------------------------------\n// Public accessor functions\n// ---------------------------------------------------------------------------\n\n/**\n * Returns all cross-provider resource equivalents (e.g. aws_instance <-> azurerm_linux_virtual_machine).\n */\nexport function getResourceEquivalents(): ResourceEquivalent[] {\n if (_resourceEquivalents === null) {\n _resourceEquivalents = loadJsonFile<ResourceEquivalent[]>(\n \"resource-equivalents.json\"\n );\n }\n return _resourceEquivalents;\n}\n\n/**\n * Returns the pre-computed bidirectional instance type mapping table\n * covering all six provider-pair directions.\n */\nexport function getInstanceMap(): InstanceMapData {\n if (_instanceMap === null) {\n _instanceMap = loadJsonFile<InstanceMapData>(\"instance-map.json\");\n }\n return _instanceMap;\n}\n\n/**\n * Returns the list of geographically equivalent regions across AWS, Azure, and GCP.\n */\nexport function getRegionMappings(): RegionMapping[] {\n if (_regionMappings === null) {\n _regionMappings = loadJsonFile<RegionMapping[]>(\"region-mappings.json\");\n }\n return _regionMappings;\n}\n\n/**\n * Returns the storage tier mapping data covering both block and object storage\n * across all three providers.\n */\nexport function getStorageMap(): StorageMapData {\n if (_storageMap === null) {\n _storageMap = loadJsonFile<StorageMapData>(\"storage-map.json\");\n }\n return _storageMap;\n}\n\n/**\n * Returns the catalogue of AWS EC2 and RDS instance specifications.\n */\nexport function getAwsInstances(): InstanceSpec[] {\n if (_awsInstances === null) {\n _awsInstances = loadJsonFile<InstanceSpec[]>(\n \"instance-types/aws-instances.json\"\n );\n }\n return _awsInstances;\n}\n\n/**\n * Returns the catalogue of Azure VM size specifications.\n */\nexport function getAzureVmSizes(): InstanceSpec[] {\n if (_azureVmSizes === null) {\n _azureVmSizes = loadJsonFile<InstanceSpec[]>(\n \"instance-types/azure-vm-sizes.json\"\n );\n }\n return _azureVmSizes;\n}\n\n/**\n * Returns the catalogue of GCP Compute Engine and Cloud SQL machine type specifications.\n */\nexport function getGcpMachineTypes(): InstanceSpec[] {\n if (_gcpMachineTypes === null) {\n _gcpMachineTypes = loadJsonFile<InstanceSpec[]>(\n \"instance-types/gcp-machine-types.json\"\n );\n }\n return _gcpMachineTypes;\n}\n\n/**\n * Returns bundled GCP Compute Engine on-demand hourly pricing keyed by\n * region then machine type.\n */\nexport function getGcpComputePricing(): Record<string, Record<string, number>> {\n if (_gcpComputePricing === null) {\n _gcpComputePricing = loadJsonFile<Record<string, Record<string, number>>>(\n \"gcp-pricing/compute-engine.json\"\n );\n }\n return _gcpComputePricing;\n}\n\n/**\n * Returns bundled GCP Cloud SQL hourly pricing keyed by region.\n * Each region entry maps tier names (and the special keys \"storage_per_gb\"\n * and \"ha_multiplier\") to numeric values.\n */\nexport function getGcpSqlPricing(): Record<string, GcpSqlRegionPricing> {\n if (_gcpSqlPricing === null) {\n _gcpSqlPricing = loadJsonFile<Record<string, GcpSqlRegionPricing>>(\n \"gcp-pricing/cloud-sql.json\"\n );\n }\n return _gcpSqlPricing;\n}\n\n/**\n * Returns bundled GCP Cloud Storage per-GB/month pricing keyed by region\n * then storage class (STANDARD, NEARLINE, COLDLINE, ARCHIVE).\n */\nexport function getGcpStoragePricing(): Record<string, GcpStorageRegionPricing> {\n if (_gcpStoragePricing === null) {\n _gcpStoragePricing = loadJsonFile<Record<string, GcpStorageRegionPricing>>(\n \"gcp-pricing/cloud-storage.json\"\n );\n }\n return _gcpStoragePricing;\n}\n\n/**\n * Returns bundled GCP Persistent Disk per-GB/month pricing keyed by region\n * then disk type (pd-standard, pd-ssd, pd-balanced).\n */\nexport function getGcpDiskPricing(): Record<string, GcpDiskRegionPricing> {\n if (_gcpDiskPricing === null) {\n _gcpDiskPricing = loadJsonFile<Record<string, GcpDiskRegionPricing>>(\n \"gcp-pricing/persistent-disk.json\"\n );\n }\n return _gcpDiskPricing;\n}\n\n// ---------------------------------------------------------------------------\n// Cache reset – only useful in tests that need a clean slate between runs.\n// Not exported to consumers; imported via the test helper path if needed.\n// ---------------------------------------------------------------------------\n\n/** @internal */\nexport function _resetLoaderCache(): void {\n _resourceEquivalents = null;\n _instanceMap = null;\n _regionMappings = null;\n _storageMap = null;\n _awsInstances = null;\n _azureVmSizes = null;\n _gcpMachineTypes = null;\n _gcpComputePricing = null;\n _gcpSqlPricing = null;\n _gcpStoragePricing = null;\n _gcpDiskPricing = null;\n}\n"],"mappings":"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","names":[]}
|
package/dist/index.d.ts
ADDED