@wtasnorg/node-lib 0.0.6 → 0.0.7

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/docs/docs.json ADDED
@@ -0,0 +1,1295 @@
1
+ {
2
+ "schemaVersion": "2.0",
3
+ "id": 0,
4
+ "name": "@wtasnorg/node-lib",
5
+ "variant": "project",
6
+ "kind": 1,
7
+ "flags": {},
8
+ "children": [
9
+ {
10
+ "id": 27,
11
+ "name": "FileSystemDependencies",
12
+ "variant": "declaration",
13
+ "kind": 256,
14
+ "flags": {},
15
+ "children": [
16
+ {
17
+ "id": 28,
18
+ "name": "readdir",
19
+ "variant": "declaration",
20
+ "kind": 1024,
21
+ "flags": {},
22
+ "sources": [
23
+ {
24
+ "fileName": "find.ts",
25
+ "line": 4,
26
+ "character": 4,
27
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
28
+ }
29
+ ],
30
+ "type": {
31
+ "type": "reflection",
32
+ "declaration": {
33
+ "id": 29,
34
+ "name": "__type",
35
+ "variant": "declaration",
36
+ "kind": 65536,
37
+ "flags": {},
38
+ "sources": [
39
+ {
40
+ "fileName": "find.ts",
41
+ "line": 4,
42
+ "character": 13,
43
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
44
+ }
45
+ ],
46
+ "signatures": [
47
+ {
48
+ "id": 30,
49
+ "name": "__type",
50
+ "variant": "signature",
51
+ "kind": 4096,
52
+ "flags": {},
53
+ "sources": [
54
+ {
55
+ "fileName": "find.ts",
56
+ "line": 4,
57
+ "character": 13,
58
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
59
+ }
60
+ ],
61
+ "parameters": [
62
+ {
63
+ "id": 31,
64
+ "name": "path",
65
+ "variant": "param",
66
+ "kind": 32768,
67
+ "flags": {},
68
+ "type": {
69
+ "type": "intrinsic",
70
+ "name": "string"
71
+ }
72
+ },
73
+ {
74
+ "id": 32,
75
+ "name": "opts",
76
+ "variant": "param",
77
+ "kind": 32768,
78
+ "flags": {},
79
+ "type": {
80
+ "type": "reflection",
81
+ "declaration": {
82
+ "id": 33,
83
+ "name": "__type",
84
+ "variant": "declaration",
85
+ "kind": 65536,
86
+ "flags": {},
87
+ "children": [
88
+ {
89
+ "id": 34,
90
+ "name": "withFileTypes",
91
+ "variant": "declaration",
92
+ "kind": 1024,
93
+ "flags": {},
94
+ "sources": [
95
+ {
96
+ "fileName": "find.ts",
97
+ "line": 4,
98
+ "character": 36,
99
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
100
+ }
101
+ ],
102
+ "type": {
103
+ "type": "literal",
104
+ "value": true
105
+ }
106
+ }
107
+ ],
108
+ "groups": [
109
+ {
110
+ "title": "Properties",
111
+ "children": [
112
+ 34
113
+ ]
114
+ }
115
+ ],
116
+ "sources": [
117
+ {
118
+ "fileName": "find.ts",
119
+ "line": 4,
120
+ "character": 34,
121
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
122
+ }
123
+ ]
124
+ }
125
+ }
126
+ }
127
+ ],
128
+ "type": {
129
+ "type": "reference",
130
+ "target": {
131
+ "packageName": "typescript",
132
+ "packagePath": "lib/lib.es5.d.ts",
133
+ "qualifiedName": "Promise"
134
+ },
135
+ "typeArguments": [
136
+ {
137
+ "type": "array",
138
+ "elementType": {
139
+ "type": "reflection",
140
+ "declaration": {
141
+ "id": 35,
142
+ "name": "__type",
143
+ "variant": "declaration",
144
+ "kind": 65536,
145
+ "flags": {},
146
+ "children": [
147
+ {
148
+ "id": 36,
149
+ "name": "name",
150
+ "variant": "declaration",
151
+ "kind": 1024,
152
+ "flags": {},
153
+ "sources": [
154
+ {
155
+ "fileName": "find.ts",
156
+ "line": 4,
157
+ "character": 72,
158
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
159
+ }
160
+ ],
161
+ "type": {
162
+ "type": "intrinsic",
163
+ "name": "string"
164
+ }
165
+ },
166
+ {
167
+ "id": 37,
168
+ "name": "isDirectory",
169
+ "variant": "declaration",
170
+ "kind": 2048,
171
+ "flags": {},
172
+ "sources": [
173
+ {
174
+ "fileName": "find.ts",
175
+ "line": 4,
176
+ "character": 86,
177
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
178
+ }
179
+ ],
180
+ "signatures": [
181
+ {
182
+ "id": 38,
183
+ "name": "isDirectory",
184
+ "variant": "signature",
185
+ "kind": 4096,
186
+ "flags": {},
187
+ "sources": [
188
+ {
189
+ "fileName": "find.ts",
190
+ "line": 4,
191
+ "character": 86,
192
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
193
+ }
194
+ ],
195
+ "type": {
196
+ "type": "intrinsic",
197
+ "name": "boolean"
198
+ }
199
+ }
200
+ ]
201
+ }
202
+ ],
203
+ "groups": [
204
+ {
205
+ "title": "Properties",
206
+ "children": [
207
+ 36
208
+ ]
209
+ },
210
+ {
211
+ "title": "Methods",
212
+ "children": [
213
+ 37
214
+ ]
215
+ }
216
+ ],
217
+ "sources": [
218
+ {
219
+ "fileName": "find.ts",
220
+ "line": 4,
221
+ "character": 70,
222
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L4"
223
+ }
224
+ ]
225
+ }
226
+ }
227
+ }
228
+ ],
229
+ "name": "Promise",
230
+ "package": "typescript"
231
+ }
232
+ }
233
+ ]
234
+ }
235
+ }
236
+ },
237
+ {
238
+ "id": 39,
239
+ "name": "stat",
240
+ "variant": "declaration",
241
+ "kind": 1024,
242
+ "flags": {},
243
+ "sources": [
244
+ {
245
+ "fileName": "find.ts",
246
+ "line": 5,
247
+ "character": 4,
248
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
249
+ }
250
+ ],
251
+ "type": {
252
+ "type": "reflection",
253
+ "declaration": {
254
+ "id": 40,
255
+ "name": "__type",
256
+ "variant": "declaration",
257
+ "kind": 65536,
258
+ "flags": {},
259
+ "sources": [
260
+ {
261
+ "fileName": "find.ts",
262
+ "line": 5,
263
+ "character": 10,
264
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
265
+ }
266
+ ],
267
+ "signatures": [
268
+ {
269
+ "id": 41,
270
+ "name": "__type",
271
+ "variant": "signature",
272
+ "kind": 4096,
273
+ "flags": {},
274
+ "sources": [
275
+ {
276
+ "fileName": "find.ts",
277
+ "line": 5,
278
+ "character": 10,
279
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
280
+ }
281
+ ],
282
+ "parameters": [
283
+ {
284
+ "id": 42,
285
+ "name": "path",
286
+ "variant": "param",
287
+ "kind": 32768,
288
+ "flags": {},
289
+ "type": {
290
+ "type": "intrinsic",
291
+ "name": "string"
292
+ }
293
+ }
294
+ ],
295
+ "type": {
296
+ "type": "reference",
297
+ "target": {
298
+ "packageName": "typescript",
299
+ "packagePath": "lib/lib.es5.d.ts",
300
+ "qualifiedName": "Promise"
301
+ },
302
+ "typeArguments": [
303
+ {
304
+ "type": "reflection",
305
+ "declaration": {
306
+ "id": 43,
307
+ "name": "__type",
308
+ "variant": "declaration",
309
+ "kind": 65536,
310
+ "flags": {},
311
+ "children": [
312
+ {
313
+ "id": 44,
314
+ "name": "isDirectory",
315
+ "variant": "declaration",
316
+ "kind": 2048,
317
+ "flags": {},
318
+ "sources": [
319
+ {
320
+ "fileName": "find.ts",
321
+ "line": 5,
322
+ "character": 38,
323
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
324
+ }
325
+ ],
326
+ "signatures": [
327
+ {
328
+ "id": 45,
329
+ "name": "isDirectory",
330
+ "variant": "signature",
331
+ "kind": 4096,
332
+ "flags": {},
333
+ "sources": [
334
+ {
335
+ "fileName": "find.ts",
336
+ "line": 5,
337
+ "character": 38,
338
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
339
+ }
340
+ ],
341
+ "type": {
342
+ "type": "intrinsic",
343
+ "name": "boolean"
344
+ }
345
+ }
346
+ ]
347
+ }
348
+ ],
349
+ "groups": [
350
+ {
351
+ "title": "Methods",
352
+ "children": [
353
+ 44
354
+ ]
355
+ }
356
+ ],
357
+ "sources": [
358
+ {
359
+ "fileName": "find.ts",
360
+ "line": 5,
361
+ "character": 36,
362
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L5"
363
+ }
364
+ ]
365
+ }
366
+ }
367
+ ],
368
+ "name": "Promise",
369
+ "package": "typescript"
370
+ }
371
+ }
372
+ ]
373
+ }
374
+ }
375
+ }
376
+ ],
377
+ "groups": [
378
+ {
379
+ "title": "Properties",
380
+ "children": [
381
+ 28,
382
+ 39
383
+ ]
384
+ }
385
+ ],
386
+ "sources": [
387
+ {
388
+ "fileName": "find.ts",
389
+ "line": 3,
390
+ "character": 10,
391
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L3"
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "id": 14,
397
+ "name": "FindDirectoriesOptions",
398
+ "variant": "declaration",
399
+ "kind": 256,
400
+ "flags": {},
401
+ "children": [
402
+ {
403
+ "id": 17,
404
+ "name": "allowlist",
405
+ "variant": "declaration",
406
+ "kind": 1024,
407
+ "flags": {
408
+ "isOptional": true
409
+ },
410
+ "sources": [
411
+ {
412
+ "fileName": "find.ts",
413
+ "line": 11,
414
+ "character": 4,
415
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11"
416
+ }
417
+ ],
418
+ "type": {
419
+ "type": "union",
420
+ "types": [
421
+ {
422
+ "type": "array",
423
+ "elementType": {
424
+ "type": "intrinsic",
425
+ "name": "string"
426
+ }
427
+ },
428
+ {
429
+ "type": "reflection",
430
+ "declaration": {
431
+ "id": 18,
432
+ "name": "__type",
433
+ "variant": "declaration",
434
+ "kind": 65536,
435
+ "flags": {},
436
+ "sources": [
437
+ {
438
+ "fileName": "find.ts",
439
+ "line": 11,
440
+ "character": 28,
441
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11"
442
+ }
443
+ ],
444
+ "signatures": [
445
+ {
446
+ "id": 19,
447
+ "name": "__type",
448
+ "variant": "signature",
449
+ "kind": 4096,
450
+ "flags": {},
451
+ "sources": [
452
+ {
453
+ "fileName": "find.ts",
454
+ "line": 11,
455
+ "character": 28,
456
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L11"
457
+ }
458
+ ],
459
+ "parameters": [
460
+ {
461
+ "id": 20,
462
+ "name": "absPath",
463
+ "variant": "param",
464
+ "kind": 32768,
465
+ "flags": {},
466
+ "type": {
467
+ "type": "intrinsic",
468
+ "name": "string"
469
+ }
470
+ },
471
+ {
472
+ "id": 21,
473
+ "name": "name",
474
+ "variant": "param",
475
+ "kind": 32768,
476
+ "flags": {},
477
+ "type": {
478
+ "type": "intrinsic",
479
+ "name": "string"
480
+ }
481
+ }
482
+ ],
483
+ "type": {
484
+ "type": "intrinsic",
485
+ "name": "boolean"
486
+ }
487
+ }
488
+ ]
489
+ }
490
+ }
491
+ ]
492
+ }
493
+ },
494
+ {
495
+ "id": 22,
496
+ "name": "blocklist",
497
+ "variant": "declaration",
498
+ "kind": 1024,
499
+ "flags": {
500
+ "isOptional": true
501
+ },
502
+ "sources": [
503
+ {
504
+ "fileName": "find.ts",
505
+ "line": 12,
506
+ "character": 4,
507
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12"
508
+ }
509
+ ],
510
+ "type": {
511
+ "type": "union",
512
+ "types": [
513
+ {
514
+ "type": "array",
515
+ "elementType": {
516
+ "type": "intrinsic",
517
+ "name": "string"
518
+ }
519
+ },
520
+ {
521
+ "type": "reflection",
522
+ "declaration": {
523
+ "id": 23,
524
+ "name": "__type",
525
+ "variant": "declaration",
526
+ "kind": 65536,
527
+ "flags": {},
528
+ "sources": [
529
+ {
530
+ "fileName": "find.ts",
531
+ "line": 12,
532
+ "character": 28,
533
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12"
534
+ }
535
+ ],
536
+ "signatures": [
537
+ {
538
+ "id": 24,
539
+ "name": "__type",
540
+ "variant": "signature",
541
+ "kind": 4096,
542
+ "flags": {},
543
+ "sources": [
544
+ {
545
+ "fileName": "find.ts",
546
+ "line": 12,
547
+ "character": 28,
548
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L12"
549
+ }
550
+ ],
551
+ "parameters": [
552
+ {
553
+ "id": 25,
554
+ "name": "absPath",
555
+ "variant": "param",
556
+ "kind": 32768,
557
+ "flags": {},
558
+ "type": {
559
+ "type": "intrinsic",
560
+ "name": "string"
561
+ }
562
+ },
563
+ {
564
+ "id": 26,
565
+ "name": "name",
566
+ "variant": "param",
567
+ "kind": 32768,
568
+ "flags": {},
569
+ "type": {
570
+ "type": "intrinsic",
571
+ "name": "string"
572
+ }
573
+ }
574
+ ],
575
+ "type": {
576
+ "type": "intrinsic",
577
+ "name": "boolean"
578
+ }
579
+ }
580
+ ]
581
+ }
582
+ }
583
+ ]
584
+ }
585
+ },
586
+ {
587
+ "id": 16,
588
+ "name": "followSymlinks",
589
+ "variant": "declaration",
590
+ "kind": 1024,
591
+ "flags": {
592
+ "isOptional": true
593
+ },
594
+ "sources": [
595
+ {
596
+ "fileName": "find.ts",
597
+ "line": 10,
598
+ "character": 4,
599
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L10"
600
+ }
601
+ ],
602
+ "type": {
603
+ "type": "intrinsic",
604
+ "name": "boolean"
605
+ }
606
+ },
607
+ {
608
+ "id": 15,
609
+ "name": "maxDepth",
610
+ "variant": "declaration",
611
+ "kind": 1024,
612
+ "flags": {
613
+ "isOptional": true
614
+ },
615
+ "sources": [
616
+ {
617
+ "fileName": "find.ts",
618
+ "line": 9,
619
+ "character": 4,
620
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L9"
621
+ }
622
+ ],
623
+ "type": {
624
+ "type": "intrinsic",
625
+ "name": "number"
626
+ }
627
+ }
628
+ ],
629
+ "groups": [
630
+ {
631
+ "title": "Properties",
632
+ "children": [
633
+ 17,
634
+ 22,
635
+ 16,
636
+ 15
637
+ ]
638
+ }
639
+ ],
640
+ "sources": [
641
+ {
642
+ "fileName": "find.ts",
643
+ "line": 8,
644
+ "character": 10,
645
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L8"
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "id": 7,
651
+ "name": "createFindDirectories",
652
+ "variant": "declaration",
653
+ "kind": 64,
654
+ "flags": {},
655
+ "sources": [
656
+ {
657
+ "fileName": "find.ts",
658
+ "line": 19,
659
+ "character": 9,
660
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L19"
661
+ }
662
+ ],
663
+ "signatures": [
664
+ {
665
+ "id": 8,
666
+ "name": "createFindDirectories",
667
+ "variant": "signature",
668
+ "kind": 4096,
669
+ "flags": {},
670
+ "comment": {
671
+ "summary": [
672
+ {
673
+ "kind": "text",
674
+ "text": "Factory that produces an async findDirectories function with\ninjected filesystem dependencies for full testability."
675
+ }
676
+ ]
677
+ },
678
+ "sources": [
679
+ {
680
+ "fileName": "find.ts",
681
+ "line": 19,
682
+ "character": 9,
683
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L19"
684
+ }
685
+ ],
686
+ "parameters": [
687
+ {
688
+ "id": 9,
689
+ "name": "deps",
690
+ "variant": "param",
691
+ "kind": 32768,
692
+ "flags": {},
693
+ "type": {
694
+ "type": "reference",
695
+ "target": 27,
696
+ "name": "FileSystemDependencies",
697
+ "package": "@wtasnorg/node-lib"
698
+ }
699
+ }
700
+ ],
701
+ "type": {
702
+ "type": "reflection",
703
+ "declaration": {
704
+ "id": 10,
705
+ "name": "__type",
706
+ "variant": "declaration",
707
+ "kind": 65536,
708
+ "flags": {},
709
+ "sources": [
710
+ {
711
+ "fileName": "find.ts",
712
+ "line": 23,
713
+ "character": 26,
714
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L23"
715
+ }
716
+ ],
717
+ "signatures": [
718
+ {
719
+ "id": 11,
720
+ "name": "__type",
721
+ "variant": "signature",
722
+ "kind": 4096,
723
+ "flags": {},
724
+ "sources": [
725
+ {
726
+ "fileName": "find.ts",
727
+ "line": 23,
728
+ "character": 26,
729
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/find.ts#L23"
730
+ }
731
+ ],
732
+ "parameters": [
733
+ {
734
+ "id": 12,
735
+ "name": "root",
736
+ "variant": "param",
737
+ "kind": 32768,
738
+ "flags": {},
739
+ "type": {
740
+ "type": "intrinsic",
741
+ "name": "string"
742
+ }
743
+ },
744
+ {
745
+ "id": 13,
746
+ "name": "options",
747
+ "variant": "param",
748
+ "kind": 32768,
749
+ "flags": {},
750
+ "type": {
751
+ "type": "reference",
752
+ "target": 14,
753
+ "name": "FindDirectoriesOptions",
754
+ "package": "@wtasnorg/node-lib"
755
+ },
756
+ "defaultValue": "{}"
757
+ }
758
+ ],
759
+ "type": {
760
+ "type": "reference",
761
+ "target": {
762
+ "packageName": "typescript",
763
+ "packagePath": "lib/lib.es5.d.ts",
764
+ "qualifiedName": "Promise"
765
+ },
766
+ "typeArguments": [
767
+ {
768
+ "type": "array",
769
+ "elementType": {
770
+ "type": "intrinsic",
771
+ "name": "string"
772
+ }
773
+ }
774
+ ],
775
+ "name": "Promise",
776
+ "package": "typescript"
777
+ }
778
+ }
779
+ ]
780
+ }
781
+ }
782
+ }
783
+ ]
784
+ },
785
+ {
786
+ "id": 1,
787
+ "name": "hello",
788
+ "variant": "declaration",
789
+ "kind": 64,
790
+ "flags": {},
791
+ "sources": [
792
+ {
793
+ "fileName": "hello.ts",
794
+ "line": 6,
795
+ "character": 15,
796
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/hello.ts#L6"
797
+ }
798
+ ],
799
+ "signatures": [
800
+ {
801
+ "id": 2,
802
+ "name": "hello",
803
+ "variant": "signature",
804
+ "kind": 4096,
805
+ "flags": {},
806
+ "comment": {
807
+ "summary": [
808
+ {
809
+ "kind": "text",
810
+ "text": "A sample function that should work to test if lib is installed correctly."
811
+ }
812
+ ],
813
+ "blockTags": [
814
+ {
815
+ "tag": "@returns",
816
+ "content": [
817
+ {
818
+ "kind": "text",
819
+ "text": "hello message"
820
+ }
821
+ ]
822
+ }
823
+ ]
824
+ },
825
+ "sources": [
826
+ {
827
+ "fileName": "hello.ts",
828
+ "line": 6,
829
+ "character": 15,
830
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/hello.ts#L6"
831
+ }
832
+ ],
833
+ "type": {
834
+ "type": "reference",
835
+ "target": {
836
+ "packageName": "typescript",
837
+ "packagePath": "lib/lib.es5.d.ts",
838
+ "qualifiedName": "Promise"
839
+ },
840
+ "typeArguments": [
841
+ {
842
+ "type": "intrinsic",
843
+ "name": "string"
844
+ }
845
+ ],
846
+ "name": "Promise",
847
+ "package": "typescript"
848
+ }
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "id": 3,
854
+ "name": "pojo",
855
+ "variant": "declaration",
856
+ "kind": 64,
857
+ "flags": {},
858
+ "sources": [
859
+ {
860
+ "fileName": "pojo.ts",
861
+ "line": 10,
862
+ "character": 9,
863
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/pojo.ts#L10"
864
+ }
865
+ ],
866
+ "signatures": [
867
+ {
868
+ "id": 4,
869
+ "name": "pojo",
870
+ "variant": "signature",
871
+ "kind": 4096,
872
+ "flags": {},
873
+ "comment": {
874
+ "summary": [
875
+ {
876
+ "kind": "text",
877
+ "text": "Convert a class instance into a plain JavaScript object.\nCopies only the instance's own enumerable data properties\nand excludes methods or prototype values."
878
+ }
879
+ ],
880
+ "blockTags": [
881
+ {
882
+ "tag": "@returns",
883
+ "content": [
884
+ {
885
+ "kind": "text",
886
+ "text": "A plain JavaScript object containing only data fields."
887
+ }
888
+ ]
889
+ }
890
+ ]
891
+ },
892
+ "sources": [
893
+ {
894
+ "fileName": "pojo.ts",
895
+ "line": 10,
896
+ "character": 9,
897
+ "url": "https://github.com/wtasg/node-lib/blob/5ccb6028429af225c9ab29e1b6007075025c601f/src/pojo.ts#L10"
898
+ }
899
+ ],
900
+ "typeParameters": [
901
+ {
902
+ "id": 5,
903
+ "name": "T",
904
+ "variant": "typeParam",
905
+ "kind": 131072,
906
+ "flags": {},
907
+ "type": {
908
+ "type": "intrinsic",
909
+ "name": "object"
910
+ }
911
+ }
912
+ ],
913
+ "parameters": [
914
+ {
915
+ "id": 6,
916
+ "name": "instance",
917
+ "variant": "param",
918
+ "kind": 32768,
919
+ "flags": {},
920
+ "comment": {
921
+ "summary": [
922
+ {
923
+ "kind": "text",
924
+ "text": "A class instance to convert."
925
+ }
926
+ ]
927
+ },
928
+ "type": {
929
+ "type": "reference",
930
+ "target": 5,
931
+ "name": "T",
932
+ "package": "@wtasnorg/node-lib",
933
+ "refersToTypeParameter": true
934
+ }
935
+ }
936
+ ],
937
+ "type": {
938
+ "type": "reference",
939
+ "target": {
940
+ "packageName": "typescript",
941
+ "packagePath": "lib/lib.es5.d.ts",
942
+ "qualifiedName": "Record"
943
+ },
944
+ "typeArguments": [
945
+ {
946
+ "type": "intrinsic",
947
+ "name": "string"
948
+ },
949
+ {
950
+ "type": "intrinsic",
951
+ "name": "unknown"
952
+ }
953
+ ],
954
+ "name": "Record",
955
+ "package": "typescript"
956
+ }
957
+ }
958
+ ]
959
+ }
960
+ ],
961
+ "groups": [
962
+ {
963
+ "title": "Interfaces",
964
+ "children": [
965
+ 27,
966
+ 14
967
+ ]
968
+ },
969
+ {
970
+ "title": "Functions",
971
+ "children": [
972
+ 7,
973
+ 1,
974
+ 3
975
+ ]
976
+ }
977
+ ],
978
+ "packageName": "@wtasnorg/node-lib",
979
+ "readme": [
980
+ {
981
+ "kind": "text",
982
+ "text": "# @wtasnorg/node-lib\n\nA library project for nodejs. #nodejs #typescript #library\n\n- [npm org](https://www.npmjs.com/org/wtasnorg)\n- [github repo](https://github.com/wtasg/node-lib)\n\n## Functions\n\n1. hello (for debugging)\n2. "
983
+ },
984
+ {
985
+ "kind": "code",
986
+ "text": "`pojo`"
987
+ },
988
+ {
989
+ "kind": "text",
990
+ "text": " for converting class objects to Plain Old Javascript Objects.\n3. "
991
+ },
992
+ {
993
+ "kind": "code",
994
+ "text": "`createFindDirectories`"
995
+ },
996
+ {
997
+ "kind": "text",
998
+ "text": " as a factory for finding directories; think "
999
+ },
1000
+ {
1001
+ "kind": "code",
1002
+ "text": "`find path -type d`"
1003
+ },
1004
+ {
1005
+ "kind": "text",
1006
+ "text": ".\n\n## Develop\n\n"
1007
+ },
1008
+ {
1009
+ "kind": "code",
1010
+ "text": "```bash\ngit clone git@github.com:wtasg/node-lib.git\nnpm run build\nnpm run test\n# make changes...\n```"
1011
+ },
1012
+ {
1013
+ "kind": "text",
1014
+ "text": "\n\nWe are using "
1015
+ },
1016
+ {
1017
+ "kind": "code",
1018
+ "text": "`node --test`"
1019
+ },
1020
+ {
1021
+ "kind": "text",
1022
+ "text": " for testing.\n\n## Install and Usage\n\n"
1023
+ },
1024
+ {
1025
+ "kind": "code",
1026
+ "text": "```bash\nnpm install @wtasnorg/node-lib\n```"
1027
+ },
1028
+ {
1029
+ "kind": "text",
1030
+ "text": "\n\n"
1031
+ },
1032
+ {
1033
+ "kind": "code",
1034
+ "text": "```typescript\n# check if you can run code\nimport {hello} from \"@wtasnorg/node-lib\";\n\nawait hello(); \n// \"hello from @wtasnorg/node-lib\"\n```"
1035
+ },
1036
+ {
1037
+ "kind": "text",
1038
+ "text": "\n\n## License: MIT\n\n[MIT License file]("
1039
+ },
1040
+ {
1041
+ "kind": "relative-link",
1042
+ "text": "LICENSE",
1043
+ "target": 2
1044
+ },
1045
+ {
1046
+ "kind": "text",
1047
+ "text": ")"
1048
+ }
1049
+ ],
1050
+ "symbolIdMap": {
1051
+ "0": {
1052
+ "packageName": "@wtasnorg/node-lib",
1053
+ "packagePath": "src/index.ts",
1054
+ "qualifiedName": ""
1055
+ },
1056
+ "1": {
1057
+ "packageName": "@wtasnorg/node-lib",
1058
+ "packagePath": "src/hello.ts",
1059
+ "qualifiedName": "hello"
1060
+ },
1061
+ "2": {
1062
+ "packageName": "@wtasnorg/node-lib",
1063
+ "packagePath": "src/hello.ts",
1064
+ "qualifiedName": "hello"
1065
+ },
1066
+ "3": {
1067
+ "packageName": "@wtasnorg/node-lib",
1068
+ "packagePath": "src/pojo.ts",
1069
+ "qualifiedName": "pojo"
1070
+ },
1071
+ "4": {
1072
+ "packageName": "@wtasnorg/node-lib",
1073
+ "packagePath": "src/pojo.ts",
1074
+ "qualifiedName": "pojo"
1075
+ },
1076
+ "5": {
1077
+ "packageName": "@wtasnorg/node-lib",
1078
+ "packagePath": "src/pojo.ts",
1079
+ "qualifiedName": "T"
1080
+ },
1081
+ "6": {
1082
+ "packageName": "@wtasnorg/node-lib",
1083
+ "packagePath": "src/pojo.ts",
1084
+ "qualifiedName": "instance"
1085
+ },
1086
+ "7": {
1087
+ "packageName": "@wtasnorg/node-lib",
1088
+ "packagePath": "src/find.ts",
1089
+ "qualifiedName": "createFindDirectories"
1090
+ },
1091
+ "8": {
1092
+ "packageName": "@wtasnorg/node-lib",
1093
+ "packagePath": "src/find.ts",
1094
+ "qualifiedName": "createFindDirectories"
1095
+ },
1096
+ "9": {
1097
+ "packageName": "@wtasnorg/node-lib",
1098
+ "packagePath": "src/find.ts",
1099
+ "qualifiedName": "deps"
1100
+ },
1101
+ "10": {
1102
+ "packageName": "@wtasnorg/node-lib",
1103
+ "packagePath": "src/find.ts",
1104
+ "qualifiedName": "findDirectories"
1105
+ },
1106
+ "11": {
1107
+ "packageName": "@wtasnorg/node-lib",
1108
+ "packagePath": "src/find.ts",
1109
+ "qualifiedName": "findDirectories"
1110
+ },
1111
+ "12": {
1112
+ "packageName": "@wtasnorg/node-lib",
1113
+ "packagePath": "src/find.ts",
1114
+ "qualifiedName": "root"
1115
+ },
1116
+ "13": {
1117
+ "packageName": "@wtasnorg/node-lib",
1118
+ "packagePath": "src/find.ts",
1119
+ "qualifiedName": "options"
1120
+ },
1121
+ "14": {
1122
+ "packageName": "@wtasnorg/node-lib",
1123
+ "packagePath": "src/find.ts",
1124
+ "qualifiedName": "FindDirectoriesOptions"
1125
+ },
1126
+ "15": {
1127
+ "packageName": "@wtasnorg/node-lib",
1128
+ "packagePath": "src/find.ts",
1129
+ "qualifiedName": "FindDirectoriesOptions.maxDepth"
1130
+ },
1131
+ "16": {
1132
+ "packageName": "@wtasnorg/node-lib",
1133
+ "packagePath": "src/find.ts",
1134
+ "qualifiedName": "FindDirectoriesOptions.followSymlinks"
1135
+ },
1136
+ "17": {
1137
+ "packageName": "@wtasnorg/node-lib",
1138
+ "packagePath": "src/find.ts",
1139
+ "qualifiedName": "FindDirectoriesOptions.allowlist"
1140
+ },
1141
+ "18": {
1142
+ "packageName": "@wtasnorg/node-lib",
1143
+ "packagePath": "src/find.ts",
1144
+ "qualifiedName": "__type"
1145
+ },
1146
+ "19": {
1147
+ "packageName": "@wtasnorg/node-lib",
1148
+ "packagePath": "src/find.ts",
1149
+ "qualifiedName": "__type"
1150
+ },
1151
+ "20": {
1152
+ "packageName": "@wtasnorg/node-lib",
1153
+ "packagePath": "src/find.ts",
1154
+ "qualifiedName": "absPath"
1155
+ },
1156
+ "21": {
1157
+ "packageName": "@wtasnorg/node-lib",
1158
+ "packagePath": "src/find.ts",
1159
+ "qualifiedName": "name"
1160
+ },
1161
+ "22": {
1162
+ "packageName": "@wtasnorg/node-lib",
1163
+ "packagePath": "src/find.ts",
1164
+ "qualifiedName": "FindDirectoriesOptions.blocklist"
1165
+ },
1166
+ "23": {
1167
+ "packageName": "@wtasnorg/node-lib",
1168
+ "packagePath": "src/find.ts",
1169
+ "qualifiedName": "__type"
1170
+ },
1171
+ "24": {
1172
+ "packageName": "@wtasnorg/node-lib",
1173
+ "packagePath": "src/find.ts",
1174
+ "qualifiedName": "__type"
1175
+ },
1176
+ "25": {
1177
+ "packageName": "@wtasnorg/node-lib",
1178
+ "packagePath": "src/find.ts",
1179
+ "qualifiedName": "absPath"
1180
+ },
1181
+ "26": {
1182
+ "packageName": "@wtasnorg/node-lib",
1183
+ "packagePath": "src/find.ts",
1184
+ "qualifiedName": "name"
1185
+ },
1186
+ "27": {
1187
+ "packageName": "@wtasnorg/node-lib",
1188
+ "packagePath": "src/find.ts",
1189
+ "qualifiedName": "FileSystemDependencies"
1190
+ },
1191
+ "28": {
1192
+ "packageName": "@wtasnorg/node-lib",
1193
+ "packagePath": "src/find.ts",
1194
+ "qualifiedName": "FileSystemDependencies.readdir"
1195
+ },
1196
+ "29": {
1197
+ "packageName": "@wtasnorg/node-lib",
1198
+ "packagePath": "src/find.ts",
1199
+ "qualifiedName": "__type"
1200
+ },
1201
+ "30": {
1202
+ "packageName": "@wtasnorg/node-lib",
1203
+ "packagePath": "src/find.ts",
1204
+ "qualifiedName": "__type"
1205
+ },
1206
+ "31": {
1207
+ "packageName": "@wtasnorg/node-lib",
1208
+ "packagePath": "src/find.ts",
1209
+ "qualifiedName": "path"
1210
+ },
1211
+ "32": {
1212
+ "packageName": "@wtasnorg/node-lib",
1213
+ "packagePath": "src/find.ts",
1214
+ "qualifiedName": "opts"
1215
+ },
1216
+ "33": {
1217
+ "packageName": "@wtasnorg/node-lib",
1218
+ "packagePath": "src/find.ts",
1219
+ "qualifiedName": "__type"
1220
+ },
1221
+ "34": {
1222
+ "packageName": "@wtasnorg/node-lib",
1223
+ "packagePath": "src/find.ts",
1224
+ "qualifiedName": "__type.withFileTypes"
1225
+ },
1226
+ "35": {
1227
+ "packageName": "@wtasnorg/node-lib",
1228
+ "packagePath": "src/find.ts",
1229
+ "qualifiedName": "__type"
1230
+ },
1231
+ "36": {
1232
+ "packageName": "@wtasnorg/node-lib",
1233
+ "packagePath": "src/find.ts",
1234
+ "qualifiedName": "__type.name"
1235
+ },
1236
+ "37": {
1237
+ "packageName": "@wtasnorg/node-lib",
1238
+ "packagePath": "src/find.ts",
1239
+ "qualifiedName": "__type.isDirectory"
1240
+ },
1241
+ "38": {
1242
+ "packageName": "@wtasnorg/node-lib",
1243
+ "packagePath": "src/find.ts",
1244
+ "qualifiedName": "__type.isDirectory"
1245
+ },
1246
+ "39": {
1247
+ "packageName": "@wtasnorg/node-lib",
1248
+ "packagePath": "src/find.ts",
1249
+ "qualifiedName": "FileSystemDependencies.stat"
1250
+ },
1251
+ "40": {
1252
+ "packageName": "@wtasnorg/node-lib",
1253
+ "packagePath": "src/find.ts",
1254
+ "qualifiedName": "__type"
1255
+ },
1256
+ "41": {
1257
+ "packageName": "@wtasnorg/node-lib",
1258
+ "packagePath": "src/find.ts",
1259
+ "qualifiedName": "__type"
1260
+ },
1261
+ "42": {
1262
+ "packageName": "@wtasnorg/node-lib",
1263
+ "packagePath": "src/find.ts",
1264
+ "qualifiedName": "path"
1265
+ },
1266
+ "43": {
1267
+ "packageName": "@wtasnorg/node-lib",
1268
+ "packagePath": "src/find.ts",
1269
+ "qualifiedName": "__type"
1270
+ },
1271
+ "44": {
1272
+ "packageName": "@wtasnorg/node-lib",
1273
+ "packagePath": "src/find.ts",
1274
+ "qualifiedName": "__type.isDirectory"
1275
+ },
1276
+ "45": {
1277
+ "packageName": "@wtasnorg/node-lib",
1278
+ "packagePath": "src/find.ts",
1279
+ "qualifiedName": "__type.isDirectory"
1280
+ }
1281
+ },
1282
+ "files": {
1283
+ "entries": {
1284
+ "1": "src/index.ts",
1285
+ "2": "LICENSE",
1286
+ "3": "README.md",
1287
+ "4": ""
1288
+ },
1289
+ "reflections": {
1290
+ "1": 0,
1291
+ "3": 0,
1292
+ "4": 0
1293
+ }
1294
+ }
1295
+ }