linked-list-typed 1.3.1

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.
@@ -0,0 +1,449 @@
1
+ /** @type {import('dependency-cruiser').IConfiguration} */
2
+ module.exports = {
3
+ forbidden: [
4
+ /* rules from the 'recommended' preset: */
5
+ {
6
+ name: 'no-circular',
7
+ severity: 'warn',
8
+ comment:
9
+ 'This dependency is part of a circular relationship. You might want to revise ' +
10
+ 'your solution (i.e. use dependency inversion, make sure the modules have a single responsibility) ',
11
+ from: {},
12
+ to: {
13
+ circular: true
14
+ }
15
+ },
16
+ {
17
+ name: 'no-orphans',
18
+ comment:
19
+ "This is an orphan module - it's likely not used (anymore?). Either use it or " +
20
+ "remove it. If it's logical this module is an orphan (i.e. it's a config file), " +
21
+ "add an exception for it in your dependency-cruiser configuration. By default " +
22
+ "this rule does not scrutinize dot-files (e.g. .eslintrc.js), TypeScript declaration " +
23
+ "files (.d.ts), tsconfig.json and some of the babel and webpack configs.",
24
+ severity: 'warn',
25
+ from: {
26
+ orphan: true,
27
+ pathNot: [
28
+ '(^|/)\\.[^/]+\\.(js|cjs|mjs|ts|json)$', // dot files
29
+ '\\.d\\.ts$', // TypeScript declaration files
30
+ '(^|/)tsconfig\\.json$', // TypeScript config
31
+ '(^|/)(babel|webpack)\\.config\\.(js|cjs|mjs|ts|json)$' // other configs
32
+ ]
33
+ },
34
+ to: {},
35
+ },
36
+ {
37
+ name: 'no-deprecated-core',
38
+ comment:
39
+ 'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
40
+ "bound to exist - node doesn't deprecate lightly.",
41
+ severity: 'warn',
42
+ from: {},
43
+ to: {
44
+ dependencyTypes: [
45
+ 'core'
46
+ ],
47
+ path: [
48
+ '^(v8\/tools\/codemap)$',
49
+ '^(v8\/tools\/consarray)$',
50
+ '^(v8\/tools\/csvparser)$',
51
+ '^(v8\/tools\/logreader)$',
52
+ '^(v8\/tools\/profile_view)$',
53
+ '^(v8\/tools\/profile)$',
54
+ '^(v8\/tools\/SourceMap)$',
55
+ '^(v8\/tools\/splaytree)$',
56
+ '^(v8\/tools\/tickprocessor-driver)$',
57
+ '^(v8\/tools\/tickprocessor)$',
58
+ '^(node-inspect\/lib\/_inspect)$',
59
+ '^(node-inspect\/lib\/internal\/inspect_client)$',
60
+ '^(node-inspect\/lib\/internal\/inspect_repl)$',
61
+ '^(async_hooks)$',
62
+ '^(punycode)$',
63
+ '^(domain)$',
64
+ '^(constants)$',
65
+ '^(sys)$',
66
+ '^(_linklist)$',
67
+ '^(_stream_wrap)$'
68
+ ],
69
+ }
70
+ },
71
+ {
72
+ name: 'not-to-deprecated',
73
+ comment:
74
+ 'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
75
+ 'version of that module, or find an alternative. Deprecated modules are a security risk.',
76
+ severity: 'warn',
77
+ from: {},
78
+ to: {
79
+ dependencyTypes: [
80
+ 'deprecated'
81
+ ]
82
+ }
83
+ },
84
+ {
85
+ name: 'no-non-package-json',
86
+ severity: 'error',
87
+ comment:
88
+ "This module depends on an npm package that isn't in the 'dependencies' section of your package.json. " +
89
+ "That's problematic as the package either (1) won't be available on live (2 - worse) will be " +
90
+ "available on live with an non-guaranteed version. Fix it by adding the package to the dependencies " +
91
+ "in your package.json.",
92
+ from: {},
93
+ to: {
94
+ dependencyTypes: [
95
+ 'npm-no-pkg',
96
+ 'npm-unknown'
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ name: 'not-to-unresolvable',
102
+ comment:
103
+ "This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
104
+ 'module: add it to your package.json. In all other cases you likely already know what to do.',
105
+ severity: 'error',
106
+ from: {},
107
+ to: {
108
+ couldNotResolve: true
109
+ }
110
+ },
111
+ {
112
+ name: 'no-duplicate-dep-types',
113
+ comment:
114
+ "Likely this module depends on an external ('npm') package that occurs more than once " +
115
+ "in your package.json i.e. bot as a devDependencies and in dependencies. This will cause " +
116
+ "maintenance problems later on.",
117
+ severity: 'warn',
118
+ from: {},
119
+ to: {
120
+ moreThanOneDependencyType: true,
121
+ // as it's pretty common to have a type import be a type only import
122
+ // _and_ (e.g.) a devDependency - don't consider type-only dependency
123
+ // types for this rule
124
+ dependencyTypesNot: ["type-only"]
125
+ }
126
+ },
127
+
128
+ /* rules you might want to tweak for your specific situation: */
129
+ {
130
+ name: 'not-to-spec',
131
+ comment:
132
+ 'This module depends on a spec (test) file. The sole responsibility of a spec file is to test code. ' +
133
+ "If there's something in a spec that's of use to other modules, it doesn't have that single " +
134
+ 'responsibility anymore. Factor it out into (e.g.) a separate utility/ helper or a mock.',
135
+ severity: 'error',
136
+ from: {},
137
+ to: {
138
+ path: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$'
139
+ }
140
+ },
141
+ {
142
+ name: 'not-to-dev-dep',
143
+ severity: 'error',
144
+ comment:
145
+ "This module depends on an npm package from the 'devDependencies' section of your " +
146
+ 'package.json. It looks like something that ships to production, though. To prevent problems ' +
147
+ "with npm packages that aren't there on production declare it (only!) in the 'dependencies'" +
148
+ 'section of your package.json. If this module is development only - add it to the ' +
149
+ 'from.pathNot re of the not-to-dev-dep rule in the dependency-cruiser configuration',
150
+ from: {
151
+ path: '^(src)',
152
+ pathNot: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$'
153
+ },
154
+ to: {
155
+ dependencyTypes: [
156
+ 'npm-dev'
157
+ ]
158
+ }
159
+ },
160
+ {
161
+ name: 'optional-deps-used',
162
+ severity: 'info',
163
+ comment:
164
+ "This module depends on an npm package that is declared as an optional dependency " +
165
+ "in your package.json. As this makes sense in limited situations only, it's flagged here. " +
166
+ "If you're using an optional dependency here by design - add an exception to your" +
167
+ "dependency-cruiser configuration.",
168
+ from: {},
169
+ to: {
170
+ dependencyTypes: [
171
+ 'npm-optional'
172
+ ]
173
+ }
174
+ },
175
+ {
176
+ name: 'peer-deps-used',
177
+ comment:
178
+ "This module depends on an npm package that is declared as a peer dependency " +
179
+ "in your package.json. This makes sense if your package is e.g. a plugin, but in " +
180
+ "other cases - maybe not so much. If the use of a peer dependency is intentional " +
181
+ "add an exception to your dependency-cruiser configuration.",
182
+ severity: 'warn',
183
+ from: {},
184
+ to: {
185
+ dependencyTypes: [
186
+ 'npm-peer'
187
+ ]
188
+ }
189
+ }
190
+ ],
191
+ options: {
192
+
193
+ /* conditions specifying which files not to follow further when encountered:
194
+ - path: a regular expression to match
195
+ - dependencyTypes: see https://github.com/sverweij/dependency-cruiser/blob/main/doc/rules-reference.md#dependencytypes-and-dependencytypesnot
196
+ for a complete list
197
+ */
198
+ doNotFollow: {
199
+ path: ['node_modules', 'src/libs']
200
+ },
201
+
202
+ /* conditions specifying which dependencies to exclude
203
+ - path: a regular expression to match
204
+ - dynamic: a boolean indicating whether to ignore dynamic (true) or static (false) dependencies.
205
+ leave out if you want to exclude neither (recommended!)
206
+ */
207
+ // exclude : {
208
+ // path: '',
209
+ // dynamic: true
210
+ // },
211
+
212
+ /* pattern specifying which files to include (regular expression)
213
+ dependency-cruiser will skip everything not matching this pattern
214
+ */
215
+ // includeOnly : '',
216
+
217
+ /* dependency-cruiser will include modules matching against the focus
218
+ regular expression in its output, as well as their neighbours (direct
219
+ dependencies and dependents)
220
+ */
221
+ // focus : '',
222
+
223
+ /* list of module systems to cruise */
224
+ // moduleSystems: ['amd', 'cjs', 'es6', 'tsd'],
225
+
226
+ /* prefix for links in html and svg output (e.g. 'https://github.com/you/yourrepo/blob/develop/'
227
+ to open it on your online repo or `vscode://file/${process.cwd()}/` to
228
+ open it in visual studio code),
229
+ */
230
+ // prefix: '',
231
+
232
+ /* false (the default): ignore dependencies that only exist before typescript-to-javascript compilation
233
+ true: also detect dependencies that only exist before typescript-to-javascript compilation
234
+ "specify": for each dependency identify whether it only exists before compilation or also after
235
+ */
236
+ tsPreCompilationDeps: true,
237
+
238
+ /*
239
+ list of extensions to scan that aren't javascript or compile-to-javascript.
240
+ Empty by default. Only put extensions in here that you want to take into
241
+ account that are _not_ parsable.
242
+ */
243
+ // extraExtensionsToScan: [".json", ".jpg", ".png", ".svg", ".webp"],
244
+
245
+ /* if true combines the package.jsons found from the module up to the base
246
+ folder the cruise is initiated from. Useful for how (some) mono-repos
247
+ manage dependencies & dependency definitions.
248
+ */
249
+ // combinedDependencies: false,
250
+
251
+ /* if true leave symlinks untouched, otherwise use the realpath */
252
+ // preserveSymlinks: false,
253
+
254
+ /* TypeScript project file ('tsconfig.json') to use for
255
+ (1) compilation and
256
+ (2) resolution (e.g. with the paths property)
257
+
258
+ The (optional) fileName attribute specifies which file to take (relative to
259
+ dependency-cruiser's current working directory). When not provided
260
+ defaults to './tsconfig.json'.
261
+ */
262
+ tsConfig: {
263
+ fileName: 'tsconfig.json'
264
+ },
265
+
266
+ /* Webpack configuration to use to get resolve options from.
267
+
268
+ The (optional) fileName attribute specifies which file to take (relative
269
+ to dependency-cruiser's current working directory. When not provided defaults
270
+ to './webpack.conf.js'.
271
+
272
+ The (optional) `env` and `arguments` attributes contain the parameters to be passed if
273
+ your webpack config is a function and takes them (see webpack documentation
274
+ for details)
275
+ */
276
+ // webpackConfig: {
277
+ // fileName: './webpack.config.js',
278
+ // env: {},
279
+ // arguments: {},
280
+ // },
281
+
282
+ /* Babel config ('.babelrc', '.babelrc.json', '.babelrc.json5', ...) to use
283
+ for compilation (and whatever other naughty things babel plugins do to
284
+ source code). This feature is well tested and usable, but might change
285
+ behavior a bit over time (e.g. more precise results for used module
286
+ systems) without dependency-cruiser getting a major version bump.
287
+ */
288
+ // babelConfig: {
289
+ // fileName: './.babelrc'
290
+ // },
291
+
292
+ /* List of strings you have in use in addition to cjs/ es6 requires
293
+ & imports to declare module dependencies. Use this e.g. if you've
294
+ re-declared require, use a require-wrapper or use window.require as
295
+ a hack.
296
+ */
297
+ // exoticRequireStrings: [],
298
+ /* options to pass on to enhanced-resolve, the package dependency-cruiser
299
+ uses to resolve module references to disk. You can set most of these
300
+ options in a webpack.conf.js - this section is here for those
301
+ projects that don't have a separate webpack config file.
302
+
303
+ Note: settings in webpack.conf.js override the ones specified here.
304
+ */
305
+ enhancedResolveOptions: {
306
+ /* List of strings to consider as 'exports' fields in package.json. Use
307
+ ['exports'] when you use packages that use such a field and your environment
308
+ supports it (e.g. node ^12.19 || >=14.7 or recent versions of webpack).
309
+
310
+ If you have an `exportsFields` attribute in your webpack config, that one
311
+ will have precedence over the one specified here.
312
+ */
313
+ exportsFields: ["exports"],
314
+ /* List of conditions to check for in the exports field. e.g. use ['imports']
315
+ if you're only interested in exposed es6 modules, ['require'] for commonjs,
316
+ or all conditions at once `(['import', 'require', 'node', 'default']`)
317
+ if anything goes for you. Only works when the 'exportsFields' array is
318
+ non-empty.
319
+
320
+ If you have a 'conditionNames' attribute in your webpack config, that one will
321
+ have precedence over the one specified here.
322
+ */
323
+ conditionNames: ["import", "require", "node", "default"],
324
+ /*
325
+ The extensions, by default are the same as the ones dependency-cruiser
326
+ can access (run `npx depcruise --info` to see which ones that are in
327
+ _your_ environment. If that list is larger than what you need (e.g.
328
+ it contains .js, .jsx, .ts, .tsx, .cts, .mts - but you don't use
329
+ TypeScript you can pass just the extensions you actually use (e.g.
330
+ [".js", ".jsx"]). This can speed up the most expensive step in
331
+ dependency cruising (module resolution) quite a bit.
332
+ */
333
+ // extensions: [".js", ".jsx", ".ts", ".tsx", ".d.ts"],
334
+ /*
335
+ If your TypeScript project makes use of types specified in 'types'
336
+ fields in package.jsons of external dependencies, specify "types"
337
+ in addition to "main" in here, so enhanced-resolve (the resolver
338
+ dependency-cruiser uses) knows to also look there. You can also do
339
+ this if you're not sure, but still use TypeScript. In a future version
340
+ of dependency-cruiser this will likely become the default.
341
+ */
342
+ mainFields: ["main", "types"],
343
+ },
344
+ reporterOptions: {
345
+ dot: {
346
+ /* pattern of modules that can be consolidated in the detailed
347
+ graphical dependency graph. The default pattern in this configuration
348
+ collapses everything in node_modules to one folder deep so you see
349
+ the external modules, but not the innards your app depends upon.
350
+ */
351
+ collapsePattern: 'node_modules/(@[^/]+/[^/]+|[^/]+)',
352
+
353
+ /* Options to tweak the appearance of your graph.See
354
+ https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#reporteroptions
355
+ for details and some examples. If you don't specify a theme
356
+ don't worry - dependency-cruiser will fall back to the default one.
357
+ */
358
+ // theme: {
359
+ // graph: {
360
+ // /* use splines: "ortho" for straight lines. Be aware though
361
+ // graphviz might take a long time calculating ortho(gonal)
362
+ // routings.
363
+ // */
364
+ // splines: "true"
365
+ // },
366
+ // modules: [
367
+ // {
368
+ // criteria: { matchesFocus: true },
369
+ // attributes: {
370
+ // fillcolor: "lime",
371
+ // penwidth: 2,
372
+ // },
373
+ // },
374
+ // {
375
+ // criteria: { matchesFocus: false },
376
+ // attributes: {
377
+ // fillcolor: "lightgrey",
378
+ // },
379
+ // },
380
+ // {
381
+ // criteria: { matchesReaches: true },
382
+ // attributes: {
383
+ // fillcolor: "lime",
384
+ // penwidth: 2,
385
+ // },
386
+ // },
387
+ // {
388
+ // criteria: { matchesReaches: false },
389
+ // attributes: {
390
+ // fillcolor: "lightgrey",
391
+ // },
392
+ // },
393
+ // {
394
+ // criteria: { source: "^src/model" },
395
+ // attributes: { fillcolor: "#ccccff" }
396
+ // },
397
+ // {
398
+ // criteria: { source: "^src/view" },
399
+ // attributes: { fillcolor: "#ccffcc" }
400
+ // },
401
+ // ],
402
+ // dependencies: [
403
+ // {
404
+ // criteria: { "rules[0].severity": "error" },
405
+ // attributes: { fontcolor: "red", color: "red" }
406
+ // },
407
+ // {
408
+ // criteria: { "rules[0].severity": "warn" },
409
+ // attributes: { fontcolor: "orange", color: "orange" }
410
+ // },
411
+ // {
412
+ // criteria: { "rules[0].severity": "info" },
413
+ // attributes: { fontcolor: "blue", color: "blue" }
414
+ // },
415
+ // {
416
+ // criteria: { resolved: "^src/model" },
417
+ // attributes: { color: "#0000ff77" }
418
+ // },
419
+ // {
420
+ // criteria: { resolved: "^src/view" },
421
+ // attributes: { color: "#00770077" }
422
+ // }
423
+ // ]
424
+ // }
425
+ },
426
+ archi: {
427
+ /* pattern of modules that can be consolidated in the high level
428
+ graphical dependency graph. If you use the high level graphical
429
+ dependency graph reporter (`archi`) you probably want to tweak
430
+ this collapsePattern to your situation.
431
+ */
432
+ collapsePattern: '^(packages|src|lib|app|bin|test(s?)|spec(s?))/[^/]+|node_modules/(@[^/]+/[^/]+|[^/]+)',
433
+
434
+ /* Options to tweak the appearance of your graph.See
435
+ https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#reporteroptions
436
+ for details and some examples. If you don't specify a theme
437
+ for 'archi' dependency-cruiser will use the one specified in the
438
+ dot section (see above), if any, and otherwise use the default one.
439
+ */
440
+ // theme: {
441
+ // },
442
+ },
443
+ "text": {
444
+ "highlightFocused": true
445
+ },
446
+ }
447
+ }
448
+ };
449
+ // generated: dependency-cruiser@13.1.1 on 2023-08-02T09:11:55.676Z
package/README.md ADDED
@@ -0,0 +1,511 @@
1
+ # What
2
+ ## Brief
3
+ This is a standalone Linked List data structure from the data-structure-typed collection. If you wish to access more data structures or advanced features, you can transition to directly installing the complete [data-structure-typed](https://www.npmjs.com/package/data-structure-typed) package
4
+
5
+
6
+ # How
7
+
8
+ ## install
9
+ ### npm
10
+ ```bash
11
+ npm i linked-list-typed
12
+ ```
13
+ ### yarn
14
+ ```bash
15
+ yarn add linked-list-typed
16
+ ```
17
+ ### methods
18
+ Singly Linked List
19
+ ![](https://github.com/zrwusa/assets/blob/master/images/data-structure-typed/methods-8bit/singly-linked-list.png?raw=true)
20
+
21
+ Doubly Linked List
22
+ ![](https://github.com/zrwusa/assets/blob/master/images/data-structure-typed/methods-8bit/doubly-linked-list.png?raw=true)
23
+ ### snippet
24
+ #### TS
25
+ ```typescript
26
+
27
+ ```
28
+ #### JS
29
+ ```javascript
30
+
31
+ ```
32
+
33
+
34
+ ## API docs & Examples
35
+
36
+ [API Docs](https://data-structure-typed-docs.vercel.app)
37
+
38
+ [Live Examples](https://data-structure-typed-examples.vercel.app)
39
+
40
+ <a href="https://github.com/zrwusa/data-structure-typed-examples" target="_blank">Examples Repository</a>
41
+
42
+ ## Data Structures
43
+
44
+ <table>
45
+ <thead>
46
+ <tr>
47
+ <th>Data Structure</th>
48
+ <th>Unit Test</th>
49
+ <th>Performance Test</th>
50
+ <th>API Documentation</th>
51
+ <th>Implemented</th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <tr>
56
+ <td>Binary Tree</td>
57
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""/>
58
+ </td>
59
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""/>
60
+ </td>
61
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/BinaryTree.html"><span>Binary Tree</span></a></td>
62
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
63
+ </tr>
64
+ <tr>
65
+ <td>Binary Search Tree (BST)</td>
66
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
67
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
68
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/BST.html"><span>BST</span></a></td>
69
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
70
+ </tr>
71
+ <tr>
72
+ <td>AVL Tree</td>
73
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
74
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
75
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/AVLTree.html"><span>AVLTree</span></a></td>
76
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
77
+ </tr>
78
+ <tr>
79
+ <td>Tree Multiset</td>
80
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
81
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
82
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/TreeMultiset.html"><span>TreeMultiset</span></a></td>
83
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
84
+ </tr>
85
+ <tr>
86
+ <td>Segment Tree</td>
87
+ <td></td>
88
+ <td></td>
89
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/SegmentTree.html"><span>SegmentTree</span></a></td>
90
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
91
+ </tr>
92
+ <tr>
93
+ <td>Binary Indexed Tree</td>
94
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
95
+ <td></td>
96
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/BinaryIndexedTree.html"><span>BinaryIndexedTree</span></a></td>
97
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
98
+ </tr>
99
+ <tr>
100
+ <td>Graph</td>
101
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
102
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
103
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/AbstractGraph.html"><span>AbstractGraph</span></a></td>
104
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
105
+ </tr>
106
+ <tr>
107
+ <td>Directed Graph</td>
108
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
109
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
110
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/DirectedGraph.html"><span>DirectedGraph</span></a></td>
111
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
112
+ </tr>
113
+ <tr>
114
+ <td>Undirected Graph</td>
115
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
116
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
117
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/UndirectedGraph.html"><span>UndirectedGraph</span></a></td>
118
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
119
+ </tr>
120
+ <tr>
121
+ <td>Linked List</td>
122
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
123
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
124
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/SinglyLinkedList.html"><span>SinglyLinkedList</span></a></td>
125
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
126
+ </tr>
127
+ <tr>
128
+ <td>Singly Linked List</td>
129
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
130
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
131
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/SinglyLinkedList.html"><span>SinglyLinkedList</span></a></td>
132
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
133
+ </tr>
134
+ <tr>
135
+ <td>Doubly Linked List</td>
136
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
137
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
138
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/DoublyLinkedList.html"><span>DoublyLinkedList</span></a></td>
139
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
140
+ </tr>
141
+ <tr>
142
+ <td>Queue</td>
143
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
144
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
145
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/Queue.html"><span>Queue</span></a></td>
146
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
147
+ </tr>
148
+ <tr>
149
+ <td>Object Deque</td>
150
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
151
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
152
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/ObjectDeque.html"><span>ObjectDeque</span></a></td>
153
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
154
+ </tr>
155
+ <tr>
156
+ <td>Array Deque</td>
157
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
158
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
159
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/ArrayDeque.html"><span>ArrayDeque</span></a></td>
160
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
161
+ </tr>
162
+ <tr>
163
+ <td>Stack</td>
164
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
165
+ <td></td>
166
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/Stack.html"><span>Stack</span></a></td>
167
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
168
+ </tr>
169
+
170
+ [//]: # (<tr>)
171
+
172
+ [//]: # (<td>Hash</td>)
173
+
174
+ [//]: # (<td></td>)
175
+
176
+ [//]: # (<td></td>)
177
+
178
+ [//]: # (<td><a href="https://data-structure-typed-docs.vercel.app/classes/HashTable.html"><span>HashTable</span></a></td>)
179
+
180
+ [//]: # (<td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>)
181
+
182
+ [//]: # (</tr>)
183
+ <tr>
184
+ <td>Coordinate Set</td>
185
+ <td></td>
186
+ <td></td>
187
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/CoordinateSet.html"><span>CoordinateSet</span></a></td>
188
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
189
+ </tr>
190
+ <tr>
191
+ <td>Coordinate Map</td>
192
+ <td></td>
193
+ <td></td>
194
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/CoordinateMap.html"><span>CoordinateMap</span></a></td>
195
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
196
+ </tr>
197
+ <tr>
198
+ <td>Heap</td>
199
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
200
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
201
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/Heap.html"><span>Heap</span></a></td>
202
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
203
+ </tr>
204
+ <tr>
205
+ <td>Priority Queue</td>
206
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
207
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
208
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/PriorityQueue.html"><span>PriorityQueue</span></a></td>
209
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
210
+ </tr>
211
+ <tr>
212
+ <td>Max Priority Queue</td>
213
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
214
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
215
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/MaxPriorityQueue.html"><span>MaxPriorityQueue</span></a></td>
216
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
217
+ </tr>
218
+ <tr>
219
+ <td>Min Priority Queue</td>
220
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
221
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
222
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/MinPriorityQueue.html"><span>MinPriorityQueue</span></a></td>
223
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
224
+ </tr>
225
+ <tr>
226
+ <td>Trie</td>
227
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
228
+ <td></td>
229
+ <td><a href="https://data-structure-typed-docs.vercel.app/classes/Trie.html"><span>Trie</span></a></td>
230
+ <td><img src="https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt=""></td>
231
+ </tr>
232
+ </tbody>
233
+ </table>
234
+
235
+
236
+ # Why
237
+
238
+ ## Complexities
239
+
240
+ ### performance of Big O
241
+
242
+ <table>
243
+ <thead>
244
+ <tr>
245
+ <th>Big O Notation</th>
246
+ <th>Type</th>
247
+ <th>Computations for 10 elements</th>
248
+ <th>Computations for 100 elements</th>
249
+ <th>Computations for 1000 elements</th>
250
+ </tr>
251
+ </thead>
252
+ <tbody>
253
+ <tr>
254
+ <td><strong>O(1)</strong></td>
255
+ <td>Constant</td>
256
+ <td>1</td>
257
+ <td>1</td>
258
+ <td>1</td>
259
+ </tr>
260
+ <tr>
261
+ <td><strong>O(log N)</strong></td>
262
+ <td>Logarithmic</td>
263
+ <td>3</td>
264
+ <td>6</td>
265
+ <td>9</td>
266
+ </tr>
267
+ <tr>
268
+ <td><strong>O(N)</strong></td>
269
+ <td>Linear</td>
270
+ <td>10</td>
271
+ <td>100</td>
272
+ <td>1000</td>
273
+ </tr>
274
+ <tr>
275
+ <td><strong>O(N log N)</strong></td>
276
+ <td>n log(n)</td>
277
+ <td>30</td>
278
+ <td>600</td>
279
+ <td>9000</td>
280
+ </tr>
281
+ <tr>
282
+ <td><strong>O(N^2)</strong></td>
283
+ <td>Quadratic</td>
284
+ <td>100</td>
285
+ <td>10000</td>
286
+ <td>1000000</td>
287
+ </tr>
288
+ <tr>
289
+ <td><strong>O(2^N)</strong></td>
290
+ <td>Exponential</td>
291
+ <td>1024</td>
292
+ <td>1.26e+29</td>
293
+ <td>1.07e+301</td>
294
+ </tr>
295
+ <tr>
296
+ <td><strong>O(N!)</strong></td>
297
+ <td>Factorial</td>
298
+ <td>3628800</td>
299
+ <td>9.3e+157</td>
300
+ <td>4.02e+2567</td>
301
+ </tr>
302
+ </tbody>
303
+ </table>
304
+
305
+ ### Data Structure Complexity
306
+
307
+ <table>
308
+ <thead>
309
+ <tr>
310
+ <th>Data Structure</th>
311
+ <th>Access</th>
312
+ <th>Search</th>
313
+ <th>Insertion</th>
314
+ <th>Deletion</th>
315
+ <th>Comments</th>
316
+ </tr>
317
+ </thead>
318
+ <tbody>
319
+ <tr>
320
+ <td><strong>Array</strong></td>
321
+ <td>1</td>
322
+ <td>n</td>
323
+ <td>n</td>
324
+ <td>n</td>
325
+ <td></td>
326
+ </tr>
327
+ <tr>
328
+ <td><strong>Stack</strong></td>
329
+ <td>n</td>
330
+ <td>n</td>
331
+ <td>1</td>
332
+ <td>1</td>
333
+ <td></td>
334
+ </tr>
335
+ <tr>
336
+ <td><strong>Queue</strong></td>
337
+ <td>n</td>
338
+ <td>n</td>
339
+ <td>1</td>
340
+ <td>1</td>
341
+ <td></td>
342
+ </tr>
343
+ <tr>
344
+ <td><strong>Linked List</strong></td>
345
+ <td>n</td>
346
+ <td>n</td>
347
+ <td>1</td>
348
+ <td>n</td>
349
+ <td></td>
350
+ </tr>
351
+ <tr>
352
+ <td><strong>Hash Table</strong></td>
353
+ <td>-</td>
354
+ <td>n</td>
355
+ <td>n</td>
356
+ <td>n</td>
357
+ <td>In case of perfect hash function costs would be O(1)</td>
358
+ </tr>
359
+ <tr>
360
+ <td><strong>Binary Search Tree</strong></td>
361
+ <td>n</td>
362
+ <td>n</td>
363
+ <td>n</td>
364
+ <td>n</td>
365
+ <td>In case of balanced tree costs would be O(log(n))</td>
366
+ </tr>
367
+ <tr>
368
+ <td><strong>B-Tree</strong></td>
369
+ <td>log(n)</td>
370
+ <td>log(n)</td>
371
+ <td>log(n)</td>
372
+ <td>log(n)</td>
373
+ <td></td>
374
+ </tr>
375
+ <tr>
376
+ <td><strong>Red-Black Tree</strong></td>
377
+ <td>log(n)</td>
378
+ <td>log(n)</td>
379
+ <td>log(n)</td>
380
+ <td>log(n)</td>
381
+ <td></td>
382
+ </tr>
383
+ <tr>
384
+ <td><strong>AVL Tree</strong></td>
385
+ <td>log(n)</td>
386
+ <td>log(n)</td>
387
+ <td>log(n)</td>
388
+ <td>log(n)</td>
389
+ <td></td>
390
+ </tr>
391
+ <tr>
392
+ <td><strong>Bloom Filter</strong></td>
393
+ <td>-</td>
394
+ <td>1</td>
395
+ <td>1</td>
396
+ <td>-</td>
397
+ <td>False positives are possible while searching</td>
398
+ </tr>
399
+ </tbody>
400
+ </table>
401
+
402
+ ### Sorting Complexity
403
+
404
+ <table>
405
+ <thead>
406
+ <tr>
407
+ <th>Name</th>
408
+ <th>Best</th>
409
+ <th>Average</th>
410
+ <th>Worst</th>
411
+ <th>Memory</th>
412
+ <th>Stable</th>
413
+ <th>Comments</th>
414
+ </tr>
415
+ </thead>
416
+ <tbody>
417
+ <tr>
418
+ <td><strong>Bubble sort</strong></td>
419
+ <td>n</td>
420
+ <td>n<sup>2</sup></td>
421
+ <td>n<sup>2</sup></td>
422
+ <td>1</td>
423
+ <td>Yes</td>
424
+ <td></td>
425
+ </tr>
426
+ <tr>
427
+ <td><strong>Insertion sort</strong></td>
428
+ <td>n</td>
429
+ <td>n<sup>2</sup></td>
430
+ <td>n<sup>2</sup></td>
431
+ <td>1</td>
432
+ <td>Yes</td>
433
+ <td></td>
434
+ </tr>
435
+ <tr>
436
+ <td><strong>Selection sort</strong></td>
437
+ <td>n<sup>2</sup></td>
438
+ <td>n<sup>2</sup></td>
439
+ <td>n<sup>2</sup></td>
440
+ <td>1</td>
441
+ <td>No</td>
442
+ <td></td>
443
+ </tr>
444
+ <tr>
445
+ <td><strong>Heap sort</strong></td>
446
+ <td>n&nbsp;log(n)</td>
447
+ <td>n&nbsp;log(n)</td>
448
+ <td>n&nbsp;log(n)</td>
449
+ <td>1</td>
450
+ <td>No</td>
451
+ <td></td>
452
+ </tr>
453
+ <tr>
454
+ <td><strong>Merge sort</strong></td>
455
+ <td>n&nbsp;log(n)</td>
456
+ <td>n&nbsp;log(n)</td>
457
+ <td>n&nbsp;log(n)</td>
458
+ <td>n</td>
459
+ <td>Yes</td>
460
+ <td></td>
461
+ </tr>
462
+ <tr>
463
+ <td><strong>Quick sort</strong></td>
464
+ <td>n&nbsp;log(n)</td>
465
+ <td>n&nbsp;log(n)</td>
466
+ <td>n<sup>2</sup></td>
467
+ <td>log(n)</td>
468
+ <td>No</td>
469
+ <td>Quicksort is usually done in-place with O(log(n)) stack space</td>
470
+ </tr>
471
+ <tr>
472
+ <td><strong>Shell sort</strong></td>
473
+ <td>n&nbsp;log(n)</td>
474
+ <td>depends on gap sequence</td>
475
+ <td>n&nbsp;(log(n))<sup>2</sup></td>
476
+ <td>1</td>
477
+ <td>No</td>
478
+ <td></td>
479
+ </tr>
480
+ <tr>
481
+ <td><strong>Counting sort</strong></td>
482
+ <td>n + r</td>
483
+ <td>n + r</td>
484
+ <td>n + r</td>
485
+ <td>n + r</td>
486
+ <td>Yes</td>
487
+ <td>r - biggest number in array</td>
488
+ </tr>
489
+ <tr>
490
+ <td><strong>Radix sort</strong></td>
491
+ <td>n * k</td>
492
+ <td>n * k</td>
493
+ <td>n * k</td>
494
+ <td>n + k</td>
495
+ <td>Yes</td>
496
+ <td>k - length of longest key</td>
497
+ </tr>
498
+ </tbody>
499
+ </table>
500
+
501
+ ![overview diagram](https://github.com/zrwusa/assets/blob/master/images/data-structure-typed/assets/overview-diagram-of-data-structures.png)
502
+
503
+ ![complexities](https://github.com/zrwusa/assets/blob/master/images/data-structure-typed/assets/complexities-diff.jpg)
504
+
505
+ ![complexities of data structures](https://github.com/zrwusa/assets/blob/master/images/data-structure-typed/assets/data-structure-complexities.jpg)
506
+
507
+
508
+
509
+
510
+
511
+
@@ -0,0 +1,8 @@
1
+ /**
2
+ * data-structure-typed
3
+ *
4
+ * @author Tyler Zeng
5
+ * @copyright Copyright (c) 2022 Tyler Zeng <zrwusa@gmail.com>
6
+ * @license MIT License
7
+ */
8
+ export { DoublyLinkedListNode, DoublyLinkedList, SinglyLinkedListNode, SinglyLinkedList } from 'data-structure-typed';
package/dist/index.js ADDED
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SinglyLinkedList = exports.SinglyLinkedListNode = exports.DoublyLinkedList = exports.DoublyLinkedListNode = void 0;
4
+ /**
5
+ * data-structure-typed
6
+ *
7
+ * @author Tyler Zeng
8
+ * @copyright Copyright (c) 2022 Tyler Zeng <zrwusa@gmail.com>
9
+ * @license MIT License
10
+ */
11
+ var data_structure_typed_1 = require("data-structure-typed");
12
+ Object.defineProperty(exports, "DoublyLinkedListNode", { enumerable: true, get: function () { return data_structure_typed_1.DoublyLinkedListNode; } });
13
+ Object.defineProperty(exports, "DoublyLinkedList", { enumerable: true, get: function () { return data_structure_typed_1.DoublyLinkedList; } });
14
+ Object.defineProperty(exports, "SinglyLinkedListNode", { enumerable: true, get: function () { return data_structure_typed_1.SinglyLinkedListNode; } });
15
+ Object.defineProperty(exports, "SinglyLinkedList", { enumerable: true, get: function () { return data_structure_typed_1.SinglyLinkedList; } });
package/jest.config.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ preset: 'ts-jest',
3
+ testEnvironment: 'node',
4
+ testMatch: ['<rootDir>/tests/**/*.test.ts'],
5
+ };
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "linked-list-typed",
3
+ "version": "1.3.1",
4
+ "description": "Linked List, Doubly Linked List, Singly Linked List. Javascript & Typescript Data Structure.",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "build": "rm -rf dist && npx tsc",
8
+ "test": "jest",
9
+ "build:docs": "typedoc --out docs ./src",
10
+ "deps:check": "dependency-cruiser src",
11
+ "build:publish": "npm run build && npm publish"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/zrwusa/data-structure-typed"
16
+ },
17
+ "keywords": [
18
+ "Data structure",
19
+ "Linked list",
20
+ "Singly linked list",
21
+ "Doubly linked list",
22
+ "Circular linked list",
23
+ "Head",
24
+ "Tail",
25
+ "Insertion",
26
+ "Deletion",
27
+ "Traversal",
28
+ "Search",
29
+ "Data storage",
30
+ "Dynamic resizing",
31
+ "Memory efficiency",
32
+ "Pointer",
33
+ "Data management",
34
+ "Linked nodes",
35
+ "Next",
36
+ "Previous",
37
+ "Unidirectional",
38
+ "Bidirectional",
39
+ "Circular",
40
+ "Linear data structure",
41
+ "Node connections"
42
+ ],
43
+ "author": "Tyler Zeng zrwusa@gmail.com",
44
+ "license": "MIT",
45
+ "bugs": {
46
+ "url": "https://github.com/zrwusa/data-structure-typed/issues"
47
+ },
48
+ "homepage": "https://github.com/zrwusa/data-structure-typed#readme",
49
+ "types": "dist/index.d.ts",
50
+ "devDependencies": {
51
+ "@types/node": "^20.4.9",
52
+ "typescript": "^4.9.5"
53
+ },
54
+ "dependencies": {
55
+ "data-structure-typed": "^1.3.1"
56
+ }
57
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": true,
4
+ "outDir": "./dist",
5
+ "module": "commonjs",
6
+ "target": "es6",
7
+ "lib": [
8
+ // "es2015",
9
+ "esnext"
10
+ ],
11
+ "strict": true,
12
+ "esModuleInterop": true,
13
+ "moduleResolution": "node",
14
+ "declarationDir": "./dist",
15
+ "skipLibCheck": true,
16
+ "downlevelIteration": true,
17
+ "experimentalDecorators": true,
18
+ // "allowJs": true,
19
+ // "allowSyntheticDefaultImports": true,
20
+ // "forceConsistentCasingInFileNames": true,
21
+ // "noFallthroughCasesInSwitch": true,
22
+ // "resolveJsonModule": true,
23
+ // "isolatedModules": true,
24
+ // "noEmit": true,
25
+ "typeRoots": [
26
+ "node_modules/@types"
27
+ ]
28
+ },
29
+
30
+ "include": [
31
+ "src",
32
+ ],
33
+ "exclude": [
34
+ // "node_modules/data-structure-typed",
35
+ "node_modules",
36
+ "dist"
37
+ ]
38
+ }
39
+