lang-json 1.0.3 → 213.21.24
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of lang-json might be problematic. Click here for more details.
- package/index.js +34 -0
- package/package.json +7 -57
- package/README.md +0 -0
- package/babel.config.js +0 -8
- package/coverage/clover.xml +0 -6
- package/coverage/coverage-final.json +0 -1
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -101
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov.info +0 -0
- package/dist/esm/src/index.d.ts +0 -18
- package/dist/esm/src/index.js +0 -369
- package/dist/esm/src/index.js.map +0 -1
- package/dist/esm/src/modules/is-this/index.d.ts +0 -136
- package/dist/esm/src/modules/is-this/index.js +0 -484
- package/dist/esm/src/modules/is-this/index.js.map +0 -1
- package/dist/esm/tests/helpers.test.d.ts +0 -1
- package/dist/esm/tests/helpers.test.js +0 -284
- package/dist/esm/tests/helpers.test.js.map +0 -1
- package/dist/esm/tests/index.test.d.ts +0 -1
- package/dist/esm/tests/index.test.js +0 -537
- package/dist/esm/tests/index.test.js.map +0 -1
- package/dist/esm/tests/readme.test.d.ts +0 -1
- package/dist/esm/tests/readme.test.js +0 -73
- package/dist/esm/tests/readme.test.js.map +0 -1
- package/jest.config.ts +0 -212
- package/src/index.ts +0 -467
- package/src/modules/is-this/index.ts +0 -682
- package/tests/helpers.test.ts +0 -331
- package/tests/index.test.ts +0 -681
- package/tests/readme.test.ts +0 -78
- package/tsconfig.json +0 -16
@@ -1,284 +0,0 @@
|
|
1
|
-
import LangJSON from "../src/index";
|
2
|
-
describe("LangJSON Helpers", () => {
|
3
|
-
const langJson = new LangJSON();
|
4
|
-
// var helper
|
5
|
-
test("var", () => {
|
6
|
-
const template = "{{#var name}}";
|
7
|
-
const result = langJson.applyTemplate(template, { name: "Devansh" });
|
8
|
-
expect(result).toBe("Devansh");
|
9
|
-
});
|
10
|
-
// manupilating helpers
|
11
|
-
test("each", () => {
|
12
|
-
const template = { "{{#each items}}": { name: "{{#var item}}" } };
|
13
|
-
const result = langJson.applyTemplate(template, {
|
14
|
-
items: ["Apple", "Banana", "Grapes"],
|
15
|
-
});
|
16
|
-
expect(result).toEqual([
|
17
|
-
{ name: "Apple" },
|
18
|
-
{ name: "Banana" },
|
19
|
-
{ name: "Grapes" },
|
20
|
-
]);
|
21
|
-
});
|
22
|
-
// manupilating helpers
|
23
|
-
test("loop", () => {
|
24
|
-
const template = {
|
25
|
-
"{{#loop items.length}}": { name: "{{#var items[(var index)]}}" },
|
26
|
-
};
|
27
|
-
const result = langJson.applyTemplate(template, {
|
28
|
-
items: ["Apple", "Banana", "Grapes"],
|
29
|
-
});
|
30
|
-
expect(result).toEqual([
|
31
|
-
{ name: "Apple" },
|
32
|
-
{ name: "Banana" },
|
33
|
-
{ name: "Grapes" },
|
34
|
-
]);
|
35
|
-
});
|
36
|
-
// String Helpers
|
37
|
-
test("uppercase", () => {
|
38
|
-
const template = "{{#uppercase 'hello'}}";
|
39
|
-
const result = langJson.applyTemplate(template, {});
|
40
|
-
expect(result).toBe("HELLO");
|
41
|
-
});
|
42
|
-
test("lowercase", () => {
|
43
|
-
const template = "{{#lowercase 'HELLO'}}";
|
44
|
-
const result = langJson.applyTemplate(template, {});
|
45
|
-
expect(result).toBe("hello");
|
46
|
-
});
|
47
|
-
test("capitalize", () => {
|
48
|
-
const template = "{{#capitalize 'hello'}}";
|
49
|
-
const result = langJson.applyTemplate(template, {});
|
50
|
-
expect(result).toBe("Hello");
|
51
|
-
});
|
52
|
-
test("trim", () => {
|
53
|
-
const template = "{{#trim ' hello '}}";
|
54
|
-
const result = langJson.applyTemplate(template, {});
|
55
|
-
expect(result).toBe("hello");
|
56
|
-
});
|
57
|
-
test("concat", () => {
|
58
|
-
const template = "{{#concat 'Hello' ' ' 'World'}}";
|
59
|
-
const result = langJson.applyTemplate(template, {});
|
60
|
-
expect(result).toBe("Hello World");
|
61
|
-
});
|
62
|
-
test("replace", () => {
|
63
|
-
const template = "{{#replace 'hello world' 'world' 'jest'}}";
|
64
|
-
const result = langJson.applyTemplate(template, {});
|
65
|
-
expect(result).toBe("hello jest");
|
66
|
-
});
|
67
|
-
test("split", () => {
|
68
|
-
const template = "{{#split 'a,b,c' ','}}";
|
69
|
-
const result = langJson.applyTemplate(template, {});
|
70
|
-
expect(result).toEqual(["a", "b", "c"]);
|
71
|
-
});
|
72
|
-
test("join", () => {
|
73
|
-
const template = "{{#join (split 'a,b,c' ',') '-'}}";
|
74
|
-
const result = langJson.applyTemplate(template, {});
|
75
|
-
expect(result).toBe("a-b-c");
|
76
|
-
});
|
77
|
-
test("contains", () => {
|
78
|
-
const template = "{{#contains 'a-nice-string' '-'}}";
|
79
|
-
const result = langJson.applyTemplate(template, {});
|
80
|
-
expect(result).toBe(true);
|
81
|
-
});
|
82
|
-
test("length", () => {
|
83
|
-
const template = "{{#length 'a-nice-string'}}";
|
84
|
-
const result = langJson.applyTemplate(template, {});
|
85
|
-
expect(result).toBe(13);
|
86
|
-
});
|
87
|
-
test("startsWith", () => {
|
88
|
-
const template = "{{#startsWith 'Hello, World' 'Hello'}}";
|
89
|
-
const result = langJson.applyTemplate(template, {});
|
90
|
-
expect(result).toBe(true);
|
91
|
-
});
|
92
|
-
test("endsWith", () => {
|
93
|
-
const template = "{{#endsWith 'Hello, World' 'World'}}";
|
94
|
-
const result = langJson.applyTemplate(template, {});
|
95
|
-
expect(result).toBe(true);
|
96
|
-
});
|
97
|
-
test("reverseString", () => {
|
98
|
-
const template = "{{#reverseString 'jest'}}";
|
99
|
-
const result = langJson.applyTemplate(template, {});
|
100
|
-
expect(result).toBe("tsej");
|
101
|
-
});
|
102
|
-
test("repeat", () => {
|
103
|
-
const template = "{{#repeat 'jest ' 3}}";
|
104
|
-
const result = langJson.applyTemplate(template, {});
|
105
|
-
expect(result).toBe("jest jest jest ");
|
106
|
-
});
|
107
|
-
// Mathematical Helpers
|
108
|
-
test("add", () => {
|
109
|
-
const template = "{{#add 1 2}}";
|
110
|
-
const result = langJson.applyTemplate(template, {});
|
111
|
-
expect(result).toBe(3);
|
112
|
-
});
|
113
|
-
test("subtract", () => {
|
114
|
-
const template = "{{#subtract 5 3}}";
|
115
|
-
const result = langJson.applyTemplate(template, {});
|
116
|
-
expect(result).toBe(2);
|
117
|
-
});
|
118
|
-
test("multiply", () => {
|
119
|
-
const template = "{{#multiply 2 3}}";
|
120
|
-
const result = langJson.applyTemplate(template, {});
|
121
|
-
expect(result).toBe(6);
|
122
|
-
});
|
123
|
-
test("divide", () => {
|
124
|
-
const template = "{{#divide 6 3}}";
|
125
|
-
const result = langJson.applyTemplate(template, {});
|
126
|
-
expect(result).toBe(2);
|
127
|
-
});
|
128
|
-
test("modulo", () => {
|
129
|
-
const template = "{{#modulo 5 2}}";
|
130
|
-
const result = langJson.applyTemplate(template, {});
|
131
|
-
expect(result).toBe(1);
|
132
|
-
});
|
133
|
-
test("max", () => {
|
134
|
-
const template = "{{#max 1 2 3 4}}";
|
135
|
-
const result = langJson.applyTemplate(template, {});
|
136
|
-
expect(result).toBe(4);
|
137
|
-
});
|
138
|
-
test("min", () => {
|
139
|
-
const template = "{{#min 1 2 3 4}}";
|
140
|
-
const result = langJson.applyTemplate(template, {});
|
141
|
-
expect(result).toBe(1);
|
142
|
-
});
|
143
|
-
test("round", () => {
|
144
|
-
const template = "{{#round 4.7}}";
|
145
|
-
const result = langJson.applyTemplate(template, {});
|
146
|
-
expect(result).toBe(5);
|
147
|
-
});
|
148
|
-
test("floor", () => {
|
149
|
-
const template = "{{#floor 4.7}}";
|
150
|
-
const result = langJson.applyTemplate(template, {});
|
151
|
-
expect(result).toBe(4);
|
152
|
-
});
|
153
|
-
test("ceil", () => {
|
154
|
-
const template = "{{#ceil 4.1}}";
|
155
|
-
const result = langJson.applyTemplate(template, {});
|
156
|
-
expect(result).toBe(5);
|
157
|
-
});
|
158
|
-
// Logical Helpers
|
159
|
-
test("if", () => {
|
160
|
-
const template = "{{#if true 'yes' 'no'}}";
|
161
|
-
const result = langJson.applyTemplate(template, {});
|
162
|
-
expect(result).toBe("yes");
|
163
|
-
});
|
164
|
-
test("and", () => {
|
165
|
-
const template = "{{#and true true}}";
|
166
|
-
const result = langJson.applyTemplate(template, {});
|
167
|
-
expect(result).toBe(true);
|
168
|
-
});
|
169
|
-
test("or", () => {
|
170
|
-
const template = "{{#or false true}}";
|
171
|
-
const result = langJson.applyTemplate(template, {});
|
172
|
-
expect(result).toBe(true);
|
173
|
-
});
|
174
|
-
test("not", () => {
|
175
|
-
const template = "{{#not false}}";
|
176
|
-
const result = langJson.applyTemplate(template, {});
|
177
|
-
expect(result).toBe(true);
|
178
|
-
});
|
179
|
-
// Date Helpers
|
180
|
-
test("getCurrentDate", () => {
|
181
|
-
const template = "{{#getCurrentDate}}";
|
182
|
-
const result = langJson.applyTemplate(template, {});
|
183
|
-
const currentDate = new Date().toISOString().split("T")[0];
|
184
|
-
expect(result).toBe(currentDate);
|
185
|
-
});
|
186
|
-
test("getCurrentTime", () => {
|
187
|
-
const template = "{{#getCurrentTime}}";
|
188
|
-
const result = langJson.applyTemplate(template, {});
|
189
|
-
const currentTime = new Date().toLocaleTimeString();
|
190
|
-
expect(result).toBe(currentTime);
|
191
|
-
});
|
192
|
-
// Array Helpers
|
193
|
-
test("arrayLength", () => {
|
194
|
-
const template = "{{#arrayLength (split '1,2,3' ',')}}";
|
195
|
-
const result = langJson.applyTemplate(template, {});
|
196
|
-
expect(result).toBe(3);
|
197
|
-
});
|
198
|
-
test("arrayIncludes", () => {
|
199
|
-
const template = "{{#arrayIncludes (split '1,2,3' ',') '2'}}";
|
200
|
-
const result = langJson.applyTemplate(template, {});
|
201
|
-
expect(result).toBe(true);
|
202
|
-
});
|
203
|
-
test("arrayJoin", () => {
|
204
|
-
const template = "{{#arrayJoin (split '1,2,3' ',') '-'}}";
|
205
|
-
const result = langJson.applyTemplate(template, {});
|
206
|
-
expect(result).toBe("1-2-3");
|
207
|
-
});
|
208
|
-
test("uniqueArray", () => {
|
209
|
-
const template = "{{#uniqueArray (split '1,1,2,3' ',')}}";
|
210
|
-
const result = langJson.applyTemplate(template, {});
|
211
|
-
expect(result).toEqual(["1", "2", "3"]);
|
212
|
-
});
|
213
|
-
// Object Helpers
|
214
|
-
test("objectKeys", () => {
|
215
|
-
const template = "{{#objectKeys data}}";
|
216
|
-
const result = langJson.applyTemplate(template, {
|
217
|
-
data: { a: 1, b: 2 },
|
218
|
-
});
|
219
|
-
expect(result).toEqual(["a", "b"]);
|
220
|
-
});
|
221
|
-
test("objectValues", () => {
|
222
|
-
const template = "{{#objectValues data}}";
|
223
|
-
const result = langJson.applyTemplate(template, {
|
224
|
-
data: { a: 1, b: 2 },
|
225
|
-
});
|
226
|
-
expect(result).toEqual([1, 2]);
|
227
|
-
});
|
228
|
-
test("mergeObjects", () => {
|
229
|
-
const template = "{{#mergeObjects data data2}}";
|
230
|
-
const result = langJson.applyTemplate(template, {
|
231
|
-
data: { a: 1, b: 2 },
|
232
|
-
data2: { c: 3, d: 4 },
|
233
|
-
});
|
234
|
-
expect(result).toEqual({ a: 1, b: 2, c: 3, d: 4 });
|
235
|
-
});
|
236
|
-
// Date Helpers
|
237
|
-
test("getCurrentDate", () => {
|
238
|
-
const template = "{{#getCurrentDate}}";
|
239
|
-
const result = langJson.applyTemplate(template, {});
|
240
|
-
const currentDate = new Date().toISOString().split("T")[0];
|
241
|
-
expect(result).toBe(currentDate);
|
242
|
-
});
|
243
|
-
test("getCurrentTime", () => {
|
244
|
-
const template = "{{#getCurrentTime}}";
|
245
|
-
const result = langJson.applyTemplate(template, {});
|
246
|
-
const currentTime = new Date().toLocaleTimeString();
|
247
|
-
expect(result).toBe(currentTime);
|
248
|
-
});
|
249
|
-
// Miscellaneous Helpers
|
250
|
-
test("jsonStringify", () => {
|
251
|
-
const template = "{{#jsonStringify data}}";
|
252
|
-
const result = langJson.applyTemplate(template, {
|
253
|
-
data: { a: 1, b: 2 },
|
254
|
-
});
|
255
|
-
expect(result).toBe('{"a":1,"b":2}');
|
256
|
-
});
|
257
|
-
test("deepEqual", () => {
|
258
|
-
const template = "{{#deepEqual data data2}}";
|
259
|
-
const result = langJson.applyTemplate(template, {
|
260
|
-
data: { a: 1 },
|
261
|
-
data2: { a: 1 },
|
262
|
-
});
|
263
|
-
expect(result).toBe(true);
|
264
|
-
});
|
265
|
-
test("delay", async () => {
|
266
|
-
const template = "{{#delay 100}}";
|
267
|
-
const start = Date.now();
|
268
|
-
await langJson.applyTemplate(template, {});
|
269
|
-
const end = Date.now();
|
270
|
-
expect(end - start).toBeGreaterThanOrEqual(100);
|
271
|
-
});
|
272
|
-
// Additional Helpers
|
273
|
-
test("camelToSnake", () => {
|
274
|
-
const template = "{{#camelToSnake 'camelCase'}}";
|
275
|
-
const result = langJson.applyTemplate(template, {});
|
276
|
-
expect(result).toBe("camel_case");
|
277
|
-
});
|
278
|
-
test("snakeToCamel", () => {
|
279
|
-
const template = "{{#snakeToCamel 'snake_case'}}";
|
280
|
-
const result = langJson.applyTemplate(template, {});
|
281
|
-
expect(result).toBe("snakeCase");
|
282
|
-
});
|
283
|
-
});
|
284
|
-
//# sourceMappingURL=helpers.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"helpers.test.js","sourceRoot":"","sources":["../../../tests/helpers.test.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,cAAc,CAAC;AAEpC,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;IAEhC,aAAa;IACb,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;QACf,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,E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