forked from zuriby/Faker.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
768 lines (679 loc) · 27.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
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
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
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
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
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
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
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Documentation Index</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" rel="stylesheet" href="styles/site.simplex.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top ">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="index.html">Documentation</a>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="topNavigation">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
<ul class="dropdown-menu ">
<li><a href="faker.html">faker</a></li><li><a href="faker.address.html">faker.address</a></li><li><a href="faker.animal.html">faker.animal</a></li><li><a href="faker.commerce.html">faker.commerce</a></li><li><a href="faker.company.html">faker.company</a></li><li><a href="faker.database.html">faker.database</a></li><li><a href="faker.datatype.html">faker.datatype</a></li><li><a href="faker.date.html">faker.date</a></li><li><a href="faker.finance.html">faker.finance</a></li><li><a href="faker.git.html">faker.git</a></li><li><a href="faker.hacker.html">faker.hacker</a></li><li><a href="faker.helpers.html">faker.helpers</a></li><li><a href="faker.image.html">faker.image</a></li><li><a href="faker.image.lorempicsum.html">faker.image.lorempicsum</a></li><li><a href="faker.image.lorempixel.html">faker.image.lorempixel</a></li><li><a href="faker.image.unsplash.html">faker.image.unsplash</a></li><li><a href="faker.internet.html">faker.internet</a></li><li><a href="faker.lorem.html">faker.lorem</a></li><li><a href="faker.music.html">faker.music</a></li><li><a href="faker.name.html">faker.name</a></li><li><a href="faker.phone.html">faker.phone</a></li><li><a href="faker.random.html">faker.random</a></li><li><a href="faker.system.html">faker.system</a></li><li><a href="faker.time.html">faker.time</a></li><li><a href="faker.unique.html">faker.unique</a></li><li><a href="faker.vehicle.html">faker.vehicle</a></li>
</ul>
</li>
<li class="dropdown">
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
<ul class="dropdown-menu ">
<li><a href="global.html#arrayRemove">arrayRemove</a></li><li><a href="global.html#unique">unique</a></li>
</ul>
</li>
</ul>
<div class="col-sm-3 col-md-3">
<form class="navbar-form" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
<div class="input-group-btn">
<button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="container" id="toc-content">
<div class="row">
<div class="col-md-8">
<div id="main">
<section class="readme-section">
<article><h1>faker.js - generate massive amounts of fake data in the browser and node.js</h1>
<p><img src="https://raw.githubusercontent.com/Marak/faker.js/master/logo.png" alt="Faker.js"></p>
<p><a href="https://travis-ci.org/Marak/faker.js"><img src="https://travis-ci.org/Marak/faker.js.svg?branch=master" alt="Build Status"></a> <a href="https://coveralls.io/github/Marak/faker.js?branch=master"><img src="https://coveralls.io/repos/github/Marak/faker.js/badge.svg?branch=master" alt="Coverage Status"></a></p>
<p><a href="http://badge.fury.io/js/faker"><img src="https://badge.fury.io/js/faker.svg" alt="npm version"></a></p>
<p><a href="#backers"><img src="https://opencollective.com/fakerjs/backers/badge.svg" alt="OpenCollective"></a>
<a href="#sponsors"><img src="https://opencollective.com/fakerjs/sponsors/badge.svg" alt="OpenCollective"></a>
<a href="https://gitter.im/Faker-js/community"><img src="https://badges.gitter.im/marak/faker.js.png" alt="Gitter chat"></a></p>
<h2>Demo</h2>
<p><a href="https://rawgit.com/Marak/faker.js/master/examples/browser/index.html">https://rawgit.com/Marak/faker.js/master/examples/browser/index.html</a></p>
<h3>Faker Cloud</h3>
<p>Don't have a local development setup ready?</p>
<p>Try our hosted version of Faker at <a href="https://fakercloud.com/api">https://fakercloud.com/api</a></p>
<p>https://github.com/faker/faker-cloud</p>
<h2>Usage</h2>
<h3>Browser</h3>
<pre class="prettyprint source lang-html"><code> <script src = "faker.js" type = "text/javascript"></script>
<script>
var randomName = faker.name.findName(); // Caitlyn Kerluke
var randomEmail = faker.internet.email(); // [email protected]
var randomCard = faker.helpers.createCard(); // random contact card containing many properties
</script>
</code></pre>
<h3>Node.js</h3>
<pre class="prettyprint source lang-js"><code> var faker = require('faker');
var randomName = faker.name.findName(); // Rowan Nikolaus
var randomEmail = faker.internet.email(); // [email protected]
var randomCard = faker.helpers.createCard(); // random contact card containing many properties
</code></pre>
<h2>API</h2>
<h3>JSDoc API Browser</h3>
<p><a href="http://marak.github.io/faker.js/">http://marak.github.io/faker.js/</a></p>
<h3>API Methods</h3>
<ul>
<li>address
<ul>
<li>zipCode</li>
<li>zipCodeByState</li>
<li>city</li>
<li>cityPrefix</li>
<li>citySuffix</li>
<li>cityName</li>
<li>streetName</li>
<li>streetAddress</li>
<li>streetSuffix</li>
<li>streetPrefix</li>
<li>secondaryAddress</li>
<li>county</li>
<li>country</li>
<li>countryCode</li>
<li>state</li>
<li>stateAbbr</li>
<li>latitude</li>
<li>longitude</li>
<li>direction</li>
<li>cardinalDirection</li>
<li>ordinalDirection</li>
<li>nearbyGPSCoordinate</li>
<li>timeZone</li>
</ul>
</li>
<li>animal
<ul>
<li>dog</li>
<li>cat</li>
<li>snake</li>
<li>bear</li>
<li>lion</li>
<li>cetacean</li>
<li>horse</li>
<li>bird</li>
<li>cow</li>
<li>fish</li>
<li>crocodilia</li>
<li>insect</li>
<li>rabbit</li>
<li>type</li>
</ul>
</li>
<li>commerce
<ul>
<li>color</li>
<li>department</li>
<li>productName</li>
<li>price</li>
<li>productAdjective</li>
<li>productMaterial</li>
<li>product</li>
<li>productDescription</li>
</ul>
</li>
<li>company
<ul>
<li>suffixes</li>
<li>companyName</li>
<li>companySuffix</li>
<li>catchPhrase</li>
<li>bs</li>
<li>catchPhraseAdjective</li>
<li>catchPhraseDescriptor</li>
<li>catchPhraseNoun</li>
<li>bsAdjective</li>
<li>bsBuzz</li>
<li>bsNoun</li>
</ul>
</li>
<li>database
<ul>
<li>column</li>
<li>type</li>
<li>collation</li>
<li>engine</li>
</ul>
</li>
<li>datatype
<ul>
<li>number</li>
<li>float</li>
<li>datetime</li>
<li>string</li>
<li>uuid</li>
<li>boolean</li>
<li>hexaDecimal</li>
<li>json</li>
<li>array</li>
</ul>
</li>
<li>date
<ul>
<li>past</li>
<li>future</li>
<li>between</li>
<li>betweens</li>
<li>recent</li>
<li>soon</li>
<li>month</li>
<li>weekday</li>
</ul>
</li>
<li>fake</li>
<li>finance
<ul>
<li>account</li>
<li>accountName</li>
<li>routingNumber</li>
<li>mask</li>
<li>amount</li>
<li>transactionType</li>
<li>currencyCode</li>
<li>currencyName</li>
<li>currencySymbol</li>
<li>bitcoinAddress</li>
<li>litecoinAddress</li>
<li>creditCardNumber</li>
<li>creditCardCVV</li>
<li>ethereumAddress</li>
<li>iban</li>
<li>bic</li>
<li>transactionDescription</li>
</ul>
</li>
<li>git
<ul>
<li>branch</li>
<li>commitEntry</li>
<li>commitMessage</li>
<li>commitSha</li>
<li>shortSha</li>
</ul>
</li>
<li>hacker
<ul>
<li>abbreviation</li>
<li>adjective</li>
<li>noun</li>
<li>verb</li>
<li>ingverb</li>
<li>phrase</li>
</ul>
</li>
<li>helpers
<ul>
<li>randomize</li>
<li>slugify</li>
<li>replaceSymbolWithNumber</li>
<li>replaceSymbols</li>
<li>replaceCreditCardSymbols</li>
<li>repeatString</li>
<li>regexpStyleStringParse</li>
<li>shuffle</li>
<li>mustache</li>
<li>createCard</li>
<li>contextualCard</li>
<li>userCard</li>
<li>createTransaction</li>
</ul>
</li>
<li>image
<ul>
<li>image</li>
<li>avatar</li>
<li>imageUrl</li>
<li>abstract</li>
<li>animals</li>
<li>business</li>
<li>cats</li>
<li>city</li>
<li>food</li>
<li>nightlife</li>
<li>fashion</li>
<li>people</li>
<li>nature</li>
<li>sports</li>
<li>technics</li>
<li>transport</li>
<li>dataUri</li>
<li>lorempixel</li>
<li>unsplash</li>
<li>lorempicsum</li>
</ul>
</li>
<li>internet
<ul>
<li>avatar</li>
<li>email</li>
<li>exampleEmail</li>
<li>userName</li>
<li>protocol</li>
<li>httpMethod</li>
<li>url</li>
<li>domainName</li>
<li>domainSuffix</li>
<li>domainWord</li>
<li>ip</li>
<li>ipv6</li>
<li>port</li>
<li>userAgent</li>
<li>color</li>
<li>mac</li>
<li>password</li>
</ul>
</li>
<li>lorem
<ul>
<li>word</li>
<li>words</li>
<li>sentence</li>
<li>slug</li>
<li>sentences</li>
<li>paragraph</li>
<li>paragraphs</li>
<li>text</li>
<li>lines</li>
</ul>
</li>
<li>mersenne
<ul>
<li>rand</li>
<li>seed</li>
<li>seed_array</li>
</ul>
</li>
<li>music
<ul>
<li>genre</li>
</ul>
</li>
<li>name
<ul>
<li>firstName</li>
<li>lastName</li>
<li>middleName</li>
<li>findName</li>
<li>jobTitle</li>
<li>gender</li>
<li>prefix</li>
<li>suffix</li>
<li>title</li>
<li>jobDescriptor</li>
<li>jobArea</li>
<li>jobType</li>
</ul>
</li>
<li>phone
<ul>
<li>phoneNumber</li>
<li>phoneNumberFormat</li>
<li>phoneFormats</li>
</ul>
</li>
<li>random
<ul>
<li>number</li>
<li>float</li>
<li>arrayElement</li>
<li>arrayElements</li>
<li>objectElement</li>
<li>uuid</li>
<li>boolean</li>
<li>word</li>
<li>words</li>
<li>image</li>
<li>locale</li>
<li>alpha</li>
<li>alphaNumeric</li>
<li>hexaDecimal</li>
</ul>
</li>
<li>system
<ul>
<li>fileName</li>
<li>commonFileName</li>
<li>mimeType</li>
<li>commonFileType</li>
<li>commonFileExt</li>
<li>fileType</li>
<li>fileExt</li>
<li>directoryPath</li>
<li>filePath</li>
<li>semver</li>
</ul>
</li>
<li>time
<ul>
<li>recent</li>
</ul>
</li>
<li>unique</li>
<li>vehicle
<ul>
<li>vehicle</li>
<li>manufacturer</li>
<li>model</li>
<li>type</li>
<li>fuel</li>
<li>vin</li>
<li>color</li>
<li>vrm</li>
<li>bicycle</li>
</ul>
</li>
</ul>
<h3>Faker.fake()</h3>
<p>faker.js contains a super useful generator method <code>Faker.fake</code> for combining faker API methods using a mustache string format.</p>
<p><strong>Example:</strong></p>
<pre class="prettyprint source lang-js"><code>console.log(faker.fake("{{name.lastName}}, {{name.firstName}} {{name.suffix}}"));
// outputs: "Marks, Dean Sr."
</code></pre>
<p>This will interpolate the format string with the value of methods <code>name.lastName()</code>, <code>name.firstName()</code>, and <code>name.suffix()</code></p>
<h2>Localization</h2>
<p>As of version <code>v2.0.0</code> faker.js has support for multiple localities.</p>
<p>The default language locale is set to English.</p>
<p>Setting a new locale is simple:</p>
<pre class="prettyprint source lang-js"><code>// sets locale to de
faker.locale = "de";
</code></pre>
<ul>
<li>az</li>
<li>ar</li>
<li>cz</li>
<li>de</li>
<li>de_AT</li>
<li>de_CH</li>
<li>en</li>
<li>en_AU</li>
<li>en_AU_ocker</li>
<li>en_BORK</li>
<li>en_CA</li>
<li>en_GB</li>
<li>en_IE</li>
<li>en_IND</li>
<li>en_US</li>
<li>en_ZA</li>
<li>es</li>
<li>es_MX</li>
<li>fa</li>
<li>fi</li>
<li>fr</li>
<li>fr_CA</li>
<li>fr_CH</li>
<li>ge</li>
<li>hy</li>
<li>hr</li>
<li>id_ID</li>
<li>it</li>
<li>ja</li>
<li>ko</li>
<li>nb_NO</li>
<li>ne</li>
<li>nl</li>
<li>nl_BE</li>
<li>pl</li>
<li>pt_BR</li>
<li>pt_PT</li>
<li>ro</li>
<li>ru</li>
<li>sk</li>
<li>sv</li>
<li>tr</li>
<li>uk</li>
<li>vi</li>
<li>zh_CN</li>
<li>zh_TW</li>
</ul>
<h3>Individual Localization Packages</h3>
<p>faker.js supports incremental loading of locales.</p>
<p>By default, requiring <code>faker</code> will include <em>all</em> locale data.</p>
<p>In a production environment, you may only want to include the locale data for a specific set of locales.</p>
<pre class="prettyprint source lang-js"><code>// loads only de locale
var faker = require('faker/locale/de');
</code></pre>
<h2>Setting a randomness seed</h2>
<p>If you want consistent results, you can set your own seed:</p>
<pre class="prettyprint source lang-js"><code>faker.seed(123);
var firstRandom = faker.datatype.number();
// Setting the seed again resets the sequence.
faker.seed(123);
var secondRandom = faker.datatype.number();
console.log(firstRandom === secondRandom);
</code></pre>
<h2>Tests</h2>
<pre class="prettyprint source lang-shell"><code>npm install .
make test
</code></pre>
<p>You can view a code coverage report generated in coverage/lcov-report/index.html.</p>
<h2>Building faker.js</h2>
<p>faker uses <a href="http://gulpjs.com/">gulp</a> to automate its build process. Each build operation is a separate task which can be run independently.</p>
<h3>Browser Bundle</h3>
<pre class="prettyprint source lang-shell"><code>npm run browser
</code></pre>
<h3>Building JSDocs</h3>
<p><a href="https://jsdoc.app/">JSDOC</a> v3 HTML API documentation</p>
<pre class="prettyprint source lang-shell"><code>npm run jsdoc
</code></pre>
<h3>Building ReadMe</h3>
<p>The <code>ReadMe.md</code> file for <code>faker.js</code> is automatically generated and should not be modified directly. All updates to <code>ReadMe.md</code> should be performed in <code>./build/src/docs.md</code> and then the build script should be run.</p>
<pre class="prettyprint source lang-shell"><code>npm run readme
</code></pre>
<h2>Version Release Schedule</h2>
<p>faker.js is a popular project used by many organizations and individuals in production settings. Major and Minor version releases are generally on a monthly schedule. Bugs fixes are addressed by severity and fixed as soon as possible.</p>
<p>If you require the absolute latest version of <code>faker.js</code> the <code>master</code> branch @ <a href="http:%5C/%5C/github.com/marak/faker.js/">http://github.com/marak/faker.js/</a> should always be up to date and working.</p>
<h2>Maintainer</h2>
<h4>Marak Squires</h4>
<p>faker.js - Copyright (c) 2020
Marak Squires
www.marak.com
http://github.com/marak/faker.js/</p>
<p>faker.js was inspired by and has used data definitions from:</p>
<ul>
<li><a href="https:%5C/%5C/github.com/stympy/faker/">https://github.com/stympy/faker/</a> - Copyright (c) 2007-2010 Benjamin Curtis</li>
<li><a href="http:%5C/%5C/search.cpan.org/~jasonk/Data-Faker-0.07/">http://search.cpan.org/~jasonk/Data-Faker-0.07/</a> - Copyright 2004-2005 by Jason Kohles</li>
</ul>
<p>Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:</p>
<p>The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<h2>Backers</h2>
<p>Support us with a monthly donation and help us continue our activities. [<a href="https://opencollective.com/fakerjs#backer">Become a backer</a>]</p>
<p><a href="https://opencollective.com/fakerjs/backer/0/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/1/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/2/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/3/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/4/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/5/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/6/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/7/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/8/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/9/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/10/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/11/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/12/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/13/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/14/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/15/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/16/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/17/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/18/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/19/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/20/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/21/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/22/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/23/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/24/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/25/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/26/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/27/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/28/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/backer/29/website" target="_blank"><img src="https://opencollective.com/fakerjs/backer/29/avatar.svg"></a></p>
<h2>Sponsors</h2>
<p>Become a sponsor and get your logo on our README on Github with a link to your site. [<a href="https://opencollective.com/fakerjs#sponsor">Become a sponsor</a>]</p>
<p><a href="https://opencollective.com/fakerjs/sponsor/0/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/1/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/2/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/3/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/4/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/5/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/6/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/7/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/8/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/9/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/10/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/11/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/12/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/13/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/14/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/14/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/15/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/15/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/16/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/16/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/17/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/17/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/18/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/18/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/19/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/19/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/20/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/20/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/21/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/21/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/22/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/22/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/23/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/23/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/24/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/24/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/25/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/25/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/26/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/26/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/27/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/27/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/28/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/fakerjs/sponsor/29/website" target="_blank"><img src="https://opencollective.com/fakerjs/sponsor/29/avatar.svg"></a></p></article>
</section>
</div>
</div>
<div class="clearfix"></div>
<div class="col-md-3">
<div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
</div>
</div>
</div>
<div class="modal fade" id="searchResults">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Search results</h4>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
<footer>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a>
on 2021-03-30T13:03:12-04:00
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
</footer>
<script src="scripts/docstrap.lib.js"></script>
<script src="scripts/toc.js"></script>
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
<script>
$( function () {
$( "[id*='$']" ).each( function () {
var $this = $( this );
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
} );
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
var $this = $( this );
var example = $this.find( "code" );
exampleText = example.html();
var lang = /{@lang (.*?)}/.exec( exampleText );
if ( lang && lang[1] ) {
exampleText = exampleText.replace( lang[0], "" );
example.html( exampleText );
lang = lang[1];
} else {
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
lang = langClassMatch ? langClassMatch[1] : "javascript";
}
if ( lang ) {
$this
.addClass( "sunlight-highlight-" + lang )
.addClass( "linenums" )
.html( example.html() );
}
} );
Sunlight.highlightAll( {
lineNumbers : false,
showMenu : true,
enableDoclinks : true
} );
$.catchAnchorLinks( {
navbarOffset: 10
} );
$( "#toc" ).toc( {
anchorName : function ( i, heading, prefix ) {
return $( heading ).attr( "id" ) || ( prefix + i );
},
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
showAndHide : false,
smoothScrolling: true
} );
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
$( '.dropdown-toggle' ).dropdown();
$( "table" ).each( function () {
var $this = $( this );
$this.addClass('table');
} );
} );
</script>
<!--Navigation and Symbol Display-->
<!--Google Analytics-->
<script type="text/javascript">
$(document).ready(function() {
SearcherDisplay.init();
});
</script>
</body>
</html>