@bartificer/linkify 2.3.5 → 2.4.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.
Files changed (102) hide show
  1. package/README.md +135 -35
  2. package/dist/index.js +1 -1
  3. package/docs/LinkData.class.mjs.html +119 -56
  4. package/docs/LinkTemplate.class.mjs.html +120 -36
  5. package/docs/Linkifier.class.mjs.html +141 -66
  6. package/docs/PageData.class.mjs.html +145 -72
  7. package/docs/defaults.mjs.html +136 -12
  8. package/docs/docdash-overrides.css +11 -0
  9. package/docs/externals.jsdoc.html +95 -4
  10. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  11. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  14. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  18. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  28. package/docs/global.html +1276 -0
  29. package/docs/index.html +1018 -26
  30. package/docs/index.js.html +143 -17
  31. package/docs/mermaid-init.js +21 -0
  32. package/docs/module-cheerio.html +193 -3
  33. package/docs/module-defaults.html +680 -3
  34. package/docs/module-link-data.LinkData.html +813 -0
  35. package/docs/module-link-data.html +226 -0
  36. package/docs/module-link-template.LinkTemplate.html +792 -0
  37. package/docs/module-link-template.html +226 -0
  38. package/docs/module-linkifier.Linkifier.html +2050 -0
  39. package/docs/module-linkifier.html +236 -0
  40. package/docs/module-linkify.html +810 -3
  41. package/docs/module-mustache.html +193 -3
  42. package/docs/module-node-fetch.html +193 -3
  43. package/docs/module-page-data.PageData.html +1810 -0
  44. package/docs/module-page-data.html +226 -0
  45. package/docs/module-title-case.html +193 -3
  46. package/docs/module-urijs.html +193 -3
  47. package/docs/module-url-slug.html +193 -3
  48. package/docs/module-utilities.html +1518 -3
  49. package/docs/scripts/collapse.js +39 -0
  50. package/docs/scripts/commonNav.js +28 -0
  51. package/docs/scripts/linenumber.js +25 -0
  52. package/docs/scripts/nav.js +12 -0
  53. package/docs/scripts/polyfill.js +4 -0
  54. package/docs/scripts/{third-party → prettify}/Apache-License-2.0.txt +202 -202
  55. package/docs/scripts/prettify/lang-css.js +2 -0
  56. package/docs/scripts/prettify/prettify.js +28 -0
  57. package/docs/scripts/search.js +99 -265
  58. package/docs/styles/jsdoc.css +776 -0
  59. package/docs/styles/prettify.css +80 -0
  60. package/docs/typedefs.jsdoc.html +145 -0
  61. package/docs/utilities.mjs.html +154 -22
  62. package/examples/clipboardURLToMarkdown.mjs +80 -1
  63. package/package.json +5 -3
  64. package/src/LinkData.class.mjs +24 -52
  65. package/src/LinkTemplate.class.mjs +25 -32
  66. package/src/Linkifier.class.mjs +46 -62
  67. package/src/PageData.class.mjs +50 -68
  68. package/src/defaults.mjs +42 -8
  69. package/src/index.js +48 -13
  70. package/src/typedefs.jsdoc +52 -0
  71. package/src/utilities.mjs +59 -18
  72. package/docs/data/search.json +0 -1
  73. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  74. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  75. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  76. package/docs/module-LinkData.LinkData.html +0 -13
  77. package/docs/module-LinkData.html +0 -3
  78. package/docs/module-LinkTemplate.LinkTemplate.html +0 -3
  79. package/docs/module-LinkTemplate.html +0 -3
  80. package/docs/module-Linkifier.Linkifier.html +0 -3
  81. package/docs/module-Linkifier.html +0 -3
  82. package/docs/module-PageData.PageData.html +0 -15
  83. package/docs/module-PageData.html +0 -3
  84. package/docs/scripts/core.js +0 -726
  85. package/docs/scripts/core.min.js +0 -23
  86. package/docs/scripts/resize.js +0 -90
  87. package/docs/scripts/search.min.js +0 -6
  88. package/docs/scripts/third-party/fuse.js +0 -9
  89. package/docs/scripts/third-party/hljs-line-num-original.js +0 -369
  90. package/docs/scripts/third-party/hljs-line-num.js +0 -1
  91. package/docs/scripts/third-party/hljs-original.js +0 -5171
  92. package/docs/scripts/third-party/hljs.js +0 -1
  93. package/docs/scripts/third-party/popper.js +0 -5
  94. package/docs/scripts/third-party/tippy.js +0 -1
  95. package/docs/scripts/third-party/tocbot.js +0 -672
  96. package/docs/scripts/third-party/tocbot.min.js +0 -1
  97. package/docs/styles/clean-jsdoc-theme-base.css +0 -1159
  98. package/docs/styles/clean-jsdoc-theme-dark.css +0 -412
  99. package/docs/styles/clean-jsdoc-theme-light.css +0 -482
  100. package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -30
  101. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -1
  102. package/docs/styles/clean-jsdoc-theme.min.css +0 -1
