@creationix/jot 0.0.1 → 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.
Files changed (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +112 -23
  3. package/dist/jot.cjs +446 -0
  4. package/dist/jot.d.ts +6 -0
  5. package/dist/jot.js +442 -0
  6. package/package.json +34 -4
  7. package/SUMMARY.md +0 -151
  8. package/TOKEN_COUNTS.md +0 -97
  9. package/bun.lock +0 -19
  10. package/jot.test.ts +0 -133
  11. package/jot.ts +0 -650
  12. package/samples/chat.jot +0 -1
  13. package/samples/chat.json +0 -1
  14. package/samples/chat.pretty.jot +0 -6
  15. package/samples/chat.pretty.json +0 -16
  16. package/samples/firewall.jot +0 -1
  17. package/samples/firewall.json +0 -1
  18. package/samples/firewall.pretty.jot +0 -235
  19. package/samples/firewall.pretty.json +0 -344
  20. package/samples/github-issue.jot +0 -1
  21. package/samples/github-issue.json +0 -1
  22. package/samples/github-issue.pretty.jot +0 -15
  23. package/samples/github-issue.pretty.json +0 -20
  24. package/samples/hikes.jot +0 -1
  25. package/samples/hikes.json +0 -1
  26. package/samples/hikes.pretty.jot +0 -14
  27. package/samples/hikes.pretty.json +0 -38
  28. package/samples/irregular.jot +0 -1
  29. package/samples/irregular.json +0 -1
  30. package/samples/irregular.pretty.jot +0 -13
  31. package/samples/irregular.pretty.json +0 -23
  32. package/samples/json-counts-cache.jot +0 -1
  33. package/samples/json-counts-cache.json +0 -1
  34. package/samples/json-counts-cache.pretty.jot +0 -26
  35. package/samples/json-counts-cache.pretty.json +0 -26
  36. package/samples/key-folding-basic.jot +0 -1
  37. package/samples/key-folding-basic.json +0 -1
  38. package/samples/key-folding-basic.pretty.jot +0 -7
  39. package/samples/key-folding-basic.pretty.json +0 -25
  40. package/samples/key-folding-mixed.jot +0 -1
  41. package/samples/key-folding-mixed.json +0 -1
  42. package/samples/key-folding-mixed.pretty.jot +0 -16
  43. package/samples/key-folding-mixed.pretty.json +0 -24
  44. package/samples/key-folding-with-array.jot +0 -1
  45. package/samples/key-folding-with-array.json +0 -1
  46. package/samples/key-folding-with-array.pretty.jot +0 -6
  47. package/samples/key-folding-with-array.pretty.json +0 -29
  48. package/samples/large.jot +0 -1
  49. package/samples/large.json +0 -1
  50. package/samples/large.pretty.jot +0 -72
  51. package/samples/large.pretty.json +0 -93
  52. package/samples/logs.jot +0 -1
  53. package/samples/logs.json +0 -1
  54. package/samples/logs.pretty.jot +0 -96
  55. package/samples/logs.pretty.json +0 -350
  56. package/samples/medium.jot +0 -1
  57. package/samples/medium.json +0 -1
  58. package/samples/medium.pretty.jot +0 -13
  59. package/samples/medium.pretty.json +0 -30
  60. package/samples/metrics.jot +0 -1
  61. package/samples/metrics.json +0 -1
  62. package/samples/metrics.pretty.jot +0 -11
  63. package/samples/metrics.pretty.json +0 -25
  64. package/samples/package.jot +0 -1
  65. package/samples/package.json +0 -1
  66. package/samples/package.pretty.jot +0 -18
  67. package/samples/package.pretty.json +0 -18
  68. package/samples/products.jot +0 -1
  69. package/samples/products.json +0 -1
  70. package/samples/products.pretty.jot +0 -69
  71. package/samples/products.pretty.json +0 -235
  72. package/samples/routes.jot +0 -1
  73. package/samples/routes.json +0 -1
  74. package/samples/routes.pretty.jot +0 -142
  75. package/samples/routes.pretty.json +0 -354
  76. package/samples/small.jot +0 -1
  77. package/samples/small.json +0 -1
  78. package/samples/small.pretty.jot +0 -8
  79. package/samples/small.pretty.json +0 -12
  80. package/samples/users-50.jot +0 -1
  81. package/samples/users-50.json +0 -1
  82. package/samples/users-50.pretty.jot +0 -53
  83. package/samples/users-50.pretty.json +0 -354
@@ -1,354 +0,0 @@
1
- {
2
- "users": [
3
- {
4
- "id": 1,
5
- "name": "Alice Chen",
6
- "email": "alice@example.com",
7
- "role": "admin",
8
- "active": true
9
- },
10
- {
11
- "id": 2,
12
- "name": "Bob Smith",
13
- "email": "bob@example.com",
14
- "role": "user",
15
- "active": true
16
- },
17
- {
18
- "id": 3,
19
- "name": "Carol Davis",
20
- "email": "carol@example.com",
21
- "role": "user",
22
- "active": false
23
- },
24
- {
25
- "id": 4,
26
- "name": "Dan Wilson",
27
- "email": "dan@example.com",
28
- "role": "moderator",
29
- "active": true
30
- },
31
- {
32
- "id": 5,
33
- "name": "Eve Brown",
34
- "email": "eve@example.com",
35
- "role": "user",
36
- "active": true
37
- },
38
- {
39
- "id": 6,
40
- "name": "Frank Lee",
41
- "email": "frank@example.com",
42
- "role": "user",
43
- "active": true
44
- },
45
- {
46
- "id": 7,
47
- "name": "Grace Kim",
48
- "email": "grace@example.com",
49
- "role": "admin",
50
- "active": true
51
- },
52
- {
53
- "id": 8,
54
- "name": "Henry Park",
55
- "email": "henry@example.com",
56
- "role": "user",
57
- "active": false
58
- },
59
- {
60
- "id": 9,
61
- "name": "Ivy Zhang",
62
- "email": "ivy@example.com",
63
- "role": "user",
64
- "active": true
65
- },
66
- {
67
- "id": 10,
68
- "name": "Jack Miller",
69
- "email": "jack@example.com",
70
- "role": "moderator",
71
- "active": true
72
- },
73
- {
74
- "id": 11,
75
- "name": "Kate Johnson",
76
- "email": "kate@example.com",
77
- "role": "user",
78
- "active": true
79
- },
80
- {
81
- "id": 12,
82
- "name": "Leo Garcia",
83
- "email": "leo@example.com",
84
- "role": "user",
85
- "active": true
86
- },
87
- {
88
- "id": 13,
89
- "name": "Mia Taylor",
90
- "email": "mia@example.com",
91
- "role": "user",
92
- "active": false
93
- },
94
- {
95
- "id": 14,
96
- "name": "Noah White",
97
- "email": "noah@example.com",
98
- "role": "user",
99
- "active": true
100
- },
101
- {
102
- "id": 15,
103
- "name": "Olivia Moore",
104
- "email": "olivia@example.com",
105
- "role": "admin",
106
- "active": true
107
- },
108
- {
109
- "id": 16,
110
- "name": "Peter Hall",
111
- "email": "peter@example.com",
112
- "role": "user",
113
- "active": true
114
- },
115
- {
116
- "id": 17,
117
- "name": "Quinn Adams",
118
- "email": "quinn@example.com",
119
- "role": "user",
120
- "active": true
121
- },
122
- {
123
- "id": 18,
124
- "name": "Ruby Scott",
125
- "email": "ruby@example.com",
126
- "role": "moderator",
127
- "active": false
128
- },
129
- {
130
- "id": 19,
131
- "name": "Sam Turner",
132
- "email": "sam@example.com",
133
- "role": "user",
134
- "active": true
135
- },
136
- {
137
- "id": 20,
138
- "name": "Tina Clark",
139
- "email": "tina@example.com",
140
- "role": "user",
141
- "active": true
142
- },
143
- {
144
- "id": 21,
145
- "name": "Uma Patel",
146
- "email": "uma@example.com",
147
- "role": "user",
148
- "active": true
149
- },
150
- {
151
- "id": 22,
152
- "name": "Victor Young",
153
- "email": "victor@example.com",
154
- "role": "user",
155
- "active": false
156
- },
157
- {
158
- "id": 23,
159
- "name": "Wendy King",
160
- "email": "wendy@example.com",
161
- "role": "admin",
162
- "active": true
163
- },
164
- {
165
- "id": 24,
166
- "name": "Xander Cruz",
167
- "email": "xander@example.com",
168
- "role": "user",
169
- "active": true
170
- },
171
- {
172
- "id": 25,
173
- "name": "Yuki Tanaka",
174
- "email": "yuki@example.com",
175
- "role": "user",
176
- "active": true
177
- },
178
- {
179
- "id": 26,
180
- "name": "Zoe Martin",
181
- "email": "zoe@example.com",
182
- "role": "moderator",
183
- "active": true
184
- },
185
- {
186
- "id": 27,
187
- "name": "Aaron Ross",
188
- "email": "aaron@example.com",
189
- "role": "user",
190
- "active": true
191
- },
192
- {
193
- "id": 28,
194
- "name": "Beth Cooper",
195
- "email": "beth@example.com",
196
- "role": "user",
197
- "active": false
198
- },
199
- {
200
- "id": 29,
201
- "name": "Chris Evans",
202
- "email": "chris@example.com",
203
- "role": "user",
204
- "active": true
205
- },
206
- {
207
- "id": 30,
208
- "name": "Diana Reed",
209
- "email": "diana@example.com",
210
- "role": "user",
211
- "active": true
212
- },
213
- {
214
- "id": 31,
215
- "name": "Eric Foster",
216
- "email": "eric@example.com",
217
- "role": "admin",
218
- "active": true
219
- },
220
- {
221
- "id": 32,
222
- "name": "Fiona Grant",
223
- "email": "fiona@example.com",
224
- "role": "user",
225
- "active": true
226
- },
227
- {
228
- "id": 33,
229
- "name": "George Hill",
230
- "email": "george@example.com",
231
- "role": "user",
232
- "active": true
233
- },
234
- {
235
- "id": 34,
236
- "name": "Hannah Irwin",
237
- "email": "hannah@example.com",
238
- "role": "moderator",
239
- "active": false
240
- },
241
- {
242
- "id": 35,
243
- "name": "Ian James",
244
- "email": "ian@example.com",
245
- "role": "user",
246
- "active": true
247
- },
248
- {
249
- "id": 36,
250
- "name": "Julia Kent",
251
- "email": "julia@example.com",
252
- "role": "user",
253
- "active": true
254
- },
255
- {
256
- "id": 37,
257
- "name": "Kevin Long",
258
- "email": "kevin@example.com",
259
- "role": "user",
260
- "active": true
261
- },
262
- {
263
- "id": 38,
264
- "name": "Laura Mason",
265
- "email": "laura@example.com",
266
- "role": "user",
267
- "active": false
268
- },
269
- {
270
- "id": 39,
271
- "name": "Mike Nelson",
272
- "email": "mike@example.com",
273
- "role": "admin",
274
- "active": true
275
- },
276
- {
277
- "id": 40,
278
- "name": "Nina Owen",
279
- "email": "nina@example.com",
280
- "role": "user",
281
- "active": true
282
- },
283
- {
284
- "id": 41,
285
- "name": "Oscar Price",
286
- "email": "oscar@example.com",
287
- "role": "user",
288
- "active": true
289
- },
290
- {
291
- "id": 42,
292
- "name": "Paula Quinn",
293
- "email": "paula@example.com",
294
- "role": "moderator",
295
- "active": true
296
- },
297
- {
298
- "id": 43,
299
- "name": "Quincy Ray",
300
- "email": "quincy@example.com",
301
- "role": "user",
302
- "active": true
303
- },
304
- {
305
- "id": 44,
306
- "name": "Rachel Stone",
307
- "email": "rachel@example.com",
308
- "role": "user",
309
- "active": false
310
- },
311
- {
312
- "id": 45,
313
- "name": "Steve Thomas",
314
- "email": "steve@example.com",
315
- "role": "user",
316
- "active": true
317
- },
318
- {
319
- "id": 46,
320
- "name": "Tara Underwood",
321
- "email": "tara@example.com",
322
- "role": "user",
323
- "active": true
324
- },
325
- {
326
- "id": 47,
327
- "name": "Ulysses Vance",
328
- "email": "ulysses@example.com",
329
- "role": "admin",
330
- "active": true
331
- },
332
- {
333
- "id": 48,
334
- "name": "Vera Walsh",
335
- "email": "vera@example.com",
336
- "role": "user",
337
- "active": true
338
- },
339
- {
340
- "id": 49,
341
- "name": "Will Xavier",
342
- "email": "will@example.com",
343
- "role": "user",
344
- "active": false
345
- },
346
- {
347
- "id": 50,
348
- "name": "Xena York",
349
- "email": "xena@example.com",
350
- "role": "moderator",
351
- "active": true
352
- }
353
- ]
354
- }