tersejson 0.1.0 → 0.2.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 +47 -4
- package/dist/{client-BQAZg7I8.d.mts → client-CFGvusCj.d.mts} +1 -1
- package/dist/{client-DOOGwp_p.d.ts → client-hUXNNGcN.d.ts} +1 -1
- package/dist/client.d.mts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js.map +1 -1
- package/dist/client.mjs.map +1 -1
- package/dist/{express-LSVylWpN.d.ts → express-Da7WcJtt.d.ts} +1 -1
- package/dist/{express-BoL__Ao6.d.mts → express-O5w2NBTf.d.mts} +1 -1
- package/dist/express.d.mts +2 -2
- package/dist/express.d.ts +2 -2
- package/dist/graphql-C3PTnqnZ.d.mts +81 -0
- package/dist/graphql-DmtweJgh.d.ts +81 -0
- package/dist/graphql-client-2H4FjmRc.d.mts +123 -0
- package/dist/graphql-client-BXGtWqe9.d.ts +123 -0
- package/dist/graphql-client.d.mts +2 -0
- package/dist/graphql-client.d.ts +2 -0
- package/dist/graphql-client.js +215 -0
- package/dist/graphql-client.js.map +1 -0
- package/dist/graphql-client.mjs +207 -0
- package/dist/graphql-client.mjs.map +1 -0
- package/dist/graphql.d.mts +3 -0
- package/dist/graphql.d.ts +3 -0
- package/dist/graphql.js +304 -0
- package/dist/graphql.js.map +1 -0
- package/dist/graphql.mjs +296 -0
- package/dist/graphql.mjs.map +1 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +400 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +398 -4
- package/dist/index.mjs.map +1 -1
- package/dist/integrations.js.map +1 -1
- package/dist/integrations.mjs.map +1 -1
- package/dist/{types-CzaGQaV7.d.mts → types-BTonKlz8.d.mts} +56 -1
- package/dist/{types-CzaGQaV7.d.ts → types-BTonKlz8.d.ts} +56 -1
- package/package.json +44 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tersejson",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Transparent JSON key compression for Express APIs. Reduce bandwidth by up to 80% with zero code changes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"json",
|
|
@@ -12,7 +12,31 @@
|
|
|
12
12
|
"api",
|
|
13
13
|
"rest",
|
|
14
14
|
"keys",
|
|
15
|
-
"minify"
|
|
15
|
+
"minify",
|
|
16
|
+
"json-compression",
|
|
17
|
+
"payload",
|
|
18
|
+
"reduce",
|
|
19
|
+
"compact",
|
|
20
|
+
"shrink",
|
|
21
|
+
"performance",
|
|
22
|
+
"network",
|
|
23
|
+
"http",
|
|
24
|
+
"response",
|
|
25
|
+
"nodejs",
|
|
26
|
+
"node",
|
|
27
|
+
"fetch",
|
|
28
|
+
"axios",
|
|
29
|
+
"react-query",
|
|
30
|
+
"swr",
|
|
31
|
+
"angular",
|
|
32
|
+
"restful",
|
|
33
|
+
"key-compression",
|
|
34
|
+
"json-minify",
|
|
35
|
+
"api-optimization",
|
|
36
|
+
"payload-compression",
|
|
37
|
+
"lightweight",
|
|
38
|
+
"proxy",
|
|
39
|
+
"transparent"
|
|
16
40
|
],
|
|
17
41
|
"author": "Tim Carter",
|
|
18
42
|
"license": "MIT",
|
|
@@ -20,6 +44,9 @@
|
|
|
20
44
|
"type": "git",
|
|
21
45
|
"url": "https://github.com/timclausendev-web/tersejson"
|
|
22
46
|
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/timclausendev-web/tersejson/issues"
|
|
49
|
+
},
|
|
23
50
|
"homepage": "https://tersejson.com",
|
|
24
51
|
"main": "./dist/index.js",
|
|
25
52
|
"module": "./dist/index.mjs",
|
|
@@ -49,6 +76,16 @@
|
|
|
49
76
|
"types": "./dist/analytics.d.ts",
|
|
50
77
|
"import": "./dist/analytics.mjs",
|
|
51
78
|
"require": "./dist/analytics.js"
|
|
79
|
+
},
|
|
80
|
+
"./graphql": {
|
|
81
|
+
"types": "./dist/graphql.d.ts",
|
|
82
|
+
"import": "./dist/graphql.mjs",
|
|
83
|
+
"require": "./dist/graphql.js"
|
|
84
|
+
},
|
|
85
|
+
"./graphql-client": {
|
|
86
|
+
"types": "./dist/graphql-client.d.ts",
|
|
87
|
+
"import": "./dist/graphql-client.mjs",
|
|
88
|
+
"require": "./dist/graphql-client.js"
|
|
52
89
|
}
|
|
53
90
|
},
|
|
54
91
|
"files": [
|
|
@@ -74,11 +111,15 @@
|
|
|
74
111
|
"vitest": "^1.2.0"
|
|
75
112
|
},
|
|
76
113
|
"peerDependencies": {
|
|
77
|
-
"express": ">=4.0.0"
|
|
114
|
+
"express": ">=4.0.0",
|
|
115
|
+
"@apollo/client": ">=3.0.0"
|
|
78
116
|
},
|
|
79
117
|
"peerDependenciesMeta": {
|
|
80
118
|
"express": {
|
|
81
119
|
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"@apollo/client": {
|
|
122
|
+
"optional": true
|
|
82
123
|
}
|
|
83
124
|
},
|
|
84
125
|
"engines": {
|