@@ -0,0 +1,813 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>LinkData - @bartificer/linkify Documentation</title>
7
+
8
+ <meta name="description" content="Documentation for the @bartificer/linkify package" />
9
+
10
+ <meta name="keywords" content="documentation, linkify, link, template, javascript, generator, npm, module, package" />
11
+ <meta name="keyword" content="documentation, linkify, link, template, javascript, generator, npm, module, package" />
12
+
13
+
14
+
15
+ <meta property="og:title" content="@bartificer/linkify"/>
16
+ <meta property="og:type" content="website"/>
17
+ <meta property="og:image" content=""/>
18
+ <meta property="og:site_name" content="@bartificer/linkify Documentation"/>
19
+ <meta property="og:url" content="https://bartificer.github.io/linkify/"/>
20
+
21
+ <script src="scripts/prettify/prettify.js"></script>
22
+ <script src="scripts/prettify/lang-css.js"></script>
23
+ <!--[if lt IE 9]>
24
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
25
+ <![endif]-->
26
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
27
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
28
+ <script src="scripts/nav.js" defer></script>
29
+
30
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
31
+ </head>
32
+ <body>
33
+
34
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
35
+ <label for="nav-trigger" class="navicon-button x">
36
+ <div class="navicon"></div>
37
+ </label>
38
+
39
+ <label for="nav-trigger" class="overlay"></label>
40
+
41
+ <nav class="wrap">
42
+
43
+ <input type="text" id="nav-search" placeholder="Search" />
44
+
45
+
46
+ <h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/bartificer/linkify" target="_blank" >On GitHub</a></h2><h2><a href="https://bartificer.net/" target="_blank" >Bartificer Creations</a></h2><h3>Modules</h3><ul><li><a href="module-defaults.html">defaults</a><ul class='members'><li data-type='member'><a href="module-defaults.html#.linkTemplates">linkTemplates</a></li><li data-type='member'><a href="module-defaults.html#.smallWords">smallWords</a></li><li data-type='member'><a href="module-defaults.html#.speciallyCapitalisedWords">speciallyCapitalisedWords</a></li></ul><ul class='methods'><li data-type='method'><a href="module-defaults.html#.dataTransformer">dataTransformer</a></li></ul></li><li><a href="module-link-data.html">link-data</a></li><li><a href="module-link-template.html">link-template</a></li><li><a href="module-linkifier.html">linkifier</a></li><li><a href="module-linkify.html">linkify</a><ul class='members'><li data-type='member'><a href="module-linkify.html#.LinkData">LinkData</a></li><li data-type='member'><a href="module-linkify.html#.LinkTemplate">LinkTemplate</a></li><li data-type='member'><a href="module-linkify.html#.Linkifier">Linkifier</a></li><li data-type='member'><a href="module-linkify.html#.PageData">PageData</a></li><li data-type='member'><a href="module-linkify.html#.VERSION">VERSION</a></li><li data-type='member'><a href="module-linkify.html#.default">default</a></li><li data-type='member'><a href="module-linkify.html#.linkify">linkify</a></li></ul></li><li><a href="module-page-data.html">page-data</a></li><li><a href="module-utilities.html">utilities</a><ul class='methods'><li data-type='method'><a href="module-utilities.html#.batchFixCustomWordCases">batchFixCustomWordCases</a></li><li data-type='method'><a href="module-utilities.html#.escapeRegex">escapeRegex</a></li><li data-type='method'><a href="module-utilities.html#.extractSlug">extractSlug</a></li><li data-type='method'><a href="module-utilities.html#.regulariseWhitespace">regulariseWhitespace</a></li><li data-type='method'><a href="module-utilities.html#.stripQueryString">stripQueryString</a></li><li data-type='method'><a href="module-utilities.html#.stripUTMParameters">stripUTMParameters</a></li><li data-type='method'><a href="module-utilities.html#.toTitleCase">toTitleCase</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="module-link-data.LinkData.html">LinkData</a><ul class='methods'><li data-type='method'><a href="module-link-data.LinkData.html#asPlainObject">asPlainObject</a></li></ul></li><li><a href="module-link-template.LinkTemplate.html">LinkTemplate</a><ul class='methods'><li data-type='method'><a href="module-link-template.LinkTemplate.html#addFilter">addFilter</a></li><li data-type='method'><a href="module-link-template.LinkTemplate.html#filtersFor">filtersFor</a></li></ul></li><li><a href="module-linkifier.Linkifier.html">Linkifier</a><ul class='methods'><li data-type='method'><a href="module-linkifier.Linkifier.html#fetchPageData">fetchPageData</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#generateLink">generateLink</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplate">getTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplateNameForDomain">getTemplateNameForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTransformerForDomain">getTransformerForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerDefaultTemplateMapping">registerDefaultTemplateMapping</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTemplate">registerTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTransformer">registerTransformer</a></li></ul></li><li><a href="module-page-data.PageData.html">PageData</a><ul class='methods'><li data-type='method'><a href="module-page-data.PageData.html#addSecondaryHeading">addSecondaryHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#addTopLevelHeading">addTopLevelHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#asPlainObject">asPlainObject</a></li><li data-type='method'><a href="module-page-data.PageData.html#h1">h1</a></li><li data-type='method'><a href="module-page-data.PageData.html#h2">h2</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#dataTransformer">dataTransformer</a></li><li><a href="global.html#plainLinkInformationObject">plainLinkInformationObject</a></li><li><a href="global.html#plainPageInformationObject">plainPageInformationObject</a></li><li><a href="global.html#templateFieldFilterFunction">templateFieldFilterFunction</a></li><li><a href="global.html#templateFieldFilterTuple">templateFieldFilterTuple</a></li></ul><h3>Externals</h3><ul><li><a href="module-cheerio.html">cheerio</a></li><li><a href="module-mustache.html">mustache</a></li><li><a href="module-node-fetch.html">node-fetch</a></li><li><a href="module-title-case.html">title-case</a></li><li><a href="module-urijs.html">urijs</a></li><li><a href="module-url-slug.html">url-slug</a></li></ul>
47
+
48
+ </nav>
49
+
50
+ <div id="main">
51
+
52
+ <h1 class="page-title">LinkData</h1>
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+ <section>
61
+
62
+ <header>
63
+
64
+ <h2>
65
+ <span class="ancestors"><a href="module-link-data.html">link-data</a>.</span>
66
+
67
+
68
+ LinkData
69
+
70
+ </h2>
71
+
72
+ <div class="class-description usertext"><p>The information that can be used to render a link.</p>
73
+ <p>Instances of this class are created from the information extracted from web pages by data transformers.</p></div>
74
+
75
+
76
+ </header>
77
+
78
+ <article>
79
+
80
+ <div class="container-overview">
81
+
82
+
83
+
84
+
85
+ <h2>Constructor</h2>
86
+
87
+
88
+ <h4 class="name" id="LinkData"><span class="type-signature"></span>new LinkData<span class="signature">(url, text<span class="signature-attributes">opt</span>, description<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl class="details">
96
+
97
+
98
+
99
+ <dt class="tag-source">Source:</dt>
100
+ <dd class="tag-source"><ul class="dummy"><li>
101
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line20">line 20</a>
102
+ </li></ul></dd>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+ <dt class="tag-see">See:</dt>
133
+ <dd class="tag-see">
134
+ <ul>
135
+ <li><a href="global.html#dataTransformer">dataTransformer</a> for details of how instances of this class are created.</li>
136
+ </ul>
137
+ </dd>
138
+
139
+
140
+
141
+ </dl>
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <h5 class="h5-parameters">Parameters:</h5>
156
+
157
+
158
+ <table class="params">
159
+ <thead>
160
+ <tr>
161
+
162
+ <th>Name</th>
163
+
164
+
165
+ <th>Type</th>
166
+
167
+
168
+ <th>Attributes</th>
169
+
170
+
171
+
172
+
173
+ <th class="last">Description</th>
174
+ </tr>
175
+ </thead>
176
+
177
+ <tbody>
178
+
179
+
180
+ <tr>
181
+
182
+ <td class="name"><code>url</code></td>
183
+
184
+
185
+ <td class="type">
186
+
187
+
188
+ <span class="param-type">string</span>
189
+
190
+
191
+
192
+
193
+ </td>
194
+
195
+
196
+ <td class="attributes">
197
+
198
+
199
+
200
+
201
+
202
+ </td>
203
+
204
+
205
+
206
+
207
+ <td class="description last"><p>The link's URL.</p></td>
208
+ </tr>
209
+
210
+
211
+
212
+ <tr>
213
+
214
+ <td class="name"><code>text</code></td>
215
+
216
+
217
+ <td class="type">
218
+
219
+
220
+ <span class="param-type">string</span>
221
+
222
+
223
+
224
+
225
+ </td>
226
+
227
+
228
+ <td class="attributes">
229
+
230
+ &lt;optional><br>
231
+
232
+
233
+
234
+
235
+
236
+ </td>
237
+
238
+
239
+
240
+
241
+ <td class="description last"><p>The link's text, defaults to the URL.</p></td>
242
+ </tr>
243
+
244
+
245
+
246
+ <tr>
247
+
248
+ <td class="name"><code>description</code></td>
249
+
250
+
251
+ <td class="type">
252
+
253
+
254
+ <span class="param-type">string</span>
255
+
256
+
257
+
258
+
259
+ </td>
260
+
261
+
262
+ <td class="attributes">
263
+
264
+ &lt;optional><br>
265
+
266
+
267
+
268
+
269
+
270
+ </td>
271
+
272
+
273
+
274
+
275
+ <td class="description last"><p>A description for the link, defaults to the link text.</p></td>
276
+ </tr>
277
+
278
+
279
+ </tbody>
280
+ </table>
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+ <h5 class="h5-throws">Throws:</h5>
296
+
297
+
298
+
299
+ <dl>
300
+ <dt>
301
+ <div class="param-desc usertext">
302
+ <p>A TypeError is thrown if an invalid URL is passed.</p>
303
+ </div>
304
+ </dt>
305
+ <dd></dd>
306
+ <dt>
307
+ <dl class="param-type">
308
+ <dt>
309
+ Type
310
+ </dt>
311
+ <dd>
312
+
313
+ <span class="param-type">TypeError</span>
314
+
315
+
316
+
317
+ </dd>
318
+ </dl>
319
+ </dt>
320
+ <dd></dd>
321
+ </dl>
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ </div>
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <h3 class="subsection-title">Members</h3>
348
+
349
+
350
+
351
+ <h4 class="name" id="description"><span class="type-signature"></span>description<span class="type-signature"> :string</span></h4>
352
+
353
+
354
+
355
+
356
+
357
+ <dl class="details">
358
+
359
+ <dt class="tag-description">Description:</dt>
360
+ <dd class="tag-description"><ul class="dummy"><li><p>The link description.</p></li></ul></dd>
361
+
362
+
363
+
364
+ <dt class="tag-source">Source:</dt>
365
+ <dd class="tag-source"><ul class="dummy"><li>
366
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line99">line 99</a>
367
+ </li></ul></dd>
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+ </dl>
400
+
401
+
402
+
403
+
404
+
405
+ <div class="description usertext">
406
+ <p>The link description.</p>
407
+ </div>
408
+
409
+
410
+
411
+ <h5 class="h5-types">Type:</h5>
412
+ <ul>
413
+ <li>
414
+
415
+ <span class="param-type">string</span>
416
+
417
+
418
+
419
+ </li>
420
+ </ul>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+ <h4 class="name" id="text"><span class="type-signature"></span>text<span class="type-signature"> :string</span></h4>
430
+
431
+
432
+
433
+
434
+
435
+ <dl class="details">
436
+
437
+ <dt class="tag-description">Description:</dt>
438
+ <dd class="tag-description"><ul class="dummy"><li><p>The link text.</p></li></ul></dd>
439
+
440
+
441
+
442
+ <dt class="tag-source">Source:</dt>
443
+ <dd class="tag-source"><ul class="dummy"><li>
444
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line88">line 88</a>
445
+ </li></ul></dd>
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+ </dl>
478
+
479
+
480
+
481
+
482
+
483
+ <div class="description usertext">
484
+ <p>The link text.</p>
485
+ </div>
486
+
487
+
488
+
489
+ <h5 class="h5-types">Type:</h5>
490
+ <ul>
491
+ <li>
492
+
493
+ <span class="param-type">string</span>
494
+
495
+
496
+
497
+ </li>
498
+ </ul>
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <h4 class="name" id="uri"><span class="type-signature type-signature-readonly">(readonly) </span>uri<span class="type-signature"> :<a href="module-urijs.html">module:urijs</a></span></h4>
508
+
509
+
510
+
511
+
512
+
513
+ <dl class="details">
514
+
515
+ <dt class="tag-description">Description:</dt>
516
+ <dd class="tag-description"><ul class="dummy"><li><p>The URL the link points to as a URI.js object representing the URL.</p></li></ul></dd>
517
+
518
+
519
+
520
+ <dt class="tag-source">Source:</dt>
521
+ <dd class="tag-source"><ul class="dummy"><li>
522
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line80">line 80</a>
523
+ </li></ul></dd>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+ </dl>
556
+
557
+
558
+
559
+
560
+
561
+ <div class="description usertext">
562
+ <p>The URL the link points to as a URI.js object representing the URL.</p>
563
+ </div>
564
+
565
+
566
+
567
+ <h5 class="h5-types">Type:</h5>
568
+ <ul>
569
+ <li>
570
+
571
+ <span class="param-type"><a href="module-urijs.html">module:urijs</a></span>
572
+
573
+
574
+
575
+ </li>
576
+ </ul>
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+ <h4 class="name" id="url"><span class="type-signature"></span>url<span class="type-signature"> :string</span></h4>
586
+
587
+
588
+
589
+
590
+
591
+ <dl class="details">
592
+
593
+ <dt class="tag-description">Description:</dt>
594
+ <dd class="tag-description"><ul class="dummy"><li><p>The URL the link points to as a string.</p></li></ul></dd>
595
+
596
+
597
+
598
+ <dt class="tag-source">Source:</dt>
599
+ <dd class="tag-source"><ul class="dummy"><li>
600
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line68">line 68</a>
601
+ </li></ul></dd>
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+ </dl>
634
+
635
+
636
+
637
+
638
+
639
+ <div class="description usertext">
640
+ <p>The URL the link points to as a string.</p>
641
+ </div>
642
+
643
+
644
+
645
+ <h5 class="h5-types">Type:</h5>
646
+ <ul>
647
+ <li>
648
+
649
+ <span class="param-type">string</span>
650
+
651
+
652
+
653
+ </li>
654
+ </ul>
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+ <h3 class="subsection-title">Methods</h3>
666
+
667
+
668
+
669
+
670
+
671
+
672
+ <h4 class="name" id="asPlainObject"><span class="type-signature"></span>asPlainObject<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="global.html#plainLinkInformationObject">plainLinkInformationObject</a>}</span></h4>
673
+
674
+
675
+
676
+
677
+
678
+
679
+ <dl class="details">
680
+
681
+ <dt class="tag-description">Description:</dt>
682
+ <dd class="tag-description"><ul class="dummy"><li><p>The link data as a plain object for use in Mustache templates and the like.</p></li></ul></dd>
683
+
684
+
685
+
686
+ <dt class="tag-source">Source:</dt>
687
+ <dd class="tag-source"><ul class="dummy"><li>
688
+ <a href="LinkData.class.mjs.html">LinkData.class.mjs</a>, <a href="LinkData.class.mjs.html#line110">line 110</a>
689
+ </li></ul></dd>
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+ </dl>
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+ <h5 class="h5-returns">Returns:</h5>
750
+
751
+
752
+ <div class="param-desc">
753
+ <p>A plain object containing the link data.</p>
754
+ </div>
755
+
756
+
757
+
758
+ <dl class="param-type">
759
+ <dt>
760
+ Type
761
+ </dt>
762
+ <dd>
763
+
764
+ <span class="param-type"><a href="global.html#plainLinkInformationObject">plainLinkInformationObject</a></span>
765
+
766
+
767
+
768
+ </dd>
769
+ </dl>
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+ </article>
782
+
783
+ </section>
784
+
785
+
786
+
787
+
788
+
789
+
790
+ </div>
791
+
792
+ <br class="clear">
793
+
794
+ <footer>
795
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Apr 15 2026 17:49:51 GMT+0100 (Irish Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
796
+ </footer>
797
+
798
+ <script>prettyPrint();</script>
799
+ <script src="scripts/polyfill.js"></script>
800
+ <script src="scripts/linenumber.js"></script>
801
+
802
+ <script src="scripts/search.js" defer></script>
803
+
804
+
805
+
806
+ <link type="text/css" rel="stylesheet" href="./docdash-overrides.css">
807
+
808
+ <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
809
+
810
+ <script src="./mermaid-init.js"></script>
811
+
812
+ </body>
813
+ </html>