[READ-ONLY] Mirror of https://github.com/FoxxMD/crowdsecBench. Benchmark Crowdsec CPU usage with concurrent requests
benchmark cpu-usage crowdsec docker k6 monitoring visualization
0

Configure Feed

Select the types of activity you want to include in your feed.

first commit

FoxxMD (Sep 19, 2025, 1:48 PM EDT) ae1d6042

+13472
+22
.devcontainer/devcontainer.json
··· 1 + // For format details, see https://aka.ms/devcontainer.json. For config options, see the 2 + // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node 3 + { 4 + "name": "Node.js", 5 + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 6 + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm" 7 + 8 + // Features to add to the dev container. More info: https://containers.dev/features. 9 + // "features": {}, 10 + 11 + // Use 'forwardPorts' to make a list of ports inside the container available locally. 12 + // "forwardPorts": [], 13 + 14 + // Use 'postCreateCommand' to run commands after the container is created. 15 + // "postCreateCommand": "yarn install", 16 + 17 + // Configure tool-specific properties. 18 + // "customizations": {}, 19 + 20 + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. 21 + // "remoteUser": "root" 22 + }
+4
.env.example
··· 1 + URL=http://my-cool-site 2 + TARGET=1 3 + DURATION=10s 4 + RANDOMIZE=true
+2
.gitignore
··· 1 + node_modules 2 + .env
+9
compose.yaml
··· 1 + services: 2 + k6: 3 + image: grafana/k6 4 + volumes: 5 + - $PWD:/app 6 + command: 7 + - 'run' 8 + - '/app/script.ts' 9 + env_file: '.env'
+23
package-lock.json
··· 1 + { 2 + "name": "crowdsecbench", 3 + "version": "1.0.0", 4 + "lockfileVersion": 3, 5 + "requires": true, 6 + "packages": { 7 + "": { 8 + "name": "crowdsecbench", 9 + "version": "1.0.0", 10 + "license": "ISC", 11 + "devDependencies": { 12 + "@types/k6": "^1.2.0" 13 + } 14 + }, 15 + "node_modules/@types/k6": { 16 + "version": "1.2.0", 17 + "resolved": "https://registry.npmjs.org/@types/k6/-/k6-1.2.0.tgz", 18 + "integrity": "sha512-7F/vjekOUCzFi5AY+yYBOL38iEtN9EXufdKOAMFkJsdLryJ3/bB/W9jppED1FO5o7zeaPf8M46ardYPD8xgy/w==", 19 + "dev": true, 20 + "license": "MIT" 21 + } 22 + } 23 + }
+15
package.json
··· 1 + { 2 + "name": "crowdsecbench", 3 + "version": "1.0.0", 4 + "main": "script.js", 5 + "scripts": { 6 + "test": "echo \"Error: no test specified\" && exit 1" 7 + }, 8 + "keywords": [], 9 + "author": "", 10 + "license": "ISC", 11 + "description": "", 12 + "devDependencies": { 13 + "@types/k6": "^1.2.0" 14 + } 15 + }
+47
script.ts
··· 1 + import http from "k6/http"; 2 + import { check, sleep } from "k6"; 3 + import { 4 + randomIntBetween, 5 + randomString, 6 + randomItem, 7 + uuidv4, 8 + findBetween, 9 + } 10 + // @ts-ignore 11 + from 'https://jslib.k6.io/k6-utils/1.4.0/index.js'; 12 + import {generateRandomUserAgent} from './utils/agent.ts'; 13 + 14 + const duration = __ENV.DURATION ?? '30s'; 15 + let target = __ENV.TARGET ?? 2; 16 + if(typeof target === 'string') { 17 + target = parseInt(target); 18 + } 19 + 20 + // Test configuration 21 + export const options = { 22 + // Ramp the number of virtual users up and down 23 + stages: [ 24 + { duration, target } 25 + ], 26 + }; 27 + 28 + const URL = __ENV.URL; 29 + 30 + const randomizeUrl = __ENV.RANDOMIZE === 'true'; 31 + 32 + // Simulated user behavior 33 + export default function () { 34 + let u = URL; 35 + if(randomizeUrl) { 36 + const path = Array.from({length: randomIntBetween(1,4)}, (_, i) => randomString(randomIntBetween(2,10))).join('/'); 37 + u = `${u}/${path}`; 38 + } 39 + let res = http.get(u, { 40 + headers: { 41 + 'User-Agent': generateRandomUserAgent() 42 + } 43 + }); 44 + // Validate response status 45 + check(res, { "status was 200": (r) => r.status == 200 }); 46 + sleep(randomIntBetween(1,3)); 47 + }
+11
tsconfig.json
··· 1 + { 2 + "compilerOptions": { 3 + "target": "ES6", 4 + "module": "ES6", 5 + "allowImportingTsExtensions": true, 6 + "noEmit": true, 7 + "paths": { 8 + "k6/x/faker": ["./typings/xk6-faker/index.d.ts"] 9 + } 10 + } 11 + }
+13257
typings/xk6-faker/index.d.ts
··· 1 + /** 2 + * **Random fake data generator for k6.** 3 + * 4 + * Altought there is several good JavaScript fake data generator, 5 + * but using these in [k6](https://k6.io) tests has several disadvantages (download size, memory usage, startup time, etc). 6 + * The xk6-faker implemented as a golang extension, so tests starts faster and use less memory. 7 + * The price is a little bit smaller feature set compared with popular JavaScript fake data generators. 8 + * 9 + * For convenience, the xk6-faker API resembles the popular [Faker.js](https://fakerjs.dev/). 10 + * The category names and the generator function names are often different 11 + * (due to the [underlying go faker library](https://github.com/brianvoe/gofakeit)), 12 + * but the way of use is similar. 13 + * 14 + * @example 15 + * For convenient use, the default export of the module is a Faker instance, 16 + * it just needs to be imported and it is ready for use. 17 + * 18 + * ```ts 19 + * import faker from "k6/x/faker" 20 + * 21 + * export default function() { 22 + * console.log(faker.person.firstName()) 23 + * } 24 + * 25 + * // prints a random first name 26 + * ``` 27 + * For a reproducible test run, a random seed value can be passed to the constructor of the Faker class. 28 + * 29 + * ```ts 30 + * import { Faker } from "k6/x/faker" 31 + * 32 + * const faker = new Faker(11) 33 + * 34 + * export default function() { 35 + * console.log(faker.person.firstName()) 36 + * } 37 + * ``` 38 + * **Output** (formatted as JSON value) 39 + * ```json 40 + * "Josiah" 41 + * ``` 42 + * The reproducibility of the test can also be achieved using the default Faker instance, 43 + * if the seed value is set in the `XK6_FAKER_SEED` environment variable. 44 + * ```bash 45 + * k6 run --env XK6_FAKER_SEED=11 script.js 46 + * ``` 47 + * then 48 + * ```ts 49 + * import faker from "k6/x/faker" 50 + * 51 + * export default function() { 52 + * console.log(faker.person.firstName()) 53 + * } 54 + * ``` 55 + * **Output** (formatted as JSON value) 56 + * ```json 57 + * "Josiah" 58 + * ``` 59 + * 60 + * @module k6/x/faker 61 + */ 62 + declare module "k6/x/faker" { 63 + 64 + /** 65 + * This is the faker module's main class containing all generators that can be used to generate data. 66 + * 67 + * Please have a look at the individual generators and methods for more information. 68 + * 69 + * @example 70 + * ```ts 71 + * import { Faker } from "k6/x/faker" 72 + * 73 + * const faker = new Faker(11) 74 + * 75 + * export default function() { 76 + * console.log(faker.person.firstName()) 77 + * } 78 + * ``` 79 + * **Output** (formatted as JSON value) 80 + * ```json 81 + * "Josiah" 82 + * ``` 83 + */ 84 + export class Faker { 85 + /** 86 + * Creates a new instance of Faker. 87 + * 88 + * Optionally, the value of the random seed can be set as a constructor parameter. 89 + * This is intended to allow for consistent values in a tests, 90 + * so you might want to use hardcoded values as the seed. 91 + * 92 + * Please note that generated values are dependent on both the seed and the number 93 + * of calls that have been made. 94 + * 95 + * Setting seed to 0 (or omitting it) will use seed derived from system entropy. 96 + * 97 + * @param seed random seed value for deterministic generator 98 + * 99 + * @example 100 + * ```ts 101 + * const consistentFaker = new Faker(11) 102 + * const semiRandomFaker = new Faker() 103 + * ``` 104 + */ 105 + constructor(seed?: number); 106 + 107 + /** 108 + * Call fake data generator function based on function name. 109 + * 110 + * @param func the name of the generator function to be called 111 + * @param args parameters for the generator function to be called 112 + */ 113 + call(func: string, ...args: unknown[]): unknown; 114 + 115 + 116 + /** 117 + * Generator to generate addresses and locations. 118 + */ 119 + readonly address: Address; 120 + 121 + /** 122 + * Generator to generate animals. 123 + */ 124 + readonly animal: Animal; 125 + 126 + /** 127 + * Generator to generate application related entries. 128 + */ 129 + readonly app: App; 130 + 131 + /** 132 + * Generator to generate beer related entries. 133 + */ 134 + readonly beer: Beer; 135 + 136 + /** 137 + * Generator to generate book related entries. 138 + */ 139 + readonly book: Book; 140 + 141 + /** 142 + * Generator to generate car related entries. 143 + */ 144 + readonly car: Car; 145 + 146 + /** 147 + * Generator to generate celebrities. 148 + */ 149 + readonly celebrity: Celebrity; 150 + 151 + /** 152 + * Generator to generate colors. 153 + */ 154 + readonly color: Color; 155 + 156 + /** 157 + * Generator to generate company related entries. 158 + */ 159 + readonly company: Company; 160 + 161 + /** 162 + * Generator to generate emoji related entries. 163 + */ 164 + readonly emoji: Emoji; 165 + 166 + /** 167 + * Generator to generate various error codes and messages. 168 + */ 169 + readonly error: Error; 170 + 171 + /** 172 + * Generator to generate file related entries. 173 + */ 174 + readonly file: File; 175 + 176 + /** 177 + * Generator to generate finance related entries. 178 + */ 179 + readonly finance: Finance; 180 + 181 + /** 182 + * Generator to generate food related entries. 183 + */ 184 + readonly food: Food; 185 + 186 + /** 187 + * Generator to generate game related entries. 188 + */ 189 + readonly game: Game; 190 + 191 + /** 192 + * Generator to generate hacker/IT words and phrases. 193 + */ 194 + readonly hacker: Hacker; 195 + 196 + /** 197 + * Generator to generate hipster words, phrases and paragraphs. 198 + */ 199 + readonly hipster: Hipster; 200 + 201 + /** 202 + * Generator to generate internet related entries. 203 + */ 204 + readonly internet: Internet; 205 + 206 + /** 207 + * Generator to generate language related entries. 208 + */ 209 + readonly language: Language; 210 + 211 + /** 212 + * Generator to generate minecraft related entries. 213 + */ 214 + readonly minecraft: Minecraft; 215 + 216 + /** 217 + * Generator to generate movie related entries. 218 + */ 219 + readonly movie: Movie; 220 + 221 + /** 222 + * Generator to generate numbers. 223 + */ 224 + readonly numbers: Numbers; 225 + 226 + /** 227 + * Generator to generate payment related entries. 228 + */ 229 + readonly payment: Payment; 230 + 231 + /** 232 + * Generator to generate people's personal information. 233 + */ 234 + readonly person: Person; 235 + 236 + /** 237 + * Generator to generate product related entries. 238 + */ 239 + readonly product: Product; 240 + 241 + /** 242 + * Generator to generate strings. 243 + */ 244 + readonly strings: Strings; 245 + 246 + /** 247 + * Generator to generate time and date. 248 + */ 249 + readonly time: Time; 250 + 251 + /** 252 + * Generator to generate words and sentences. 253 + */ 254 + readonly word: Word; 255 + 256 + /** 257 + * Generator with all generator functions for convenient use. 258 + */ 259 + readonly zen: Zen; 260 + } 261 + 262 + /** Default Faker instance. */ 263 + const faker: Faker; 264 + 265 + /** Default Faker instance */ 266 + export default faker; 267 + 268 + /** 269 + * Generator to generate addresses and locations. 270 + */ 271 + export interface Address { 272 + /** 273 + * Residential location including street, city, state, country and postal code. 274 + * @returns a random address 275 + * @example 276 + * ```ts 277 + *import { Faker } from "k6/x/faker" 278 + * 279 + *let faker = new Faker(11) 280 + * 281 + *export default function () { 282 + * console.log(faker.address.address()) 283 + *} 284 + * 285 + *``` 286 + * **Output** (formatted as JSON value) 287 + *```json 288 + * {"Address":"53883 Villageborough, San Bernardino, Kentucky 56992","Street":"53883 Villageborough","City":"San Bernardino","State":"Kentucky","Zip":"56992","Country":"United States of America","Latitude":11.29359,"Longitude":-145.577493} 289 + * ``` 290 + */ 291 + address(): Record<string, unknown>; 292 + 293 + /** 294 + * Part of a country with significant population, often a central hub for culture and commerce. 295 + * @returns a random city 296 + * @example 297 + * ```ts 298 + *import { Faker } from "k6/x/faker" 299 + * 300 + *let faker = new Faker(11) 301 + * 302 + *export default function () { 303 + * console.log(faker.address.city()) 304 + *} 305 + * 306 + *``` 307 + * **Output** (formatted as JSON value) 308 + *```json 309 + * "Hialeah" 310 + * ``` 311 + */ 312 + city(): string; 313 + 314 + /** 315 + * Nation with its own government and defined territory. 316 + * @returns a random country 317 + * @example 318 + * ```ts 319 + *import { Faker } from "k6/x/faker" 320 + * 321 + *let faker = new Faker(11) 322 + * 323 + *export default function () { 324 + * console.log(faker.address.country()) 325 + *} 326 + * 327 + *``` 328 + * **Output** (formatted as JSON value) 329 + *```json 330 + * "Togo" 331 + * ``` 332 + */ 333 + country(): string; 334 + 335 + /** 336 + * Shortened 2-letter form of a country's name. 337 + * @returns a random country abbreviation 338 + * @example 339 + * ```ts 340 + *import { Faker } from "k6/x/faker" 341 + * 342 + *let faker = new Faker(11) 343 + * 344 + *export default function () { 345 + * console.log(faker.address.countryAbbreviation()) 346 + *} 347 + * 348 + *``` 349 + * **Output** (formatted as JSON value) 350 + *```json 351 + * "TG" 352 + * ``` 353 + */ 354 + countryAbbreviation(): string; 355 + 356 + /** 357 + * Geographic coordinate specifying north-south position on Earth's surface. 358 + * @returns a random latitude 359 + * @example 360 + * ```ts 361 + *import { Faker } from "k6/x/faker" 362 + * 363 + *let faker = new Faker(11) 364 + * 365 + *export default function () { 366 + * console.log(faker.address.latitude()) 367 + *} 368 + * 369 + *``` 370 + * **Output** (formatted as JSON value) 371 + *```json 372 + * 11.394086 373 + * ``` 374 + */ 375 + latitude(): number; 376 + 377 + /** 378 + * Latitude number between the given range (default min=0, max=90). 379 + * @param min - Min 380 + * @param max - Max 381 + * @returns a random latitude range 382 + * @example 383 + * ```ts 384 + *import { Faker } from "k6/x/faker" 385 + * 386 + *let faker = new Faker(11) 387 + * 388 + *export default function () { 389 + * console.log(faker.address.latitudeRange(0,90)) 390 + *} 391 + * 392 + *``` 393 + * **Output** (formatted as JSON value) 394 + *```json 395 + * 50.697043 396 + * ``` 397 + */ 398 + latitudeRange(min: number, max: number): number; 399 + 400 + /** 401 + * Geographic coordinate indicating east-west position on Earth's surface. 402 + * @returns a random longitude 403 + * @example 404 + * ```ts 405 + *import { Faker } from "k6/x/faker" 406 + * 407 + *let faker = new Faker(11) 408 + * 409 + *export default function () { 410 + * console.log(faker.address.longitude()) 411 + *} 412 + * 413 + *``` 414 + * **Output** (formatted as JSON value) 415 + *```json 416 + * 22.788172 417 + * ``` 418 + */ 419 + longitude(): number; 420 + 421 + /** 422 + * Longitude number between the given range (default min=0, max=180). 423 + * @param min - Min 424 + * @param max - Max 425 + * @returns a random longitude range 426 + * @example 427 + * ```ts 428 + *import { Faker } from "k6/x/faker" 429 + * 430 + *let faker = new Faker(11) 431 + * 432 + *export default function () { 433 + * console.log(faker.address.longitudeRange(0,180)) 434 + *} 435 + * 436 + *``` 437 + * **Output** (formatted as JSON value) 438 + *```json 439 + * 101.394086 440 + * ``` 441 + */ 442 + longitudeRange(min: number, max: number): number; 443 + 444 + /** 445 + * Governmental division within a country, often having its own laws and government. 446 + * @returns a random state 447 + * @example 448 + * ```ts 449 + *import { Faker } from "k6/x/faker" 450 + * 451 + *let faker = new Faker(11) 452 + * 453 + *export default function () { 454 + * console.log(faker.address.state()) 455 + *} 456 + * 457 + *``` 458 + * **Output** (formatted as JSON value) 459 + *```json 460 + * "Massachusetts" 461 + * ``` 462 + */ 463 + state(): string; 464 + 465 + /** 466 + * Shortened 2-letter form of a country's state. 467 + * @returns a random state abbreviation 468 + * @example 469 + * ```ts 470 + *import { Faker } from "k6/x/faker" 471 + * 472 + *let faker = new Faker(11) 473 + * 474 + *export default function () { 475 + * console.log(faker.address.stateAbbreviation()) 476 + *} 477 + * 478 + *``` 479 + * **Output** (formatted as JSON value) 480 + *```json 481 + * "AA" 482 + * ``` 483 + */ 484 + stateAbbreviation(): string; 485 + 486 + /** 487 + * Public road in a city or town, typically with houses and buildings on each side. 488 + * @returns a random street 489 + * @example 490 + * ```ts 491 + *import { Faker } from "k6/x/faker" 492 + * 493 + *let faker = new Faker(11) 494 + * 495 + *export default function () { 496 + * console.log(faker.address.street()) 497 + *} 498 + * 499 + *``` 500 + * **Output** (formatted as JSON value) 501 + *```json 502 + * "53883 Villageborough" 503 + * ``` 504 + */ 505 + street(): string; 506 + 507 + /** 508 + * Name given to a specific road or street. 509 + * @returns a random street name 510 + * @example 511 + * ```ts 512 + *import { Faker } from "k6/x/faker" 513 + * 514 + *let faker = new Faker(11) 515 + * 516 + *export default function () { 517 + * console.log(faker.address.streetName()) 518 + *} 519 + * 520 + *``` 521 + * **Output** (formatted as JSON value) 522 + *```json 523 + * "Fall" 524 + * ``` 525 + */ 526 + streetName(): string; 527 + 528 + /** 529 + * Numerical identifier assigned to a street. 530 + * @returns a random street number 531 + * @example 532 + * ```ts 533 + *import { Faker } from "k6/x/faker" 534 + * 535 + *let faker = new Faker(11) 536 + * 537 + *export default function () { 538 + * console.log(faker.address.streetNumber()) 539 + *} 540 + * 541 + *``` 542 + * **Output** (formatted as JSON value) 543 + *```json 544 + * "25388" 545 + * ``` 546 + */ 547 + streetNumber(): string; 548 + 549 + /** 550 + * Directional or descriptive term preceding a street name, like 'East' or 'Main'. 551 + * @returns a random street prefix 552 + * @example 553 + * ```ts 554 + *import { Faker } from "k6/x/faker" 555 + * 556 + *let faker = new Faker(11) 557 + * 558 + *export default function () { 559 + * console.log(faker.address.streetPrefix()) 560 + *} 561 + * 562 + *``` 563 + * **Output** (formatted as JSON value) 564 + *```json 565 + * "West" 566 + * ``` 567 + */ 568 + streetPrefix(): string; 569 + 570 + /** 571 + * Designation at the end of a street name indicating type, like 'Avenue' or 'Street'. 572 + * @returns a random street suffix 573 + * @example 574 + * ```ts 575 + *import { Faker } from "k6/x/faker" 576 + * 577 + *let faker = new Faker(11) 578 + * 579 + *export default function () { 580 + * console.log(faker.address.streetSuffix()) 581 + *} 582 + * 583 + *``` 584 + * **Output** (formatted as JSON value) 585 + *```json 586 + * "ville" 587 + * ``` 588 + */ 589 + streetSuffix(): string; 590 + 591 + /** 592 + * Numerical code for postal address sorting, specific to a geographic area. 593 + * @returns a random zip 594 + * @example 595 + * ```ts 596 + *import { Faker } from "k6/x/faker" 597 + * 598 + *let faker = new Faker(11) 599 + * 600 + *export default function () { 601 + * console.log(faker.address.zip()) 602 + *} 603 + * 604 + *``` 605 + * **Output** (formatted as JSON value) 606 + *```json 607 + * "25388" 608 + * ``` 609 + */ 610 + zip(): string; 611 + } 612 + 613 + /** 614 + * Generator to generate animals. 615 + */ 616 + export interface Animal { 617 + /** 618 + * Living creature with the ability to move, eat, and interact with its environment. 619 + * @returns a random animal 620 + * @example 621 + * ```ts 622 + *import { Faker } from "k6/x/faker" 623 + * 624 + *let faker = new Faker(11) 625 + * 626 + *export default function () { 627 + * console.log(faker.animal.animal()) 628 + *} 629 + * 630 + *``` 631 + * **Output** (formatted as JSON value) 632 + *```json 633 + * "crow" 634 + * ``` 635 + */ 636 + animal(): string; 637 + 638 + /** 639 + * Type of animal, such as mammals, birds, reptiles, etc.. 640 + * @returns a random animal type 641 + * @example 642 + * ```ts 643 + *import { Faker } from "k6/x/faker" 644 + * 645 + *let faker = new Faker(11) 646 + * 647 + *export default function () { 648 + * console.log(faker.animal.animalType()) 649 + *} 650 + * 651 + *``` 652 + * **Output** (formatted as JSON value) 653 + *```json 654 + * "amphibians" 655 + * ``` 656 + */ 657 + animalType(): string; 658 + 659 + /** 660 + * Distinct species of birds. 661 + * @returns a random bird 662 + * @example 663 + * ```ts 664 + *import { Faker } from "k6/x/faker" 665 + * 666 + *let faker = new Faker(11) 667 + * 668 + *export default function () { 669 + * console.log(faker.animal.bird()) 670 + *} 671 + * 672 + *``` 673 + * **Output** (formatted as JSON value) 674 + *```json 675 + * "lovebird" 676 + * ``` 677 + */ 678 + bird(): string; 679 + 680 + /** 681 + * Various breeds that define different cats. 682 + * @returns a random cat 683 + * @example 684 + * ```ts 685 + *import { Faker } from "k6/x/faker" 686 + * 687 + *let faker = new Faker(11) 688 + * 689 + *export default function () { 690 + * console.log(faker.animal.cat()) 691 + *} 692 + * 693 + *``` 694 + * **Output** (formatted as JSON value) 695 + *```json 696 + * "Toyger" 697 + * ``` 698 + */ 699 + cat(): string; 700 + 701 + /** 702 + * Various breeds that define different dogs. 703 + * @returns a random dog 704 + * @example 705 + * ```ts 706 + *import { Faker } from "k6/x/faker" 707 + * 708 + *let faker = new Faker(11) 709 + * 710 + *export default function () { 711 + * console.log(faker.animal.dog()) 712 + *} 713 + * 714 + *``` 715 + * **Output** (formatted as JSON value) 716 + *```json 717 + * "Staffordshire Bullterrier" 718 + * ``` 719 + */ 720 + dog(): string; 721 + 722 + /** 723 + * Animal name commonly found on a farm. 724 + * @returns a random farm animal 725 + * @example 726 + * ```ts 727 + *import { Faker } from "k6/x/faker" 728 + * 729 + *let faker = new Faker(11) 730 + * 731 + *export default function () { 732 + * console.log(faker.animal.farmAnimal()) 733 + *} 734 + * 735 + *``` 736 + * **Output** (formatted as JSON value) 737 + *```json 738 + * "Cow" 739 + * ``` 740 + */ 741 + farmAnimal(): string; 742 + 743 + /** 744 + * Affectionate nickname given to a pet. 745 + * @returns a random pet name 746 + * @example 747 + * ```ts 748 + *import { Faker } from "k6/x/faker" 749 + * 750 + *let faker = new Faker(11) 751 + * 752 + *export default function () { 753 + * console.log(faker.animal.petName()) 754 + *} 755 + * 756 + *``` 757 + * **Output** (formatted as JSON value) 758 + *```json 759 + * "Nacho" 760 + * ``` 761 + */ 762 + petName(): string; 763 + } 764 + 765 + /** 766 + * Generator to generate application related entries. 767 + */ 768 + export interface App { 769 + /** 770 + * Person or group creating and developing an application. 771 + * @returns a random app author 772 + * @example 773 + * ```ts 774 + *import { Faker } from "k6/x/faker" 775 + * 776 + *let faker = new Faker(11) 777 + * 778 + *export default function () { 779 + * console.log(faker.app.appAuthor()) 780 + *} 781 + * 782 + *``` 783 + * **Output** (formatted as JSON value) 784 + *```json 785 + * "Wendell Luettgen" 786 + * ``` 787 + */ 788 + appAuthor(): string; 789 + 790 + /** 791 + * Software program designed for a specific purpose or task on a computer or mobile device. 792 + * @returns a random app name 793 + * @example 794 + * ```ts 795 + *import { Faker } from "k6/x/faker" 796 + * 797 + *let faker = new Faker(11) 798 + * 799 + *export default function () { 800 + * console.log(faker.app.appName()) 801 + *} 802 + * 803 + *``` 804 + * **Output** (formatted as JSON value) 805 + *```json 806 + * "Hillbe" 807 + * ``` 808 + */ 809 + appName(): string; 810 + 811 + /** 812 + * Particular release of an application in Semantic Versioning format. 813 + * @returns a random app version 814 + * @example 815 + * ```ts 816 + *import { Faker } from "k6/x/faker" 817 + * 818 + *let faker = new Faker(11) 819 + * 820 + *export default function () { 821 + * console.log(faker.app.appVersion()) 822 + *} 823 + * 824 + *``` 825 + * **Output** (formatted as JSON value) 826 + *```json 827 + * "5.3.20" 828 + * ``` 829 + */ 830 + appVersion(): string; 831 + } 832 + 833 + /** 834 + * Generator to generate beer related entries. 835 + */ 836 + export interface Beer { 837 + /** 838 + * Measures the alcohol content in beer. 839 + * @returns a random beer alcohol 840 + * @example 841 + * ```ts 842 + *import { Faker } from "k6/x/faker" 843 + * 844 + *let faker = new Faker(11) 845 + * 846 + *export default function () { 847 + * console.log(faker.beer.beerAlcohol()) 848 + *} 849 + * 850 + *``` 851 + * **Output** (formatted as JSON value) 852 + *```json 853 + * "6.5%" 854 + * ``` 855 + */ 856 + beerAlcohol(): string; 857 + 858 + /** 859 + * Scale indicating the concentration of extract in worts. 860 + * @returns a random beer blg 861 + * @example 862 + * ```ts 863 + *import { Faker } from "k6/x/faker" 864 + * 865 + *let faker = new Faker(11) 866 + * 867 + *export default function () { 868 + * console.log(faker.beer.beerBlg()) 869 + *} 870 + * 871 + *``` 872 + * **Output** (formatted as JSON value) 873 + *```json 874 + * "13.4°Blg" 875 + * ``` 876 + */ 877 + beerBlg(): string; 878 + 879 + /** 880 + * The flower used in brewing to add flavor, aroma, and bitterness to beer. 881 + * @returns a random beer hop 882 + * @example 883 + * ```ts 884 + *import { Faker } from "k6/x/faker" 885 + * 886 + *let faker = new Faker(11) 887 + * 888 + *export default function () { 889 + * console.log(faker.beer.beerHop()) 890 + *} 891 + * 892 + *``` 893 + * **Output** (formatted as JSON value) 894 + *```json 895 + * "Nugget" 896 + * ``` 897 + */ 898 + beerHop(): string; 899 + 900 + /** 901 + * Scale measuring bitterness of beer from hops. 902 + * @returns a random beer ibu 903 + * @example 904 + * ```ts 905 + *import { Faker } from "k6/x/faker" 906 + * 907 + *let faker = new Faker(11) 908 + * 909 + *export default function () { 910 + * console.log(faker.beer.beerIbu()) 911 + *} 912 + * 913 + *``` 914 + * **Output** (formatted as JSON value) 915 + *```json 916 + * "80 IBU" 917 + * ``` 918 + */ 919 + beerIbu(): string; 920 + 921 + /** 922 + * Processed barley or other grains, provides sugars for fermentation and flavor to beer. 923 + * @returns a random beer malt 924 + * @example 925 + * ```ts 926 + *import { Faker } from "k6/x/faker" 927 + * 928 + *let faker = new Faker(11) 929 + * 930 + *export default function () { 931 + * console.log(faker.beer.beerMalt()) 932 + *} 933 + * 934 + *``` 935 + * **Output** (formatted as JSON value) 936 + *```json 937 + * "Roasted barley" 938 + * ``` 939 + */ 940 + beerMalt(): string; 941 + 942 + /** 943 + * Specific brand or variety of beer. 944 + * @returns a random beer name 945 + * @example 946 + * ```ts 947 + *import { Faker } from "k6/x/faker" 948 + * 949 + *let faker = new Faker(11) 950 + * 951 + *export default function () { 952 + * console.log(faker.beer.beerName()) 953 + *} 954 + * 955 + *``` 956 + * **Output** (formatted as JSON value) 957 + *```json 958 + * "90 Minute IPA" 959 + * ``` 960 + */ 961 + beerName(): string; 962 + 963 + /** 964 + * Distinct characteristics and flavors of beer. 965 + * @returns a random beer style 966 + * @example 967 + * ```ts 968 + *import { Faker } from "k6/x/faker" 969 + * 970 + *let faker = new Faker(11) 971 + * 972 + *export default function () { 973 + * console.log(faker.beer.beerStyle()) 974 + *} 975 + * 976 + *``` 977 + * **Output** (formatted as JSON value) 978 + *```json 979 + * "English Brown Ale" 980 + * ``` 981 + */ 982 + beerStyle(): string; 983 + 984 + /** 985 + * Microorganism used in brewing to ferment sugars, producing alcohol and carbonation in beer. 986 + * @returns a random beer yeast 987 + * @example 988 + * ```ts 989 + *import { Faker } from "k6/x/faker" 990 + * 991 + *let faker = new Faker(11) 992 + * 993 + *export default function () { 994 + * console.log(faker.beer.beerYeast()) 995 + *} 996 + * 997 + *``` 998 + * **Output** (formatted as JSON value) 999 + *```json 1000 + * "2035 - American Lager" 1001 + * ``` 1002 + */ 1003 + beerYeast(): string; 1004 + } 1005 + 1006 + /** 1007 + * Generator to generate book related entries. 1008 + */ 1009 + export interface Book { 1010 + /** 1011 + * Written or printed work consisting of pages bound together, covering various subjects or stories. 1012 + * @returns a random book 1013 + * @example 1014 + * ```ts 1015 + *import { Faker } from "k6/x/faker" 1016 + * 1017 + *let faker = new Faker(11) 1018 + * 1019 + *export default function () { 1020 + * console.log(faker.book.book()) 1021 + *} 1022 + * 1023 + *``` 1024 + * **Output** (formatted as JSON value) 1025 + *```json 1026 + * {"Title":"The Brothers Karamazov","Author":"Albert Camus","Genre":"Urban"} 1027 + * ``` 1028 + */ 1029 + book(): Record<string, string>; 1030 + 1031 + /** 1032 + * The individual who wrote or created the content of a book. 1033 + * @returns a random book author 1034 + * @example 1035 + * ```ts 1036 + *import { Faker } from "k6/x/faker" 1037 + * 1038 + *let faker = new Faker(11) 1039 + * 1040 + *export default function () { 1041 + * console.log(faker.book.bookAuthor()) 1042 + *} 1043 + * 1044 + *``` 1045 + * **Output** (formatted as JSON value) 1046 + *```json 1047 + * "Edgar Allan Poe" 1048 + * ``` 1049 + */ 1050 + bookAuthor(): string; 1051 + 1052 + /** 1053 + * Category or type of book defined by its content, style, or form. 1054 + * @returns a random book genre 1055 + * @example 1056 + * ```ts 1057 + *import { Faker } from "k6/x/faker" 1058 + * 1059 + *let faker = new Faker(11) 1060 + * 1061 + *export default function () { 1062 + * console.log(faker.book.bookGenre()) 1063 + *} 1064 + * 1065 + *``` 1066 + * **Output** (formatted as JSON value) 1067 + *```json 1068 + * "Erotic" 1069 + * ``` 1070 + */ 1071 + bookGenre(): string; 1072 + 1073 + /** 1074 + * The specific name given to a book. 1075 + * @returns a random book title 1076 + * @example 1077 + * ```ts 1078 + *import { Faker } from "k6/x/faker" 1079 + * 1080 + *let faker = new Faker(11) 1081 + * 1082 + *export default function () { 1083 + * console.log(faker.book.bookTitle()) 1084 + *} 1085 + * 1086 + *``` 1087 + * **Output** (formatted as JSON value) 1088 + *```json 1089 + * "The Brothers Karamazov" 1090 + * ``` 1091 + */ 1092 + bookTitle(): string; 1093 + } 1094 + 1095 + /** 1096 + * Generator to generate car related entries. 1097 + */ 1098 + export interface Car { 1099 + /** 1100 + * Wheeled motor vehicle used for transportation. 1101 + * @returns a random car 1102 + * @example 1103 + * ```ts 1104 + *import { Faker } from "k6/x/faker" 1105 + * 1106 + *let faker = new Faker(11) 1107 + * 1108 + *export default function () { 1109 + * console.log(faker.car.car()) 1110 + *} 1111 + * 1112 + *``` 1113 + * **Output** (formatted as JSON value) 1114 + *```json 1115 + * {"Type":"Passenger car compact","Fuel":"CNG","Transmission":"Automatic","Brand":"Daewoo","Model":"Thunderbird","Year":1905} 1116 + * ``` 1117 + */ 1118 + car(): Record<string, unknown>; 1119 + 1120 + /** 1121 + * Type of energy source a car uses. 1122 + * @returns a random car fuel type 1123 + * @example 1124 + * ```ts 1125 + *import { Faker } from "k6/x/faker" 1126 + * 1127 + *let faker = new Faker(11) 1128 + * 1129 + *export default function () { 1130 + * console.log(faker.car.carFuelType()) 1131 + *} 1132 + * 1133 + *``` 1134 + * **Output** (formatted as JSON value) 1135 + *```json 1136 + * "Ethanol" 1137 + * ``` 1138 + */ 1139 + carFuelType(): string; 1140 + 1141 + /** 1142 + * Company or brand that manufactures and designs cars. 1143 + * @returns a random car maker 1144 + * @example 1145 + * ```ts 1146 + *import { Faker } from "k6/x/faker" 1147 + * 1148 + *let faker = new Faker(11) 1149 + * 1150 + *export default function () { 1151 + * console.log(faker.car.carMaker()) 1152 + *} 1153 + * 1154 + *``` 1155 + * **Output** (formatted as JSON value) 1156 + *```json 1157 + * "Lancia" 1158 + * ``` 1159 + */ 1160 + carMaker(): string; 1161 + 1162 + /** 1163 + * Specific design or version of a car produced by a manufacturer. 1164 + * @returns a random car model 1165 + * @example 1166 + * ```ts 1167 + *import { Faker } from "k6/x/faker" 1168 + * 1169 + *let faker = new Faker(11) 1170 + * 1171 + *export default function () { 1172 + * console.log(faker.car.carModel()) 1173 + *} 1174 + * 1175 + *``` 1176 + * **Output** (formatted as JSON value) 1177 + *```json 1178 + * "Tucson 4wd" 1179 + * ``` 1180 + */ 1181 + carModel(): string; 1182 + 1183 + /** 1184 + * Mechanism a car uses to transmit power from the engine to the wheels. 1185 + * @returns a random car transmission type 1186 + * @example 1187 + * ```ts 1188 + *import { Faker } from "k6/x/faker" 1189 + * 1190 + *let faker = new Faker(11) 1191 + * 1192 + *export default function () { 1193 + * console.log(faker.car.carTransmissionType()) 1194 + *} 1195 + * 1196 + *``` 1197 + * **Output** (formatted as JSON value) 1198 + *```json 1199 + * "Manual" 1200 + * ``` 1201 + */ 1202 + carTransmissionType(): string; 1203 + 1204 + /** 1205 + * Classification of cars based on size, use, or body style. 1206 + * @returns a random car type 1207 + * @example 1208 + * ```ts 1209 + *import { Faker } from "k6/x/faker" 1210 + * 1211 + *let faker = new Faker(11) 1212 + * 1213 + *export default function () { 1214 + * console.log(faker.car.carType()) 1215 + *} 1216 + * 1217 + *``` 1218 + * **Output** (formatted as JSON value) 1219 + *```json 1220 + * "Passenger car compact" 1221 + * ``` 1222 + */ 1223 + carType(): string; 1224 + } 1225 + 1226 + /** 1227 + * Generator to generate celebrities. 1228 + */ 1229 + export interface Celebrity { 1230 + /** 1231 + * Famous person known for acting in films, television, or theater. 1232 + * @returns a random celebrity actor 1233 + * @example 1234 + * ```ts 1235 + *import { Faker } from "k6/x/faker" 1236 + * 1237 + *let faker = new Faker(11) 1238 + * 1239 + *export default function () { 1240 + * console.log(faker.celebrity.celebrityActor()) 1241 + *} 1242 + * 1243 + *``` 1244 + * **Output** (formatted as JSON value) 1245 + *```json 1246 + * "Ben Affleck" 1247 + * ``` 1248 + */ 1249 + celebrityActor(): string; 1250 + 1251 + /** 1252 + * High-profile individual known for significant achievements in business or entrepreneurship. 1253 + * @returns a random celebrity business 1254 + * @example 1255 + * ```ts 1256 + *import { Faker } from "k6/x/faker" 1257 + * 1258 + *let faker = new Faker(11) 1259 + * 1260 + *export default function () { 1261 + * console.log(faker.celebrity.celebrityBusiness()) 1262 + *} 1263 + * 1264 + *``` 1265 + * **Output** (formatted as JSON value) 1266 + *```json 1267 + * "Larry Ellison" 1268 + * ``` 1269 + */ 1270 + celebrityBusiness(): string; 1271 + 1272 + /** 1273 + * Famous athlete known for achievements in a particular sport. 1274 + * @returns a random celebrity sport 1275 + * @example 1276 + * ```ts 1277 + *import { Faker } from "k6/x/faker" 1278 + * 1279 + *let faker = new Faker(11) 1280 + * 1281 + *export default function () { 1282 + * console.log(faker.celebrity.celebritySport()) 1283 + *} 1284 + * 1285 + *``` 1286 + * **Output** (formatted as JSON value) 1287 + *```json 1288 + * "Greg Lemond" 1289 + * ``` 1290 + */ 1291 + celebritySport(): string; 1292 + } 1293 + 1294 + /** 1295 + * Generator to generate colors. 1296 + */ 1297 + export interface Color { 1298 + /** 1299 + * Hue seen by the eye, returns the name of the color like red or blue. 1300 + * @returns a random color 1301 + * @example 1302 + * ```ts 1303 + *import { Faker } from "k6/x/faker" 1304 + * 1305 + *let faker = new Faker(11) 1306 + * 1307 + *export default function () { 1308 + * console.log(faker.color.color()) 1309 + *} 1310 + * 1311 + *``` 1312 + * **Output** (formatted as JSON value) 1313 + *```json 1314 + * "MediumVioletRed" 1315 + * ``` 1316 + */ 1317 + color(): string; 1318 + 1319 + /** 1320 + * Six-digit code representing a color in the color model. 1321 + * @returns a random hex color 1322 + * @example 1323 + * ```ts 1324 + *import { Faker } from "k6/x/faker" 1325 + * 1326 + *let faker = new Faker(11) 1327 + * 1328 + *export default function () { 1329 + * console.log(faker.color.hexColor()) 1330 + *} 1331 + * 1332 + *``` 1333 + * **Output** (formatted as JSON value) 1334 + *```json 1335 + * "#bd38ac" 1336 + * ``` 1337 + */ 1338 + hexColor(): string; 1339 + 1340 + /** 1341 + * Attractive and appealing combinations of colors, returns an list of color hex codes. 1342 + * @returns a random nice colors 1343 + * @example 1344 + * ```ts 1345 + *import { Faker } from "k6/x/faker" 1346 + * 1347 + *let faker = new Faker(11) 1348 + * 1349 + *export default function () { 1350 + * console.log(faker.color.niceColors()) 1351 + *} 1352 + * 1353 + *``` 1354 + * **Output** (formatted as JSON value) 1355 + *```json 1356 + * "MediumVioletRed" 1357 + * ``` 1358 + */ 1359 + niceColors(): string[]; 1360 + 1361 + /** 1362 + * Color defined by red, green, and blue light values. 1363 + * @returns a random rgb color 1364 + * @example 1365 + * ```ts 1366 + *import { Faker } from "k6/x/faker" 1367 + * 1368 + *let faker = new Faker(11) 1369 + * 1370 + *export default function () { 1371 + * console.log(faker.color.rgbColor()) 1372 + *} 1373 + * 1374 + *``` 1375 + * **Output** (formatted as JSON value) 1376 + *```json 1377 + * [13,150,143] 1378 + * ``` 1379 + */ 1380 + rgbColor(): number[]; 1381 + 1382 + /** 1383 + * Colors displayed consistently on different web browsers and devices. 1384 + * @returns a random safe color 1385 + * @example 1386 + * ```ts 1387 + *import { Faker } from "k6/x/faker" 1388 + * 1389 + *let faker = new Faker(11) 1390 + * 1391 + *export default function () { 1392 + * console.log(faker.color.safeColor()) 1393 + *} 1394 + * 1395 + *``` 1396 + * **Output** (formatted as JSON value) 1397 + *```json 1398 + * "black" 1399 + * ``` 1400 + */ 1401 + safeColor(): string; 1402 + } 1403 + 1404 + /** 1405 + * Generator to generate company related entries. 1406 + */ 1407 + export interface Company { 1408 + /** 1409 + * Brief description or summary of a company's purpose, products, or services. 1410 + * @returns a random blurb 1411 + * @example 1412 + * ```ts 1413 + *import { Faker } from "k6/x/faker" 1414 + * 1415 + *let faker = new Faker(11) 1416 + * 1417 + *export default function () { 1418 + * console.log(faker.company.blurb()) 1419 + *} 1420 + * 1421 + *``` 1422 + * **Output** (formatted as JSON value) 1423 + *```json 1424 + * "Pride" 1425 + * ``` 1426 + */ 1427 + blurb(): string; 1428 + 1429 + /** 1430 + * Random bs company word. 1431 + * @returns a random bs 1432 + * @example 1433 + * ```ts 1434 + *import { Faker } from "k6/x/faker" 1435 + * 1436 + *let faker = new Faker(11) 1437 + * 1438 + *export default function () { 1439 + * console.log(faker.company.bs()) 1440 + *} 1441 + * 1442 + *``` 1443 + * **Output** (formatted as JSON value) 1444 + *```json 1445 + * "24-7" 1446 + * ``` 1447 + */ 1448 + bs(): string; 1449 + 1450 + /** 1451 + * Trendy or overused term often used in business to sound impressive. 1452 + * @returns a random buzzword 1453 + * @example 1454 + * ```ts 1455 + *import { Faker } from "k6/x/faker" 1456 + * 1457 + *let faker = new Faker(11) 1458 + * 1459 + *export default function () { 1460 + * console.log(faker.company.buzzword()) 1461 + *} 1462 + * 1463 + *``` 1464 + * **Output** (formatted as JSON value) 1465 + *```json 1466 + * "Reverse-engineered" 1467 + * ``` 1468 + */ 1469 + buzzword(): string; 1470 + 1471 + /** 1472 + * Designated official name of a business or organization. 1473 + * @returns a random company 1474 + * @example 1475 + * ```ts 1476 + *import { Faker } from "k6/x/faker" 1477 + * 1478 + *let faker = new Faker(11) 1479 + * 1480 + *export default function () { 1481 + * console.log(faker.company.company()) 1482 + *} 1483 + * 1484 + *``` 1485 + * **Output** (formatted as JSON value) 1486 + *```json 1487 + * "Xatori" 1488 + * ``` 1489 + */ 1490 + company(): string; 1491 + 1492 + /** 1493 + * Suffix at the end of a company name, indicating business structure, like 'Inc.' or 'LLC'. 1494 + * @returns a random company suffix 1495 + * @example 1496 + * ```ts 1497 + *import { Faker } from "k6/x/faker" 1498 + * 1499 + *let faker = new Faker(11) 1500 + * 1501 + *export default function () { 1502 + * console.log(faker.company.companySuffix()) 1503 + *} 1504 + * 1505 + *``` 1506 + * **Output** (formatted as JSON value) 1507 + *```json 1508 + * "LLC" 1509 + * ``` 1510 + */ 1511 + companySuffix(): string; 1512 + 1513 + /** 1514 + * Position or role in employment, involving specific tasks and responsibilities. 1515 + * @returns a random job 1516 + * @example 1517 + * ```ts 1518 + *import { Faker } from "k6/x/faker" 1519 + * 1520 + *let faker = new Faker(11) 1521 + * 1522 + *export default function () { 1523 + * console.log(faker.company.job()) 1524 + *} 1525 + * 1526 + *``` 1527 + * **Output** (formatted as JSON value) 1528 + *```json 1529 + * {"Company":"Xatori","Title":"Representative","Descriptor":"Future","Level":"Tactics"} 1530 + * ``` 1531 + */ 1532 + job(): Record<string, string>; 1533 + 1534 + /** 1535 + * Word used to describe the duties, requirements, and nature of a job. 1536 + * @returns a random job descriptor 1537 + * @example 1538 + * ```ts 1539 + *import { Faker } from "k6/x/faker" 1540 + * 1541 + *let faker = new Faker(11) 1542 + * 1543 + *export default function () { 1544 + * console.log(faker.company.jobDescriptor()) 1545 + *} 1546 + * 1547 + *``` 1548 + * **Output** (formatted as JSON value) 1549 + *```json 1550 + * "Internal" 1551 + * ``` 1552 + */ 1553 + jobDescriptor(): string; 1554 + 1555 + /** 1556 + * Random job level. 1557 + * @returns a random job level 1558 + * @example 1559 + * ```ts 1560 + *import { Faker } from "k6/x/faker" 1561 + * 1562 + *let faker = new Faker(11) 1563 + * 1564 + *export default function () { 1565 + * console.log(faker.company.jobLevel()) 1566 + *} 1567 + * 1568 + *``` 1569 + * **Output** (formatted as JSON value) 1570 + *```json 1571 + * "Identity" 1572 + * ``` 1573 + */ 1574 + jobLevel(): string; 1575 + 1576 + /** 1577 + * Specific title for a position or role within a company or organization. 1578 + * @returns a random job title 1579 + * @example 1580 + * ```ts 1581 + *import { Faker } from "k6/x/faker" 1582 + * 1583 + *let faker = new Faker(11) 1584 + * 1585 + *export default function () { 1586 + * console.log(faker.company.jobTitle()) 1587 + *} 1588 + * 1589 + *``` 1590 + * **Output** (formatted as JSON value) 1591 + *```json 1592 + * "Representative" 1593 + * ``` 1594 + */ 1595 + jobTitle(): string; 1596 + 1597 + /** 1598 + * Catchphrase or motto used by a company to represent its brand or values. 1599 + * @returns a random slogan 1600 + * @example 1601 + * ```ts 1602 + *import { Faker } from "k6/x/faker" 1603 + * 1604 + *let faker = new Faker(11) 1605 + * 1606 + *export default function () { 1607 + * console.log(faker.company.slogan()) 1608 + *} 1609 + * 1610 + *``` 1611 + * **Output** (formatted as JSON value) 1612 + *```json 1613 + * "Pride. De-engineered!" 1614 + * ``` 1615 + */ 1616 + slogan(): string; 1617 + } 1618 + 1619 + /** 1620 + * Generator to generate emoji related entries. 1621 + */ 1622 + export interface Emoji { 1623 + /** 1624 + * Digital symbol expressing feelings or ideas in text messages and online chats. 1625 + * @returns a random emoji 1626 + * @example 1627 + * ```ts 1628 + *import { Faker } from "k6/x/faker" 1629 + * 1630 + *let faker = new Faker(11) 1631 + * 1632 + *export default function () { 1633 + * console.log(faker.emoji.emoji()) 1634 + *} 1635 + * 1636 + *``` 1637 + * **Output** (formatted as JSON value) 1638 + *```json 1639 + * "🐮" 1640 + * ``` 1641 + */ 1642 + emoji(): string; 1643 + 1644 + /** 1645 + * Alternative name or keyword used to represent a specific emoji in text or code. 1646 + * @returns a random emoji alias 1647 + * @example 1648 + * ```ts 1649 + *import { Faker } from "k6/x/faker" 1650 + * 1651 + *let faker = new Faker(11) 1652 + * 1653 + *export default function () { 1654 + * console.log(faker.emoji.emojiAlias()) 1655 + *} 1656 + * 1657 + *``` 1658 + * **Output** (formatted as JSON value) 1659 + *```json 1660 + * "slovakia" 1661 + * ``` 1662 + */ 1663 + emojiAlias(): string; 1664 + 1665 + /** 1666 + * Group or classification of emojis based on their common theme or use, like 'smileys' or 'animals'. 1667 + * @returns a random emoji category 1668 + * @example 1669 + * ```ts 1670 + *import { Faker } from "k6/x/faker" 1671 + * 1672 + *let faker = new Faker(11) 1673 + * 1674 + *export default function () { 1675 + * console.log(faker.emoji.emojiCategory()) 1676 + *} 1677 + * 1678 + *``` 1679 + * **Output** (formatted as JSON value) 1680 + *```json 1681 + * "Smileys & Emotion" 1682 + * ``` 1683 + */ 1684 + emojiCategory(): string; 1685 + 1686 + /** 1687 + * Brief explanation of the meaning or emotion conveyed by an emoji. 1688 + * @returns a random emoji description 1689 + * @example 1690 + * ```ts 1691 + *import { Faker } from "k6/x/faker" 1692 + * 1693 + *let faker = new Faker(11) 1694 + * 1695 + *export default function () { 1696 + * console.log(faker.emoji.emojiDescription()) 1697 + *} 1698 + * 1699 + *``` 1700 + * **Output** (formatted as JSON value) 1701 + *```json 1702 + * "disguised face" 1703 + * ``` 1704 + */ 1705 + emojiDescription(): string; 1706 + 1707 + /** 1708 + * Label or keyword associated with an emoji to categorize or search for it easily. 1709 + * @returns a random emoji tag 1710 + * @example 1711 + * ```ts 1712 + *import { Faker } from "k6/x/faker" 1713 + * 1714 + *let faker = new Faker(11) 1715 + * 1716 + *export default function () { 1717 + * console.log(faker.emoji.emojiTag()) 1718 + *} 1719 + * 1720 + *``` 1721 + * **Output** (formatted as JSON value) 1722 + *```json 1723 + * "lick" 1724 + * ``` 1725 + */ 1726 + emojiTag(): string; 1727 + } 1728 + 1729 + /** 1730 + * Generator to generate various error codes and messages. 1731 + */ 1732 + export interface Error { 1733 + /** 1734 + * A problem or issue encountered while accessing or managing a database. 1735 + * @returns a random database error 1736 + * @example 1737 + * ```ts 1738 + *import { Faker } from "k6/x/faker" 1739 + * 1740 + *let faker = new Faker(11) 1741 + * 1742 + *export default function () { 1743 + * console.log(faker.error.databaseError()) 1744 + *} 1745 + * 1746 + *``` 1747 + * **Output** (formatted as JSON value) 1748 + *```json 1749 + * {} 1750 + * ``` 1751 + */ 1752 + databaseError(): string; 1753 + 1754 + /** 1755 + * Message displayed by a computer or software when a problem or mistake is encountered. 1756 + * @returns a random error 1757 + * @example 1758 + * ```ts 1759 + *import { Faker } from "k6/x/faker" 1760 + * 1761 + *let faker = new Faker(11) 1762 + * 1763 + *export default function () { 1764 + * console.log(faker.error.error()) 1765 + *} 1766 + * 1767 + *``` 1768 + * **Output** (formatted as JSON value) 1769 + *```json 1770 + * {} 1771 + * ``` 1772 + */ 1773 + error(): string; 1774 + 1775 + /** 1776 + * Various categories conveying details about encountered errors. 1777 + * @returns a random error object word 1778 + * @example 1779 + * ```ts 1780 + *import { Faker } from "k6/x/faker" 1781 + * 1782 + *let faker = new Faker(11) 1783 + * 1784 + *export default function () { 1785 + * console.log(faker.error.errorObjectWord()) 1786 + *} 1787 + * 1788 + *``` 1789 + * **Output** (formatted as JSON value) 1790 + *```json 1791 + * {} 1792 + * ``` 1793 + */ 1794 + errorObjectWord(): string; 1795 + 1796 + /** 1797 + * Communication failure in the high-performance, open-source universal RPC framework. 1798 + * @returns a random grpc error 1799 + * @example 1800 + * ```ts 1801 + *import { Faker } from "k6/x/faker" 1802 + * 1803 + *let faker = new Faker(11) 1804 + * 1805 + *export default function () { 1806 + * console.log(faker.error.gRPCError()) 1807 + *} 1808 + * 1809 + *``` 1810 + * **Output** (formatted as JSON value) 1811 + *```json 1812 + * {} 1813 + * ``` 1814 + */ 1815 + gRPCError(): string; 1816 + 1817 + /** 1818 + * Failure or issue occurring within a client software that sends requests to web servers. 1819 + * @returns a random http client error 1820 + * @example 1821 + * ```ts 1822 + *import { Faker } from "k6/x/faker" 1823 + * 1824 + *let faker = new Faker(11) 1825 + * 1826 + *export default function () { 1827 + * console.log(faker.error.httpClientError()) 1828 + *} 1829 + * 1830 + *``` 1831 + * **Output** (formatted as JSON value) 1832 + *```json 1833 + * {} 1834 + * ``` 1835 + */ 1836 + httpClientError(): string; 1837 + 1838 + /** 1839 + * A problem with a web http request. 1840 + * @returns a random http error 1841 + * @example 1842 + * ```ts 1843 + *import { Faker } from "k6/x/faker" 1844 + * 1845 + *let faker = new Faker(11) 1846 + * 1847 + *export default function () { 1848 + * console.log(faker.error.httpError()) 1849 + *} 1850 + * 1851 + *``` 1852 + * **Output** (formatted as JSON value) 1853 + *```json 1854 + * {} 1855 + * ``` 1856 + */ 1857 + httpError(): string; 1858 + 1859 + /** 1860 + * Failure or issue occurring within a server software that recieves requests from clients. 1861 + * @returns a random http server error 1862 + * @example 1863 + * ```ts 1864 + *import { Faker } from "k6/x/faker" 1865 + * 1866 + *let faker = new Faker(11) 1867 + * 1868 + *export default function () { 1869 + * console.log(faker.error.httpServerError()) 1870 + *} 1871 + * 1872 + *``` 1873 + * **Output** (formatted as JSON value) 1874 + *```json 1875 + * {} 1876 + * ``` 1877 + */ 1878 + httpServerError(): string; 1879 + 1880 + /** 1881 + * Malfunction occuring during program execution, often causing abrupt termination or unexpected behavior. 1882 + * @returns a random runtime error 1883 + * @example 1884 + * ```ts 1885 + *import { Faker } from "k6/x/faker" 1886 + * 1887 + *let faker = new Faker(11) 1888 + * 1889 + *export default function () { 1890 + * console.log(faker.error.runtimeError()) 1891 + *} 1892 + * 1893 + *``` 1894 + * **Output** (formatted as JSON value) 1895 + *```json 1896 + * {} 1897 + * ``` 1898 + */ 1899 + runtimeError(): string; 1900 + 1901 + /** 1902 + * Occurs when input data fails to meet required criteria or format specifications. 1903 + * @returns a random validation error 1904 + * @example 1905 + * ```ts 1906 + *import { Faker } from "k6/x/faker" 1907 + * 1908 + *let faker = new Faker(11) 1909 + * 1910 + *export default function () { 1911 + * console.log(faker.error.validationError()) 1912 + *} 1913 + * 1914 + *``` 1915 + * **Output** (formatted as JSON value) 1916 + *```json 1917 + * {} 1918 + * ``` 1919 + */ 1920 + validationError(): string; 1921 + } 1922 + 1923 + /** 1924 + * Generator to generate file related entries. 1925 + */ 1926 + export interface File { 1927 + /** 1928 + * Suffix appended to a filename indicating its format or type. 1929 + * @returns a random file extension 1930 + * @example 1931 + * ```ts 1932 + *import { Faker } from "k6/x/faker" 1933 + * 1934 + *let faker = new Faker(11) 1935 + * 1936 + *export default function () { 1937 + * console.log(faker.file.fileExtension()) 1938 + *} 1939 + * 1940 + *``` 1941 + * **Output** (formatted as JSON value) 1942 + *```json 1943 + * "max" 1944 + * ``` 1945 + */ 1946 + fileExtension(): string; 1947 + 1948 + /** 1949 + * Defines file format and nature for browsers and email clients using standardized identifiers. 1950 + * @returns a random file mime type 1951 + * @example 1952 + * ```ts 1953 + *import { Faker } from "k6/x/faker" 1954 + * 1955 + *let faker = new Faker(11) 1956 + * 1957 + *export default function () { 1958 + * console.log(faker.file.fileMimeType()) 1959 + *} 1960 + * 1961 + *``` 1962 + * **Output** (formatted as JSON value) 1963 + *```json 1964 + * "text/html" 1965 + * ``` 1966 + */ 1967 + fileMimeType(): string; 1968 + } 1969 + 1970 + /** 1971 + * Generator to generate finance related entries. 1972 + */ 1973 + export interface Finance { 1974 + /** 1975 + * Unique identifier for securities, especially bonds, in the United States and Canada. 1976 + * @returns a random cusip 1977 + * @example 1978 + * ```ts 1979 + *import { Faker } from "k6/x/faker" 1980 + * 1981 + *let faker = new Faker(11) 1982 + * 1983 + *export default function () { 1984 + * console.log(faker.finance.cusip()) 1985 + *} 1986 + * 1987 + *``` 1988 + * **Output** (formatted as JSON value) 1989 + *```json 1990 + * "S4BL2MVY6" 1991 + * ``` 1992 + */ 1993 + cusip(): string; 1994 + 1995 + /** 1996 + * International standard code for uniquely identifying securities worldwide. 1997 + * @returns a random isin 1998 + * @example 1999 + * ```ts 2000 + *import { Faker } from "k6/x/faker" 2001 + * 2002 + *let faker = new Faker(11) 2003 + * 2004 + *export default function () { 2005 + * console.log(faker.finance.isin()) 2006 + *} 2007 + * 2008 + *``` 2009 + * **Output** (formatted as JSON value) 2010 + *```json 2011 + * "MYS4BL2MVY69" 2012 + * ``` 2013 + */ 2014 + isin(): string; 2015 + } 2016 + 2017 + /** 2018 + * Generator to generate food related entries. 2019 + */ 2020 + export interface Food { 2021 + /** 2022 + * First meal of the day, typically eaten in the morning. 2023 + * @returns a random breakfast 2024 + * @example 2025 + * ```ts 2026 + *import { Faker } from "k6/x/faker" 2027 + * 2028 + *let faker = new Faker(11) 2029 + * 2030 + *export default function () { 2031 + * console.log(faker.food.breakfast()) 2032 + *} 2033 + * 2034 + *``` 2035 + * **Output** (formatted as JSON value) 2036 + *```json 2037 + * "Ham omelet deluxe" 2038 + * ``` 2039 + */ 2040 + breakfast(): string; 2041 + 2042 + /** 2043 + * Sweet treat often enjoyed after a meal. 2044 + * @returns a random dessert 2045 + * @example 2046 + * ```ts 2047 + *import { Faker } from "k6/x/faker" 2048 + * 2049 + *let faker = new Faker(11) 2050 + * 2051 + *export default function () { 2052 + * console.log(faker.food.dessert()) 2053 + *} 2054 + * 2055 + *``` 2056 + * **Output** (formatted as JSON value) 2057 + *```json 2058 + * "Lindas bloodshot eyeballs" 2059 + * ``` 2060 + */ 2061 + dessert(): string; 2062 + 2063 + /** 2064 + * Evening meal, typically the day's main and most substantial meal. 2065 + * @returns a random dinner 2066 + * @example 2067 + * ```ts 2068 + *import { Faker } from "k6/x/faker" 2069 + * 2070 + *let faker = new Faker(11) 2071 + * 2072 + *export default function () { 2073 + * console.log(faker.food.dinner()) 2074 + *} 2075 + * 2076 + *``` 2077 + * **Output** (formatted as JSON value) 2078 + *```json 2079 + * "Asian broccoli salad" 2080 + * ``` 2081 + */ 2082 + dinner(): string; 2083 + 2084 + /** 2085 + * Liquid consumed for hydration, pleasure, or nutritional benefits. 2086 + * @returns a random drink 2087 + * @example 2088 + * ```ts 2089 + *import { Faker } from "k6/x/faker" 2090 + * 2091 + *let faker = new Faker(11) 2092 + * 2093 + *export default function () { 2094 + * console.log(faker.food.drink()) 2095 + *} 2096 + * 2097 + *``` 2098 + * **Output** (formatted as JSON value) 2099 + *```json 2100 + * "Water" 2101 + * ``` 2102 + */ 2103 + drink(): string; 2104 + 2105 + /** 2106 + * Edible plant part, typically sweet, enjoyed as a natural snack or dessert. 2107 + * @returns a random fruit 2108 + * @example 2109 + * ```ts 2110 + *import { Faker } from "k6/x/faker" 2111 + * 2112 + *let faker = new Faker(11) 2113 + * 2114 + *export default function () { 2115 + * console.log(faker.food.fruit()) 2116 + *} 2117 + * 2118 + *``` 2119 + * **Output** (formatted as JSON value) 2120 + *```json 2121 + * "Avocado" 2122 + * ``` 2123 + */ 2124 + fruit(): string; 2125 + 2126 + /** 2127 + * Midday meal, often lighter than dinner, eaten around noon. 2128 + * @returns a random lunch 2129 + * @example 2130 + * ```ts 2131 + *import { Faker } from "k6/x/faker" 2132 + * 2133 + *let faker = new Faker(11) 2134 + * 2135 + *export default function () { 2136 + * console.log(faker.food.lunch()) 2137 + *} 2138 + * 2139 + *``` 2140 + * **Output** (formatted as JSON value) 2141 + *```json 2142 + * "Tortellini skewers" 2143 + * ``` 2144 + */ 2145 + lunch(): string; 2146 + 2147 + /** 2148 + * Random snack. 2149 + * @returns a random snack 2150 + * @example 2151 + * ```ts 2152 + *import { Faker } from "k6/x/faker" 2153 + * 2154 + *let faker = new Faker(11) 2155 + * 2156 + *export default function () { 2157 + * console.log(faker.food.snack()) 2158 + *} 2159 + * 2160 + *``` 2161 + * **Output** (formatted as JSON value) 2162 + *```json 2163 + * "Hoisin marinated wing pieces" 2164 + * ``` 2165 + */ 2166 + snack(): string; 2167 + 2168 + /** 2169 + * Edible plant or part of a plant, often used in savory cooking or salads. 2170 + * @returns a random vegetable 2171 + * @example 2172 + * ```ts 2173 + *import { Faker } from "k6/x/faker" 2174 + * 2175 + *let faker = new Faker(11) 2176 + * 2177 + *export default function () { 2178 + * console.log(faker.food.vegetable()) 2179 + *} 2180 + * 2181 + *``` 2182 + * **Output** (formatted as JSON value) 2183 + *```json 2184 + * "Broccoli" 2185 + * ``` 2186 + */ 2187 + vegetable(): string; 2188 + } 2189 + 2190 + /** 2191 + * Generator to generate game related entries. 2192 + */ 2193 + export interface Game { 2194 + /** 2195 + * Small, cube-shaped objects used in games of chance for random outcomes. 2196 + * @param numdice - Number of Dice 2197 + * @param sides - Number of Sides 2198 + * @returns a random dice 2199 + * @example 2200 + * ```ts 2201 + *import { Faker } from "k6/x/faker" 2202 + * 2203 + *let faker = new Faker(11) 2204 + * 2205 + *export default function () { 2206 + * console.log(faker.game.dice(1,[5,4,13])) 2207 + *} 2208 + * 2209 + *``` 2210 + * **Output** (formatted as JSON value) 2211 + *```json 2212 + * [5] 2213 + * ``` 2214 + */ 2215 + dice(numdice: number, sides: number[]): number[]; 2216 + 2217 + /** 2218 + * User-selected online username or alias used for identification in games. 2219 + * @returns a random gamertag 2220 + * @example 2221 + * ```ts 2222 + *import { Faker } from "k6/x/faker" 2223 + * 2224 + *let faker = new Faker(11) 2225 + * 2226 + *export default function () { 2227 + * console.log(faker.game.gamertag()) 2228 + *} 2229 + * 2230 + *``` 2231 + * **Output** (formatted as JSON value) 2232 + *```json 2233 + * "BraveArmadillo" 2234 + * ``` 2235 + */ 2236 + gamertag(): string; 2237 + } 2238 + 2239 + /** 2240 + * Generator to generate hacker/IT words and phrases. 2241 + */ 2242 + export interface Hacker { 2243 + /** 2244 + * Abbreviations and acronyms commonly used in the hacking and cybersecurity community. 2245 + * @returns a random hacker abbreviation 2246 + * @example 2247 + * ```ts 2248 + *import { Faker } from "k6/x/faker" 2249 + * 2250 + *let faker = new Faker(11) 2251 + * 2252 + *export default function () { 2253 + * console.log(faker.hacker.hackerAbbreviation()) 2254 + *} 2255 + * 2256 + *``` 2257 + * **Output** (formatted as JSON value) 2258 + *```json 2259 + * "GB" 2260 + * ``` 2261 + */ 2262 + hackerAbbreviation(): string; 2263 + 2264 + /** 2265 + * Adjectives describing terms often associated with hackers and cybersecurity experts. 2266 + * @returns a random hacker adjective 2267 + * @example 2268 + * ```ts 2269 + *import { Faker } from "k6/x/faker" 2270 + * 2271 + *let faker = new Faker(11) 2272 + * 2273 + *export default function () { 2274 + * console.log(faker.hacker.hackerAdjective()) 2275 + *} 2276 + * 2277 + *``` 2278 + * **Output** (formatted as JSON value) 2279 + *```json 2280 + * "auxiliary" 2281 + * ``` 2282 + */ 2283 + hackerAdjective(): string; 2284 + 2285 + /** 2286 + * Noun representing an element, tool, or concept within the realm of hacking and cybersecurity. 2287 + * @returns a random hacker noun 2288 + * @example 2289 + * ```ts 2290 + *import { Faker } from "k6/x/faker" 2291 + * 2292 + *let faker = new Faker(11) 2293 + * 2294 + *export default function () { 2295 + * console.log(faker.hacker.hackerNoun()) 2296 + *} 2297 + * 2298 + *``` 2299 + * **Output** (formatted as JSON value) 2300 + *```json 2301 + * "application" 2302 + * ``` 2303 + */ 2304 + hackerNoun(): string; 2305 + 2306 + /** 2307 + * Informal jargon and slang used in the hacking and cybersecurity community. 2308 + * @returns a random hacker phrase 2309 + * @example 2310 + * ```ts 2311 + *import { Faker } from "k6/x/faker" 2312 + * 2313 + *let faker = new Faker(11) 2314 + * 2315 + *export default function () { 2316 + * console.log(faker.hacker.hackerPhrase()) 2317 + *} 2318 + * 2319 + *``` 2320 + * **Output** (formatted as JSON value) 2321 + *```json 2322 + * "Try to transpile the EXE sensor, maybe it will deconstruct the wireless interface!" 2323 + * ``` 2324 + */ 2325 + hackerPhrase(): string; 2326 + 2327 + /** 2328 + * Verbs associated with actions and activities in the field of hacking and cybersecurity. 2329 + * @returns a random hacker verb 2330 + * @example 2331 + * ```ts 2332 + *import { Faker } from "k6/x/faker" 2333 + * 2334 + *let faker = new Faker(11) 2335 + * 2336 + *export default function () { 2337 + * console.log(faker.hacker.hackerVerb()) 2338 + *} 2339 + * 2340 + *``` 2341 + * **Output** (formatted as JSON value) 2342 + *```json 2343 + * "read" 2344 + * ``` 2345 + */ 2346 + hackerVerb(): string; 2347 + 2348 + /** 2349 + * Verb describing actions and activities related to hacking, often involving computer systems and security. 2350 + * @returns a random hackering verb 2351 + * @example 2352 + * ```ts 2353 + *import { Faker } from "k6/x/faker" 2354 + * 2355 + *let faker = new Faker(11) 2356 + * 2357 + *export default function () { 2358 + * console.log(faker.hacker.hackeringVerb()) 2359 + *} 2360 + * 2361 + *``` 2362 + * **Output** (formatted as JSON value) 2363 + *```json 2364 + * "quantifying" 2365 + * ``` 2366 + */ 2367 + hackeringVerb(): string; 2368 + } 2369 + 2370 + /** 2371 + * Generator to generate hipster words, phrases and paragraphs. 2372 + */ 2373 + export interface Hipster { 2374 + /** 2375 + * Paragraph showcasing the use of trendy and unconventional vocabulary associated with hipster culture. 2376 + * @param paragraphcount - Paragraph Count 2377 + * @param sentencecount - Sentence Count 2378 + * @param wordcount - Word Count 2379 + * @param paragraphseparator - Paragraph Separator 2380 + * @returns a random hipster paragraph 2381 + * @example 2382 + * ```ts 2383 + *import { Faker } from "k6/x/faker" 2384 + * 2385 + *let faker = new Faker(11) 2386 + * 2387 + *export default function () { 2388 + * console.log(faker.hipster.hipsterParagraph(2,2,5,"\u003cbr /\u003e")) 2389 + *} 2390 + * 2391 + *``` 2392 + * **Output** (formatted as JSON value) 2393 + *```json 2394 + * "Offal forage pinterest direct trade pug. Skateboard food truck flannel cold-pressed church-key.<br />Keffiyeh wolf pop-up jean shorts before they sold out. Hoodie roof portland intelligentsia gastropub." 2395 + * ``` 2396 + */ 2397 + hipsterParagraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 2398 + 2399 + /** 2400 + * Sentence showcasing the use of trendy and unconventional vocabulary associated with hipster culture. 2401 + * @param wordcount - Word Count 2402 + * @returns a random hipster sentence 2403 + * @example 2404 + * ```ts 2405 + *import { Faker } from "k6/x/faker" 2406 + * 2407 + *let faker = new Faker(11) 2408 + * 2409 + *export default function () { 2410 + * console.log(faker.hipster.hipsterSentence(5)) 2411 + *} 2412 + * 2413 + *``` 2414 + * **Output** (formatted as JSON value) 2415 + *```json 2416 + * "Offal forage pinterest direct trade pug." 2417 + * ``` 2418 + */ 2419 + hipsterSentence(wordcount: number): string; 2420 + 2421 + /** 2422 + * Trendy and unconventional vocabulary used by hipsters to express unique cultural preferences. 2423 + * @returns a random hipster word 2424 + * @example 2425 + * ```ts 2426 + *import { Faker } from "k6/x/faker" 2427 + * 2428 + *let faker = new Faker(11) 2429 + * 2430 + *export default function () { 2431 + * console.log(faker.hipster.hipsterWord()) 2432 + *} 2433 + * 2434 + *``` 2435 + * **Output** (formatted as JSON value) 2436 + *```json 2437 + * "offal" 2438 + * ``` 2439 + */ 2440 + hipsterWord(): string; 2441 + } 2442 + 2443 + /** 2444 + * Generator to generate internet related entries. 2445 + */ 2446 + export interface Internet { 2447 + /** 2448 + * The specific identification string sent by the Google Chrome web browser when making requests on the internet. 2449 + * @returns a random chrome user agent 2450 + * @example 2451 + * ```ts 2452 + *import { Faker } from "k6/x/faker" 2453 + * 2454 + *let faker = new Faker(11) 2455 + * 2456 + *export default function () { 2457 + * console.log(faker.internet.chromeUserAgent()) 2458 + *} 2459 + * 2460 + *``` 2461 + * **Output** (formatted as JSON value) 2462 + *```json 2463 + * "Mozilla/5.0 (X11; Linux i686) AppleWebKit/5340 (KHTML, like Gecko) Chrome/40.0.816.0 Mobile Safari/5340" 2464 + * ``` 2465 + */ 2466 + chromeUserAgent(): string; 2467 + 2468 + /** 2469 + * Human-readable web address used to identify websites on the internet. 2470 + * @returns a random domain name 2471 + * @example 2472 + * ```ts 2473 + *import { Faker } from "k6/x/faker" 2474 + * 2475 + *let faker = new Faker(11) 2476 + * 2477 + *export default function () { 2478 + * console.log(faker.internet.domainName()) 2479 + *} 2480 + * 2481 + *``` 2482 + * **Output** (formatted as JSON value) 2483 + *```json 2484 + * "internalenhance.org" 2485 + * ``` 2486 + */ 2487 + domainName(): string; 2488 + 2489 + /** 2490 + * The part of a domain name that comes after the last dot, indicating its type or purpose. 2491 + * @returns a random domain suffix 2492 + * @example 2493 + * ```ts 2494 + *import { Faker } from "k6/x/faker" 2495 + * 2496 + *let faker = new Faker(11) 2497 + * 2498 + *export default function () { 2499 + * console.log(faker.internet.domainSuffix()) 2500 + *} 2501 + * 2502 + *``` 2503 + * **Output** (formatted as JSON value) 2504 + *```json 2505 + * "info" 2506 + * ``` 2507 + */ 2508 + domainSuffix(): string; 2509 + 2510 + /** 2511 + * The specific identification string sent by the Firefox web browser when making requests on the internet. 2512 + * @returns a random firefox user agent 2513 + * @example 2514 + * ```ts 2515 + *import { Faker } from "k6/x/faker" 2516 + * 2517 + *let faker = new Faker(11) 2518 + * 2519 + *export default function () { 2520 + * console.log(faker.internet.firefoxUserAgent()) 2521 + *} 2522 + * 2523 + *``` 2524 + * **Output** (formatted as JSON value) 2525 + *```json 2526 + * "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_1 rv:5.0) Gecko/1979-07-30 Firefox/37.0" 2527 + * ``` 2528 + */ 2529 + firefoxUserAgent(): string; 2530 + 2531 + /** 2532 + * Verb used in HTTP requests to specify the desired action to be performed on a resource. 2533 + * @returns a random http method 2534 + * @example 2535 + * ```ts 2536 + *import { Faker } from "k6/x/faker" 2537 + * 2538 + *let faker = new Faker(11) 2539 + * 2540 + *export default function () { 2541 + * console.log(faker.internet.httpMethod()) 2542 + *} 2543 + * 2544 + *``` 2545 + * **Output** (formatted as JSON value) 2546 + *```json 2547 + * "HEAD" 2548 + * ``` 2549 + */ 2550 + httpMethod(): string; 2551 + 2552 + /** 2553 + * Random http status code. 2554 + * @returns a random http status code 2555 + * @example 2556 + * ```ts 2557 + *import { Faker } from "k6/x/faker" 2558 + * 2559 + *let faker = new Faker(11) 2560 + * 2561 + *export default function () { 2562 + * console.log(faker.internet.httpStatusCode()) 2563 + *} 2564 + * 2565 + *``` 2566 + * **Output** (formatted as JSON value) 2567 + *```json 2568 + * 400 2569 + * ``` 2570 + */ 2571 + httpStatusCode(): number; 2572 + 2573 + /** 2574 + * Three-digit number returned by a web server to indicate the outcome of an HTTP request. 2575 + * @returns a random http status code simple 2576 + * @example 2577 + * ```ts 2578 + *import { Faker } from "k6/x/faker" 2579 + * 2580 + *let faker = new Faker(11) 2581 + * 2582 + *export default function () { 2583 + * console.log(faker.internet.httpStatusCodeSimple()) 2584 + *} 2585 + * 2586 + *``` 2587 + * **Output** (formatted as JSON value) 2588 + *```json 2589 + * 200 2590 + * ``` 2591 + */ 2592 + httpStatusCodeSimple(): number; 2593 + 2594 + /** 2595 + * Number indicating the version of the HTTP protocol used for communication between a client and a server. 2596 + * @returns a random http version 2597 + * @example 2598 + * ```ts 2599 + *import { Faker } from "k6/x/faker" 2600 + * 2601 + *let faker = new Faker(11) 2602 + * 2603 + *export default function () { 2604 + * console.log(faker.internet.httpVersion()) 2605 + *} 2606 + * 2607 + *``` 2608 + * **Output** (formatted as JSON value) 2609 + *```json 2610 + * "HTTP/1.0" 2611 + * ``` 2612 + */ 2613 + httpVersion(): string; 2614 + 2615 + /** 2616 + * Web address pointing to an image file that can be accessed and displayed online. 2617 + * @param width - Width 2618 + * @param height - Height 2619 + * @returns a random image url 2620 + * @example 2621 + * ```ts 2622 + *import { Faker } from "k6/x/faker" 2623 + * 2624 + *let faker = new Faker(11) 2625 + * 2626 + *export default function () { 2627 + * console.log(faker.internet.imageUrl(500,500)) 2628 + *} 2629 + * 2630 + *``` 2631 + * **Output** (formatted as JSON value) 2632 + *```json 2633 + * "https://picsum.photos/500/500" 2634 + * ``` 2635 + */ 2636 + imageUrl(width: number, height: number): string; 2637 + 2638 + /** 2639 + * Attribute used to define the name of an input element in web forms. 2640 + * @returns a random input name 2641 + * @example 2642 + * ```ts 2643 + *import { Faker } from "k6/x/faker" 2644 + * 2645 + *let faker = new Faker(11) 2646 + * 2647 + *export default function () { 2648 + * console.log(faker.internet.inputName()) 2649 + *} 2650 + * 2651 + *``` 2652 + * **Output** (formatted as JSON value) 2653 + *```json 2654 + * "last_name" 2655 + * ``` 2656 + */ 2657 + inputName(): string; 2658 + 2659 + /** 2660 + * Numerical label assigned to devices on a network for identification and communication. 2661 + * @returns a random ipv4 address 2662 + * @example 2663 + * ```ts 2664 + *import { Faker } from "k6/x/faker" 2665 + * 2666 + *let faker = new Faker(11) 2667 + * 2668 + *export default function () { 2669 + * console.log(faker.internet.ipv4Address()) 2670 + *} 2671 + * 2672 + *``` 2673 + * **Output** (formatted as JSON value) 2674 + *```json 2675 + * "234.106.177.171" 2676 + * ``` 2677 + */ 2678 + ipv4Address(): string; 2679 + 2680 + /** 2681 + * Numerical label assigned to devices on a network, providing a larger address space than IPv4 for internet communication. 2682 + * @returns a random ipv6 address 2683 + * @example 2684 + * ```ts 2685 + *import { Faker } from "k6/x/faker" 2686 + * 2687 + *let faker = new Faker(11) 2688 + * 2689 + *export default function () { 2690 + * console.log(faker.internet.ipv6Address()) 2691 + *} 2692 + * 2693 + *``` 2694 + * **Output** (formatted as JSON value) 2695 + *```json 2696 + * "3aea:ef6a:38b1:7cab:7f0:946c:a3a9:cb90" 2697 + * ``` 2698 + */ 2699 + ipv6Address(): string; 2700 + 2701 + /** 2702 + * Classification used in logging to indicate the severity or priority of a log entry. 2703 + * @returns a random log level 2704 + * @example 2705 + * ```ts 2706 + *import { Faker } from "k6/x/faker" 2707 + * 2708 + *let faker = new Faker(11) 2709 + * 2710 + *export default function () { 2711 + * console.log(faker.internet.logLevel()) 2712 + *} 2713 + * 2714 + *``` 2715 + * **Output** (formatted as JSON value) 2716 + *```json 2717 + * "error" 2718 + * ``` 2719 + */ 2720 + logLevel(): string; 2721 + 2722 + /** 2723 + * Unique identifier assigned to network interfaces, often used in Ethernet networks. 2724 + * @returns a random mac address 2725 + * @example 2726 + * ```ts 2727 + *import { Faker } from "k6/x/faker" 2728 + * 2729 + *let faker = new Faker(11) 2730 + * 2731 + *export default function () { 2732 + * console.log(faker.internet.macAddress()) 2733 + *} 2734 + * 2735 + *``` 2736 + * **Output** (formatted as JSON value) 2737 + *```json 2738 + * "87:2d:cd:bc:0d:f3" 2739 + * ``` 2740 + */ 2741 + macAddress(): string; 2742 + 2743 + /** 2744 + * The specific identification string sent by the Opera web browser when making requests on the internet. 2745 + * @returns a random opera user agent 2746 + * @example 2747 + * ```ts 2748 + *import { Faker } from "k6/x/faker" 2749 + * 2750 + *let faker = new Faker(11) 2751 + * 2752 + *export default function () { 2753 + * console.log(faker.internet.operaUserAgent()) 2754 + *} 2755 + * 2756 + *``` 2757 + * **Output** (formatted as JSON value) 2758 + *```json 2759 + * "Opera/10.45 (X11; Linux i686; en-US) Presto/2.13.288 Version/13.00" 2760 + * ``` 2761 + */ 2762 + operaUserAgent(): string; 2763 + 2764 + /** 2765 + * Secret word or phrase used to authenticate access to a system or account. 2766 + * @param lower - Lower 2767 + * @param upper - Upper 2768 + * @param numeric - Numeric 2769 + * @param special - Special 2770 + * @param space - Space 2771 + * @param length - Length 2772 + * @returns a random password 2773 + * @example 2774 + * ```ts 2775 + *import { Faker } from "k6/x/faker" 2776 + * 2777 + *let faker = new Faker(11) 2778 + * 2779 + *export default function () { 2780 + * console.log(faker.internet.password(true,false,true,true,false,12)) 2781 + *} 2782 + * 2783 + *``` 2784 + * **Output** (formatted as JSON value) 2785 + *```json 2786 + * "z42x8h!47-9r" 2787 + * ``` 2788 + */ 2789 + password(lower: boolean, upper: boolean, numeric: boolean, special: boolean, space: boolean, length: number): string; 2790 + 2791 + /** 2792 + * The specific identification string sent by the Safari web browser when making requests on the internet. 2793 + * @returns a random safari user agent 2794 + * @example 2795 + * ```ts 2796 + *import { Faker } from "k6/x/faker" 2797 + * 2798 + *let faker = new Faker(11) 2799 + * 2800 + *export default function () { 2801 + * console.log(faker.internet.safariUserAgent()) 2802 + *} 2803 + * 2804 + *``` 2805 + * **Output** (formatted as JSON value) 2806 + *```json 2807 + * "Mozilla/5.0 (iPhone; CPU iPhone OS 7_3_2 like Mac OS X; en-US) AppleWebKit/534.34.8 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6534.34.8" 2808 + * ``` 2809 + */ 2810 + safariUserAgent(): string; 2811 + 2812 + /** 2813 + * Web address that specifies the location of a resource on the internet. 2814 + * @returns a random url 2815 + * @example 2816 + * ```ts 2817 + *import { Faker } from "k6/x/faker" 2818 + * 2819 + *let faker = new Faker(11) 2820 + * 2821 + *export default function () { 2822 + * console.log(faker.internet.url()) 2823 + *} 2824 + * 2825 + *``` 2826 + * **Output** (formatted as JSON value) 2827 + *```json 2828 + * "http://www.forwardtransition.biz/enhance/benchmark" 2829 + * ``` 2830 + */ 2831 + url(): string; 2832 + 2833 + /** 2834 + * String sent by a web browser to identify itself when requesting web content. 2835 + * @returns a random user agent 2836 + * @example 2837 + * ```ts 2838 + *import { Faker } from "k6/x/faker" 2839 + * 2840 + *let faker = new Faker(11) 2841 + * 2842 + *export default function () { 2843 + * console.log(faker.internet.userAgent()) 2844 + *} 2845 + * 2846 + *``` 2847 + * **Output** (formatted as JSON value) 2848 + *```json 2849 + * "Mozilla/5.0 (X11; Linux i686) AppleWebKit/5311 (KHTML, like Gecko) Chrome/37.0.834.0 Mobile Safari/5311" 2850 + * ``` 2851 + */ 2852 + userAgent(): string; 2853 + 2854 + /** 2855 + * Unique identifier assigned to a user for accessing an account or system. 2856 + * @returns a random username 2857 + * @example 2858 + * ```ts 2859 + *import { Faker } from "k6/x/faker" 2860 + * 2861 + *let faker = new Faker(11) 2862 + * 2863 + *export default function () { 2864 + * console.log(faker.internet.username()) 2865 + *} 2866 + * 2867 + *``` 2868 + * **Output** (formatted as JSON value) 2869 + *```json 2870 + * "Abshire5538" 2871 + * ``` 2872 + */ 2873 + username(): string; 2874 + } 2875 + 2876 + /** 2877 + * Generator to generate language related entries. 2878 + */ 2879 + export interface Language { 2880 + /** 2881 + * System of communication using symbols, words, and grammar to convey meaning between individuals. 2882 + * @returns a random language 2883 + * @example 2884 + * ```ts 2885 + *import { Faker } from "k6/x/faker" 2886 + * 2887 + *let faker = new Faker(11) 2888 + * 2889 + *export default function () { 2890 + * console.log(faker.language.language()) 2891 + *} 2892 + * 2893 + *``` 2894 + * **Output** (formatted as JSON value) 2895 + *```json 2896 + * "Esperanto" 2897 + * ``` 2898 + */ 2899 + language(): string; 2900 + 2901 + /** 2902 + * Shortened form of a language's name. 2903 + * @returns a random language abbreviation 2904 + * @example 2905 + * ```ts 2906 + *import { Faker } from "k6/x/faker" 2907 + * 2908 + *let faker = new Faker(11) 2909 + * 2910 + *export default function () { 2911 + * console.log(faker.language.languageAbbreviation()) 2912 + *} 2913 + * 2914 + *``` 2915 + * **Output** (formatted as JSON value) 2916 + *```json 2917 + * "eo" 2918 + * ``` 2919 + */ 2920 + languageAbbreviation(): string; 2921 + 2922 + /** 2923 + * Set of guidelines and standards for identifying and representing languages in computing and internet protocols. 2924 + * @returns a random language bcp 2925 + * @example 2926 + * ```ts 2927 + *import { Faker } from "k6/x/faker" 2928 + * 2929 + *let faker = new Faker(11) 2930 + * 2931 + *export default function () { 2932 + * console.log(faker.language.languageBcp()) 2933 + *} 2934 + * 2935 + *``` 2936 + * **Output** (formatted as JSON value) 2937 + *```json 2938 + * "he-IL" 2939 + * ``` 2940 + */ 2941 + languageBcp(): string; 2942 + 2943 + /** 2944 + * Formal system of instructions used to create software and perform computational tasks. 2945 + * @returns a random programming language 2946 + * @example 2947 + * ```ts 2948 + *import { Faker } from "k6/x/faker" 2949 + * 2950 + *let faker = new Faker(11) 2951 + * 2952 + *export default function () { 2953 + * console.log(faker.language.programmingLanguage()) 2954 + *} 2955 + * 2956 + *``` 2957 + * **Output** (formatted as JSON value) 2958 + *```json 2959 + * "Ceylon" 2960 + * ``` 2961 + */ 2962 + programmingLanguage(): string; 2963 + } 2964 + 2965 + /** 2966 + * Generator to generate minecraft related entries. 2967 + */ 2968 + export interface Minecraft { 2969 + /** 2970 + * Non-hostile creatures in Minecraft, often used for resources and farming. 2971 + * @returns a random minecraft animal 2972 + * @example 2973 + * ```ts 2974 + *import { Faker } from "k6/x/faker" 2975 + * 2976 + *let faker = new Faker(11) 2977 + * 2978 + *export default function () { 2979 + * console.log(faker.minecraft.minecraftAnimal()) 2980 + *} 2981 + * 2982 + *``` 2983 + * **Output** (formatted as JSON value) 2984 + *```json 2985 + * "chicken" 2986 + * ``` 2987 + */ 2988 + minecraftAnimal(): string; 2989 + 2990 + /** 2991 + * Component of an armor set in Minecraft, such as a helmet, chestplate, leggings, or boots. 2992 + * @returns a random minecraft armor part 2993 + * @example 2994 + * ```ts 2995 + *import { Faker } from "k6/x/faker" 2996 + * 2997 + *let faker = new Faker(11) 2998 + * 2999 + *export default function () { 3000 + * console.log(faker.minecraft.minecraftArmorPart()) 3001 + *} 3002 + * 3003 + *``` 3004 + * **Output** (formatted as JSON value) 3005 + *```json 3006 + * "leggings" 3007 + * ``` 3008 + */ 3009 + minecraftArmorPart(): string; 3010 + 3011 + /** 3012 + * Classification system for armor sets in Minecraft, indicating their effectiveness and protection level. 3013 + * @returns a random minecraft armor tier 3014 + * @example 3015 + * ```ts 3016 + *import { Faker } from "k6/x/faker" 3017 + * 3018 + *let faker = new Faker(11) 3019 + * 3020 + *export default function () { 3021 + * console.log(faker.minecraft.minecraftArmorTier()) 3022 + *} 3023 + * 3024 + *``` 3025 + * **Output** (formatted as JSON value) 3026 + *```json 3027 + * "leather" 3028 + * ``` 3029 + */ 3030 + minecraftArmorTier(): string; 3031 + 3032 + /** 3033 + * Distinctive environmental regions in the game, characterized by unique terrain, vegetation, and weather. 3034 + * @returns a random minecraft biome 3035 + * @example 3036 + * ```ts 3037 + *import { Faker } from "k6/x/faker" 3038 + * 3039 + *let faker = new Faker(11) 3040 + * 3041 + *export default function () { 3042 + * console.log(faker.minecraft.minecraftBiome()) 3043 + *} 3044 + * 3045 + *``` 3046 + * **Output** (formatted as JSON value) 3047 + *```json 3048 + * "plain" 3049 + * ``` 3050 + */ 3051 + minecraftBiome(): string; 3052 + 3053 + /** 3054 + * Items used to change the color of various in-game objects. 3055 + * @returns a random minecraft dye 3056 + * @example 3057 + * ```ts 3058 + *import { Faker } from "k6/x/faker" 3059 + * 3060 + *let faker = new Faker(11) 3061 + * 3062 + *export default function () { 3063 + * console.log(faker.minecraft.minecraftDye()) 3064 + *} 3065 + * 3066 + *``` 3067 + * **Output** (formatted as JSON value) 3068 + *```json 3069 + * "purple" 3070 + * ``` 3071 + */ 3072 + minecraftDye(): string; 3073 + 3074 + /** 3075 + * Consumable items in Minecraft that provide nourishment to the player character. 3076 + * @returns a random minecraft food 3077 + * @example 3078 + * ```ts 3079 + *import { Faker } from "k6/x/faker" 3080 + * 3081 + *let faker = new Faker(11) 3082 + * 3083 + *export default function () { 3084 + * console.log(faker.minecraft.minecraftFood()) 3085 + *} 3086 + * 3087 + *``` 3088 + * **Output** (formatted as JSON value) 3089 + *```json 3090 + * "pufferfish" 3091 + * ``` 3092 + */ 3093 + minecraftFood(): string; 3094 + 3095 + /** 3096 + * Powerful hostile creature in the game, often found in challenging dungeons or structures. 3097 + * @returns a random minecraft mob boss 3098 + * @example 3099 + * ```ts 3100 + *import { Faker } from "k6/x/faker" 3101 + * 3102 + *let faker = new Faker(11) 3103 + * 3104 + *export default function () { 3105 + * console.log(faker.minecraft.minecraftMobBoss()) 3106 + *} 3107 + * 3108 + *``` 3109 + * **Output** (formatted as JSON value) 3110 + *```json 3111 + * "ender dragon" 3112 + * ``` 3113 + */ 3114 + minecraftMobBoss(): string; 3115 + 3116 + /** 3117 + * Aggressive creatures in the game that actively attack players when encountered. 3118 + * @returns a random minecraft mob hostile 3119 + * @example 3120 + * ```ts 3121 + *import { Faker } from "k6/x/faker" 3122 + * 3123 + *let faker = new Faker(11) 3124 + * 3125 + *export default function () { 3126 + * console.log(faker.minecraft.minecraftMobHostile()) 3127 + *} 3128 + * 3129 + *``` 3130 + * **Output** (formatted as JSON value) 3131 + *```json 3132 + * "blaze" 3133 + * ``` 3134 + */ 3135 + minecraftMobHostile(): string; 3136 + 3137 + /** 3138 + * Creature in the game that only becomes hostile if provoked, typically defending itself when attacked. 3139 + * @returns a random minecraft mob neutral 3140 + * @example 3141 + * ```ts 3142 + *import { Faker } from "k6/x/faker" 3143 + * 3144 + *let faker = new Faker(11) 3145 + * 3146 + *export default function () { 3147 + * console.log(faker.minecraft.minecraftMobNeutral()) 3148 + *} 3149 + * 3150 + *``` 3151 + * **Output** (formatted as JSON value) 3152 + *```json 3153 + * "dolphin" 3154 + * ``` 3155 + */ 3156 + minecraftMobNeutral(): string; 3157 + 3158 + /** 3159 + * Non-aggressive creatures in the game that do not attack players. 3160 + * @returns a random minecraft mob passive 3161 + * @example 3162 + * ```ts 3163 + *import { Faker } from "k6/x/faker" 3164 + * 3165 + *let faker = new Faker(11) 3166 + * 3167 + *export default function () { 3168 + * console.log(faker.minecraft.minecraftMobPassive()) 3169 + *} 3170 + * 3171 + *``` 3172 + * **Output** (formatted as JSON value) 3173 + *```json 3174 + * "axolotl" 3175 + * ``` 3176 + */ 3177 + minecraftMobPassive(): string; 3178 + 3179 + /** 3180 + * Naturally occurring minerals found in the game Minecraft, used for crafting purposes. 3181 + * @returns a random minecraft ore 3182 + * @example 3183 + * ```ts 3184 + *import { Faker } from "k6/x/faker" 3185 + * 3186 + *let faker = new Faker(11) 3187 + * 3188 + *export default function () { 3189 + * console.log(faker.minecraft.minecraftOre()) 3190 + *} 3191 + * 3192 + *``` 3193 + * **Output** (formatted as JSON value) 3194 + *```json 3195 + * "iron" 3196 + * ``` 3197 + */ 3198 + minecraftOre(): string; 3199 + 3200 + /** 3201 + * Items in Minecraft designed for specific tasks, including mining, digging, and building. 3202 + * @returns a random minecraft tool 3203 + * @example 3204 + * ```ts 3205 + *import { Faker } from "k6/x/faker" 3206 + * 3207 + *let faker = new Faker(11) 3208 + * 3209 + *export default function () { 3210 + * console.log(faker.minecraft.minecraftTool()) 3211 + *} 3212 + * 3213 + *``` 3214 + * **Output** (formatted as JSON value) 3215 + *```json 3216 + * "pickaxe" 3217 + * ``` 3218 + */ 3219 + minecraftTool(): string; 3220 + 3221 + /** 3222 + * The profession or occupation assigned to a villager character in the game. 3223 + * @returns a random minecraft villager job 3224 + * @example 3225 + * ```ts 3226 + *import { Faker } from "k6/x/faker" 3227 + * 3228 + *let faker = new Faker(11) 3229 + * 3230 + *export default function () { 3231 + * console.log(faker.minecraft.minecraftVillagerJob()) 3232 + *} 3233 + * 3234 + *``` 3235 + * **Output** (formatted as JSON value) 3236 + *```json 3237 + * "carpenter" 3238 + * ``` 3239 + */ 3240 + minecraftVillagerJob(): string; 3241 + 3242 + /** 3243 + * Measure of a villager's experience and proficiency in their assigned job or profession. 3244 + * @returns a random minecraft villager level 3245 + * @example 3246 + * ```ts 3247 + *import { Faker } from "k6/x/faker" 3248 + * 3249 + *let faker = new Faker(11) 3250 + * 3251 + *export default function () { 3252 + * console.log(faker.minecraft.minecraftVillagerLevel()) 3253 + *} 3254 + * 3255 + *``` 3256 + * **Output** (formatted as JSON value) 3257 + *```json 3258 + * "novice" 3259 + * ``` 3260 + */ 3261 + minecraftVillagerLevel(): string; 3262 + 3263 + /** 3264 + * Designated area or structure in Minecraft where villagers perform their job-related tasks and trading. 3265 + * @returns a random minecraft villager station 3266 + * @example 3267 + * ```ts 3268 + *import { Faker } from "k6/x/faker" 3269 + * 3270 + *let faker = new Faker(11) 3271 + * 3272 + *export default function () { 3273 + * console.log(faker.minecraft.minecraftVillagerStation()) 3274 + *} 3275 + * 3276 + *``` 3277 + * **Output** (formatted as JSON value) 3278 + *```json 3279 + * "lectern" 3280 + * ``` 3281 + */ 3282 + minecraftVillagerStation(): string; 3283 + 3284 + /** 3285 + * Tools and items used in Minecraft for combat and defeating hostile mobs. 3286 + * @returns a random minecraft weapon 3287 + * @example 3288 + * ```ts 3289 + *import { Faker } from "k6/x/faker" 3290 + * 3291 + *let faker = new Faker(11) 3292 + * 3293 + *export default function () { 3294 + * console.log(faker.minecraft.minecraftWeapon()) 3295 + *} 3296 + * 3297 + *``` 3298 + * **Output** (formatted as JSON value) 3299 + *```json 3300 + * "sword" 3301 + * ``` 3302 + */ 3303 + minecraftWeapon(): string; 3304 + 3305 + /** 3306 + * Atmospheric conditions in the game that include rain, thunderstorms, and clear skies, affecting gameplay and ambiance. 3307 + * @returns a random minecraft weather 3308 + * @example 3309 + * ```ts 3310 + *import { Faker } from "k6/x/faker" 3311 + * 3312 + *let faker = new Faker(11) 3313 + * 3314 + *export default function () { 3315 + * console.log(faker.minecraft.minecraftWeather()) 3316 + *} 3317 + * 3318 + *``` 3319 + * **Output** (formatted as JSON value) 3320 + *```json 3321 + * "clear" 3322 + * ``` 3323 + */ 3324 + minecraftWeather(): string; 3325 + 3326 + /** 3327 + * Natural resource in Minecraft, used for crafting various items and building structures. 3328 + * @returns a random minecraft wood 3329 + * @example 3330 + * ```ts 3331 + *import { Faker } from "k6/x/faker" 3332 + * 3333 + *let faker = new Faker(11) 3334 + * 3335 + *export default function () { 3336 + * console.log(faker.minecraft.minecraftWood()) 3337 + *} 3338 + * 3339 + *``` 3340 + * **Output** (formatted as JSON value) 3341 + *```json 3342 + * "oak" 3343 + * ``` 3344 + */ 3345 + minecraftWood(): string; 3346 + } 3347 + 3348 + /** 3349 + * Generator to generate movie related entries. 3350 + */ 3351 + export interface Movie { 3352 + /** 3353 + * A story told through moving pictures and sound. 3354 + * @returns a random movie 3355 + * @example 3356 + * ```ts 3357 + *import { Faker } from "k6/x/faker" 3358 + * 3359 + *let faker = new Faker(11) 3360 + * 3361 + *export default function () { 3362 + * console.log(faker.movie.movie()) 3363 + *} 3364 + * 3365 + *``` 3366 + * **Output** (formatted as JSON value) 3367 + *```json 3368 + * {"Name":"Sherlock Jr.","Genre":"Music"} 3369 + * ``` 3370 + */ 3371 + movie(): Record<string, string>; 3372 + 3373 + /** 3374 + * Category that classifies movies based on common themes, styles, and storytelling approaches. 3375 + * @returns a random movie genre 3376 + * @example 3377 + * ```ts 3378 + *import { Faker } from "k6/x/faker" 3379 + * 3380 + *let faker = new Faker(11) 3381 + * 3382 + *export default function () { 3383 + * console.log(faker.movie.movieGenre()) 3384 + *} 3385 + * 3386 + *``` 3387 + * **Output** (formatted as JSON value) 3388 + *```json 3389 + * "Film-Noir" 3390 + * ``` 3391 + */ 3392 + movieGenre(): string; 3393 + 3394 + /** 3395 + * Title or name of a specific film used for identification and reference. 3396 + * @returns a random movie name 3397 + * @example 3398 + * ```ts 3399 + *import { Faker } from "k6/x/faker" 3400 + * 3401 + *let faker = new Faker(11) 3402 + * 3403 + *export default function () { 3404 + * console.log(faker.movie.movieName()) 3405 + *} 3406 + * 3407 + *``` 3408 + * **Output** (formatted as JSON value) 3409 + *```json 3410 + * "Sherlock Jr." 3411 + * ``` 3412 + */ 3413 + movieName(): string; 3414 + } 3415 + 3416 + /** 3417 + * Generator to generate numbers. 3418 + */ 3419 + export interface Numbers { 3420 + /** 3421 + * Data type that represents one of two possible values, typically true or false. 3422 + * @returns a random boolean 3423 + * @example 3424 + * ```ts 3425 + *import { Faker } from "k6/x/faker" 3426 + * 3427 + *let faker = new Faker(11) 3428 + * 3429 + *export default function () { 3430 + * console.log(faker.numbers.boolean()) 3431 + *} 3432 + * 3433 + *``` 3434 + * **Output** (formatted as JSON value) 3435 + *```json 3436 + * true 3437 + * ``` 3438 + */ 3439 + boolean(): boolean; 3440 + 3441 + /** 3442 + * Data type representing floating-point numbers with 32 bits of precision in computing. 3443 + * @returns a random float32 3444 + * @example 3445 + * ```ts 3446 + *import { Faker } from "k6/x/faker" 3447 + * 3448 + *let faker = new Faker(11) 3449 + * 3450 + *export default function () { 3451 + * console.log(faker.numbers.float32()) 3452 + *} 3453 + * 3454 + *``` 3455 + * **Output** (formatted as JSON value) 3456 + *```json 3457 + * 1.9168120387159532e+38 3458 + * ``` 3459 + */ 3460 + float32(): number; 3461 + 3462 + /** 3463 + * Float32 value between given range. 3464 + * @param min - Min 3465 + * @param max - Max 3466 + * @returns a random float32 range 3467 + * @example 3468 + * ```ts 3469 + *import { Faker } from "k6/x/faker" 3470 + * 3471 + *let faker = new Faker(11) 3472 + * 3473 + *export default function () { 3474 + * console.log(faker.numbers.float32Range(3,5)) 3475 + *} 3476 + * 3477 + *``` 3478 + * **Output** (formatted as JSON value) 3479 + *```json 3480 + * 4.126601219177246 3481 + * ``` 3482 + */ 3483 + float32Range(min: number, max: number): number; 3484 + 3485 + /** 3486 + * Data type representing floating-point numbers with 64 bits of precision in computing. 3487 + * @returns a random float64 3488 + * @example 3489 + * ```ts 3490 + *import { Faker } from "k6/x/faker" 3491 + * 3492 + *let faker = new Faker(11) 3493 + * 3494 + *export default function () { 3495 + * console.log(faker.numbers.float64()) 3496 + *} 3497 + * 3498 + *``` 3499 + * **Output** (formatted as JSON value) 3500 + *```json 3501 + * 1.012641406418422e+308 3502 + * ``` 3503 + */ 3504 + float64(): number; 3505 + 3506 + /** 3507 + * Float64 value between given range. 3508 + * @param min - Min 3509 + * @param max - Max 3510 + * @returns a random float64 range 3511 + * @example 3512 + * ```ts 3513 + *import { Faker } from "k6/x/faker" 3514 + * 3515 + *let faker = new Faker(11) 3516 + * 3517 + *export default function () { 3518 + * console.log(faker.numbers.float64Range(3,5)) 3519 + *} 3520 + * 3521 + *``` 3522 + * **Output** (formatted as JSON value) 3523 + *```json 3524 + * 4.126600960731799 3525 + * ``` 3526 + */ 3527 + float64Range(min: number, max: number): number; 3528 + 3529 + /** 3530 + * Hexadecimal representation of an 128-bit unsigned integer. 3531 + * @returns a random hexuint128 3532 + * @example 3533 + * ```ts 3534 + *import { Faker } from "k6/x/faker" 3535 + * 3536 + *let faker = new Faker(11) 3537 + * 3538 + *export default function () { 3539 + * console.log(faker.numbers.hexUint128()) 3540 + *} 3541 + * 3542 + *``` 3543 + * **Output** (formatted as JSON value) 3544 + *```json 3545 + * "0xaa1b0c903d687691402ee58a2330f9c5" 3546 + * ``` 3547 + */ 3548 + hexUint128(): string; 3549 + 3550 + /** 3551 + * Hexadecimal representation of an 16-bit unsigned integer. 3552 + * @returns a random hexuint16 3553 + * @example 3554 + * ```ts 3555 + *import { Faker } from "k6/x/faker" 3556 + * 3557 + *let faker = new Faker(11) 3558 + * 3559 + *export default function () { 3560 + * console.log(faker.numbers.hexUint16()) 3561 + *} 3562 + * 3563 + *``` 3564 + * **Output** (formatted as JSON value) 3565 + *```json 3566 + * "0xaa1b" 3567 + * ``` 3568 + */ 3569 + hexUint16(): string; 3570 + 3571 + /** 3572 + * Hexadecimal representation of an 256-bit unsigned integer. 3573 + * @returns a random hexuint256 3574 + * @example 3575 + * ```ts 3576 + *import { Faker } from "k6/x/faker" 3577 + * 3578 + *let faker = new Faker(11) 3579 + * 3580 + *export default function () { 3581 + * console.log(faker.numbers.hexUint256()) 3582 + *} 3583 + * 3584 + *``` 3585 + * **Output** (formatted as JSON value) 3586 + *```json 3587 + * "0xaa1b0c903d687691402ee58a2330f9c54b727953d2379f94d23ea4cdad195b6a" 3588 + * ``` 3589 + */ 3590 + hexUint256(): string; 3591 + 3592 + /** 3593 + * Hexadecimal representation of an 32-bit unsigned integer. 3594 + * @returns a random hexuint32 3595 + * @example 3596 + * ```ts 3597 + *import { Faker } from "k6/x/faker" 3598 + * 3599 + *let faker = new Faker(11) 3600 + * 3601 + *export default function () { 3602 + * console.log(faker.numbers.hexUint32()) 3603 + *} 3604 + * 3605 + *``` 3606 + * **Output** (formatted as JSON value) 3607 + *```json 3608 + * "0xaa1b0c90" 3609 + * ``` 3610 + */ 3611 + hexUint32(): string; 3612 + 3613 + /** 3614 + * Hexadecimal representation of an 64-bit unsigned integer. 3615 + * @returns a random hexuint64 3616 + * @example 3617 + * ```ts 3618 + *import { Faker } from "k6/x/faker" 3619 + * 3620 + *let faker = new Faker(11) 3621 + * 3622 + *export default function () { 3623 + * console.log(faker.numbers.hexUint64()) 3624 + *} 3625 + * 3626 + *``` 3627 + * **Output** (formatted as JSON value) 3628 + *```json 3629 + * "0xaa1b0c903d687691" 3630 + * ``` 3631 + */ 3632 + hexUint64(): string; 3633 + 3634 + /** 3635 + * Hexadecimal representation of an 8-bit unsigned integer. 3636 + * @returns a random hexuint8 3637 + * @example 3638 + * ```ts 3639 + *import { Faker } from "k6/x/faker" 3640 + * 3641 + *let faker = new Faker(11) 3642 + * 3643 + *export default function () { 3644 + * console.log(faker.numbers.hexUint8()) 3645 + *} 3646 + * 3647 + *``` 3648 + * **Output** (formatted as JSON value) 3649 + *```json 3650 + * "0xaa" 3651 + * ``` 3652 + */ 3653 + hexUint8(): string; 3654 + 3655 + /** 3656 + * Signed 16-bit integer, capable of representing values from 32,768 to 32,767. 3657 + * @returns a random int16 3658 + * @example 3659 + * ```ts 3660 + *import { Faker } from "k6/x/faker" 3661 + * 3662 + *let faker = new Faker(11) 3663 + * 3664 + *export default function () { 3665 + * console.log(faker.numbers.int16()) 3666 + *} 3667 + * 3668 + *``` 3669 + * **Output** (formatted as JSON value) 3670 + *```json 3671 + * -4595 3672 + * ``` 3673 + */ 3674 + int16(): number; 3675 + 3676 + /** 3677 + * Signed 32-bit integer, capable of representing values from -2,147,483,648 to 2,147,483,647. 3678 + * @returns a random int32 3679 + * @example 3680 + * ```ts 3681 + *import { Faker } from "k6/x/faker" 3682 + * 3683 + *let faker = new Faker(11) 3684 + * 3685 + *export default function () { 3686 + * console.log(faker.numbers.int32()) 3687 + *} 3688 + * 3689 + *``` 3690 + * **Output** (formatted as JSON value) 3691 + *```json 3692 + * -15831539 3693 + * ``` 3694 + */ 3695 + int32(): number; 3696 + 3697 + /** 3698 + * Signed 64-bit integer, capable of representing values from -9,223,372,036,854,775,808 to -9,223,372,036,854,775,807. 3699 + * @returns a random int64 3700 + * @example 3701 + * ```ts 3702 + *import { Faker } from "k6/x/faker" 3703 + * 3704 + *let faker = new Faker(11) 3705 + * 3706 + *export default function () { 3707 + * console.log(faker.numbers.int64()) 3708 + *} 3709 + * 3710 + *``` 3711 + * **Output** (formatted as JSON value) 3712 + *```json 3713 + * 5195529898953699000 3714 + * ``` 3715 + */ 3716 + int64(): number; 3717 + 3718 + /** 3719 + * Signed 8-bit integer, capable of representing values from -128 to 127. 3720 + * @returns a random int8 3721 + * @example 3722 + * ```ts 3723 + *import { Faker } from "k6/x/faker" 3724 + * 3725 + *let faker = new Faker(11) 3726 + * 3727 + *export default function () { 3728 + * console.log(faker.numbers.int8()) 3729 + *} 3730 + * 3731 + *``` 3732 + * **Output** (formatted as JSON value) 3733 + *```json 3734 + * -115 3735 + * ``` 3736 + */ 3737 + int8(): number; 3738 + 3739 + /** 3740 + * Integer value between given range. 3741 + * @param min - Min 3742 + * @param max - Max 3743 + * @returns a random intrange 3744 + * @example 3745 + * ```ts 3746 + *import { Faker } from "k6/x/faker" 3747 + * 3748 + *let faker = new Faker(11) 3749 + * 3750 + *export default function () { 3751 + * console.log(faker.numbers.intRange(3,5)) 3752 + *} 3753 + * 3754 + *``` 3755 + * **Output** (formatted as JSON value) 3756 + *```json 3757 + * 3 3758 + * ``` 3759 + */ 3760 + intRange(min: number, max: number): number; 3761 + 3762 + /** 3763 + * Mathematical concept used for counting, measuring, and expressing quantities or values. 3764 + * @param min - Min 3765 + * @param max - Max 3766 + * @returns a random number 3767 + * @example 3768 + * ```ts 3769 + *import { Faker } from "k6/x/faker" 3770 + * 3771 + *let faker = new Faker(11) 3772 + * 3773 + *export default function () { 3774 + * console.log(faker.numbers.number(-2147483648,2147483647)) 3775 + *} 3776 + * 3777 + *``` 3778 + * **Output** (formatted as JSON value) 3779 + *```json 3780 + * -15831539 3781 + * ``` 3782 + */ 3783 + number(min: number, max: number): number; 3784 + 3785 + /** 3786 + * Randomly selected value from a slice of int. 3787 + * @param ints - Integers 3788 + * @returns a random random int 3789 + * @example 3790 + * ```ts 3791 + *import { Faker } from "k6/x/faker" 3792 + * 3793 + *let faker = new Faker(11) 3794 + * 3795 + *export default function () { 3796 + * console.log(faker.numbers.randomInt([14,8,13])) 3797 + *} 3798 + * 3799 + *``` 3800 + * **Output** (formatted as JSON value) 3801 + *```json 3802 + * 14 3803 + * ``` 3804 + */ 3805 + randomInt(ints: number[]): number; 3806 + 3807 + /** 3808 + * Randomly selected value from a slice of uint. 3809 + * @param uints - Unsigned Integers 3810 + * @returns a random random uint 3811 + * @example 3812 + * ```ts 3813 + *import { Faker } from "k6/x/faker" 3814 + * 3815 + *let faker = new Faker(11) 3816 + * 3817 + *export default function () { 3818 + * console.log(faker.numbers.randomUint([14,8,13])) 3819 + *} 3820 + * 3821 + *``` 3822 + * **Output** (formatted as JSON value) 3823 + *```json 3824 + * 14 3825 + * ``` 3826 + */ 3827 + randomUint(uints: number[]): number; 3828 + 3829 + /** 3830 + * Shuffles an array of ints. 3831 + * @param ints - Integers 3832 + * @returns a random shuffle ints 3833 + * @example 3834 + * ```ts 3835 + *import { Faker } from "k6/x/faker" 3836 + * 3837 + *let faker = new Faker(11) 3838 + * 3839 + *export default function () { 3840 + * console.log(faker.numbers.shuffleInts([14,8,13])) 3841 + *} 3842 + * 3843 + *``` 3844 + * **Output** (formatted as JSON value) 3845 + *```json 3846 + * [8,13,14] 3847 + * ``` 3848 + */ 3849 + shuffleInts(ints: number[]): number[]; 3850 + 3851 + /** 3852 + * Unsigned 16-bit integer, capable of representing values from 0 to 65,535. 3853 + * @returns a random uint16 3854 + * @example 3855 + * ```ts 3856 + *import { Faker } from "k6/x/faker" 3857 + * 3858 + *let faker = new Faker(11) 3859 + * 3860 + *export default function () { 3861 + * console.log(faker.numbers.uint16()) 3862 + *} 3863 + * 3864 + *``` 3865 + * **Output** (formatted as JSON value) 3866 + *```json 3867 + * 15082 3868 + * ``` 3869 + */ 3870 + uint16(): number; 3871 + 3872 + /** 3873 + * Unsigned 32-bit integer, capable of representing values from 0 to 4,294,967,295. 3874 + * @returns a random uint32 3875 + * @example 3876 + * ```ts 3877 + *import { Faker } from "k6/x/faker" 3878 + * 3879 + *let faker = new Faker(11) 3880 + * 3881 + *export default function () { 3882 + * console.log(faker.numbers.uint32()) 3883 + *} 3884 + * 3885 + *``` 3886 + * **Output** (formatted as JSON value) 3887 + *```json 3888 + * 2131652109 3889 + * ``` 3890 + */ 3891 + uint32(): number; 3892 + 3893 + /** 3894 + * Unsigned 64-bit integer, capable of representing values from 0 to 18,446,744,073,709,551,615. 3895 + * @returns a random uint64 3896 + * @example 3897 + * ```ts 3898 + *import { Faker } from "k6/x/faker" 3899 + * 3900 + *let faker = new Faker(11) 3901 + * 3902 + *export default function () { 3903 + * console.log(faker.numbers.uint64()) 3904 + *} 3905 + * 3906 + *``` 3907 + * **Output** (formatted as JSON value) 3908 + *```json 3909 + * 5195529898953699000 3910 + * ``` 3911 + */ 3912 + uint64(): number; 3913 + 3914 + /** 3915 + * Unsigned 8-bit integer, capable of representing values from 0 to 255. 3916 + * @returns a random uint8 3917 + * @example 3918 + * ```ts 3919 + *import { Faker } from "k6/x/faker" 3920 + * 3921 + *let faker = new Faker(11) 3922 + * 3923 + *export default function () { 3924 + * console.log(faker.numbers.uint8()) 3925 + *} 3926 + * 3927 + *``` 3928 + * **Output** (formatted as JSON value) 3929 + *```json 3930 + * 234 3931 + * ``` 3932 + */ 3933 + uint8(): number; 3934 + 3935 + /** 3936 + * Non-negative integer value between given range. 3937 + * @param min - Min 3938 + * @param max - Max 3939 + * @returns a random uintrange 3940 + * @example 3941 + * ```ts 3942 + *import { Faker } from "k6/x/faker" 3943 + * 3944 + *let faker = new Faker(11) 3945 + * 3946 + *export default function () { 3947 + * console.log(faker.numbers.uintRange(0,4294967295)) 3948 + *} 3949 + * 3950 + *``` 3951 + * **Output** (formatted as JSON value) 3952 + *```json 3953 + * 2131652109 3954 + * ``` 3955 + */ 3956 + uintRange(min: number, max: number): number; 3957 + } 3958 + 3959 + /** 3960 + * Generator to generate payment related entries. 3961 + */ 3962 + export interface Payment { 3963 + /** 3964 + * A bank account number used for Automated Clearing House transactions and electronic transfers. 3965 + * @returns a random ach account number 3966 + * @example 3967 + * ```ts 3968 + *import { Faker } from "k6/x/faker" 3969 + * 3970 + *let faker = new Faker(11) 3971 + * 3972 + *export default function () { 3973 + * console.log(faker.payment.achAccountNumber()) 3974 + *} 3975 + * 3976 + *``` 3977 + * **Output** (formatted as JSON value) 3978 + *```json 3979 + * "805388385166" 3980 + * ``` 3981 + */ 3982 + achAccountNumber(): string; 3983 + 3984 + /** 3985 + * Unique nine-digit code used in the U.S. for identifying the bank and processing electronic transactions. 3986 + * @returns a random ach routing number 3987 + * @example 3988 + * ```ts 3989 + *import { Faker } from "k6/x/faker" 3990 + * 3991 + *let faker = new Faker(11) 3992 + * 3993 + *export default function () { 3994 + * console.log(faker.payment.achRoutingNumber()) 3995 + *} 3996 + * 3997 + *``` 3998 + * **Output** (formatted as JSON value) 3999 + *```json 4000 + * "605388385" 4001 + * ``` 4002 + */ 4003 + achRoutingNumber(): string; 4004 + 4005 + /** 4006 + * Cryptographic identifier used to receive, store, and send Bitcoin cryptocurrency in a peer-to-peer network. 4007 + * @returns a random bitcoin address 4008 + * @example 4009 + * ```ts 4010 + *import { Faker } from "k6/x/faker" 4011 + * 4012 + *let faker = new Faker(11) 4013 + * 4014 + *export default function () { 4015 + * console.log(faker.payment.bitcoinAddress()) 4016 + *} 4017 + * 4018 + *``` 4019 + * **Output** (formatted as JSON value) 4020 + *```json 4021 + * "1t1xAUWhqY1QsZFAlYm6Z75zxerJ" 4022 + * ``` 4023 + */ 4024 + bitcoinAddress(): string; 4025 + 4026 + /** 4027 + * Secret, secure code that allows the owner to access and control their Bitcoin holdings. 4028 + * @returns a random bitcoin private key 4029 + * @example 4030 + * ```ts 4031 + *import { Faker } from "k6/x/faker" 4032 + * 4033 + *let faker = new Faker(11) 4034 + * 4035 + *export default function () { 4036 + * console.log(faker.payment.bitcoinPrivateKey()) 4037 + *} 4038 + * 4039 + *``` 4040 + * **Output** (formatted as JSON value) 4041 + *```json 4042 + * "5KgZY1TaSmxpQcUsBAkWXFnidi9UsGRsoQq3dWe4oZz5zrG9VVC" 4043 + * ``` 4044 + */ 4045 + bitcoinPrivateKey(): string; 4046 + 4047 + /** 4048 + * Plastic card allowing users to make purchases on credit, with payment due at a later date. 4049 + * @returns a random credit card 4050 + * @example 4051 + * ```ts 4052 + *import { Faker } from "k6/x/faker" 4053 + * 4054 + *let faker = new Faker(11) 4055 + * 4056 + *export default function () { 4057 + * console.log(faker.payment.creditCard()) 4058 + *} 4059 + * 4060 + *``` 4061 + * **Output** (formatted as JSON value) 4062 + *```json 4063 + * {"Type":"Mastercard","Number":"2713883851665706","Exp":"04/32","Cvv":"489"} 4064 + * ``` 4065 + */ 4066 + creditCard(): Record<string, unknown>; 4067 + 4068 + /** 4069 + * Three or four-digit security code on a credit card used for online and remote transactions. 4070 + * @returns a random credit card cvv 4071 + * @example 4072 + * ```ts 4073 + *import { Faker } from "k6/x/faker" 4074 + * 4075 + *let faker = new Faker(11) 4076 + * 4077 + *export default function () { 4078 + * console.log(faker.payment.creditCardCVV()) 4079 + *} 4080 + * 4081 + *``` 4082 + * **Output** (formatted as JSON value) 4083 + *```json 4084 + * "405" 4085 + * ``` 4086 + */ 4087 + creditCardCVV(): string; 4088 + 4089 + /** 4090 + * Date when a credit card becomes invalid and cannot be used for transactions. 4091 + * @returns a random credit card exp 4092 + * @example 4093 + * ```ts 4094 + *import { Faker } from "k6/x/faker" 4095 + * 4096 + *let faker = new Faker(11) 4097 + * 4098 + *export default function () { 4099 + * console.log(faker.payment.creditCardExp()) 4100 + *} 4101 + * 4102 + *``` 4103 + * **Output** (formatted as JSON value) 4104 + *```json 4105 + * "10/27" 4106 + * ``` 4107 + */ 4108 + creditCardExp(): string; 4109 + 4110 + /** 4111 + * Month of the date when a credit card becomes invalid and cannot be used for transactions. 4112 + * @returns a random credit card exp month 4113 + * @example 4114 + * ```ts 4115 + *import { Faker } from "k6/x/faker" 4116 + * 4117 + *let faker = new Faker(11) 4118 + * 4119 + *export default function () { 4120 + * console.log(faker.payment.creditCardExpMonth()) 4121 + *} 4122 + * 4123 + *``` 4124 + * **Output** (formatted as JSON value) 4125 + *```json 4126 + * "07" 4127 + * ``` 4128 + */ 4129 + creditCardExpMonth(): string; 4130 + 4131 + /** 4132 + * Year of the date when a credit card becomes invalid and cannot be used for transactions. 4133 + * @returns a random credit card exp year 4134 + * @example 4135 + * ```ts 4136 + *import { Faker } from "k6/x/faker" 4137 + * 4138 + *let faker = new Faker(11) 4139 + * 4140 + *export default function () { 4141 + * console.log(faker.payment.creditCardExpYear()) 4142 + *} 4143 + * 4144 + *``` 4145 + * **Output** (formatted as JSON value) 4146 + *```json 4147 + * "25" 4148 + * ``` 4149 + */ 4150 + creditCardExpYear(): string; 4151 + 4152 + /** 4153 + * Unique numerical identifier on a credit card used for making electronic payments and transactions. 4154 + * @param types - Types 4155 + * @param bins - Bins 4156 + * @param gaps - Gaps 4157 + * @returns a random credit card number 4158 + * @example 4159 + * ```ts 4160 + *import { Faker } from "k6/x/faker" 4161 + * 4162 + *let faker = new Faker(11) 4163 + * 4164 + *export default function () { 4165 + * console.log(faker.payment.creditCardNumber(["none","how","these","keep","trip","congolese","choir","computer","still","far"],["unless","army","party","riches","theirs","instead","here","mine","whichever","that"],false)) 4166 + *} 4167 + * 4168 + *``` 4169 + * **Output** (formatted as JSON value) 4170 + *```json 4171 + * "0" 4172 + * ``` 4173 + */ 4174 + creditCardNumber(types: string[], bins: string[], gaps: boolean): string; 4175 + 4176 + /** 4177 + * Unique numerical identifier on a credit card used for making electronic payments and transactions. 4178 + * @returns a random credit card number formatted 4179 + * @example 4180 + * ```ts 4181 + *import { Faker } from "k6/x/faker" 4182 + * 4183 + *let faker = new Faker(11) 4184 + * 4185 + *export default function () { 4186 + * console.log(faker.payment.creditCardNumberFormatted()) 4187 + *} 4188 + * 4189 + *``` 4190 + * **Output** (formatted as JSON value) 4191 + *```json 4192 + * "4111-1111-1111-1111" 4193 + * ``` 4194 + */ 4195 + creditCardNumberFormatted(): string; 4196 + 4197 + /** 4198 + * Classification of credit cards based on the issuing company. 4199 + * @returns a random credit card type 4200 + * @example 4201 + * ```ts 4202 + *import { Faker } from "k6/x/faker" 4203 + * 4204 + *let faker = new Faker(11) 4205 + * 4206 + *export default function () { 4207 + * console.log(faker.payment.creditCardType()) 4208 + *} 4209 + * 4210 + *``` 4211 + * **Output** (formatted as JSON value) 4212 + *```json 4213 + * "Mastercard" 4214 + * ``` 4215 + */ 4216 + creditCardType(): string; 4217 + 4218 + /** 4219 + * Medium of exchange, often in the form of paper money or coins, used for trade and transactions. 4220 + * @returns a random currency 4221 + * @example 4222 + * ```ts 4223 + *import { Faker } from "k6/x/faker" 4224 + * 4225 + *let faker = new Faker(11) 4226 + * 4227 + *export default function () { 4228 + * console.log(faker.payment.currency()) 4229 + *} 4230 + * 4231 + *``` 4232 + * **Output** (formatted as JSON value) 4233 + *```json 4234 + * {"Short":"VEF","Long":"Venezuela Bolivar"} 4235 + * ``` 4236 + */ 4237 + currency(): Record<string, string>; 4238 + 4239 + /** 4240 + * Complete name of a specific currency used for official identification in financial transactions. 4241 + * @returns a random currency long 4242 + * @example 4243 + * ```ts 4244 + *import { Faker } from "k6/x/faker" 4245 + * 4246 + *let faker = new Faker(11) 4247 + * 4248 + *export default function () { 4249 + * console.log(faker.payment.currencyLong()) 4250 + *} 4251 + * 4252 + *``` 4253 + * **Output** (formatted as JSON value) 4254 + *```json 4255 + * "Venezuela Bolivar" 4256 + * ``` 4257 + */ 4258 + currencyLong(): string; 4259 + 4260 + /** 4261 + * Short 3-letter word used to represent a specific currency. 4262 + * @returns a random currency short 4263 + * @example 4264 + * ```ts 4265 + *import { Faker } from "k6/x/faker" 4266 + * 4267 + *let faker = new Faker(11) 4268 + * 4269 + *export default function () { 4270 + * console.log(faker.payment.currencyShort()) 4271 + *} 4272 + * 4273 + *``` 4274 + * **Output** (formatted as JSON value) 4275 + *```json 4276 + * "VEF" 4277 + * ``` 4278 + */ 4279 + currencyShort(): string; 4280 + 4281 + /** 4282 + * The amount of money or value assigned to a product, service, or asset in a transaction. 4283 + * @param min - Min 4284 + * @param max - Max 4285 + * @returns a random price 4286 + * @example 4287 + * ```ts 4288 + *import { Faker } from "k6/x/faker" 4289 + * 4290 + *let faker = new Faker(11) 4291 + * 4292 + *export default function () { 4293 + * console.log(faker.payment.price(0,1000)) 4294 + *} 4295 + * 4296 + *``` 4297 + * **Output** (formatted as JSON value) 4298 + *```json 4299 + * 563.3 4300 + * ``` 4301 + */ 4302 + price(min: number, max: number): number; 4303 + } 4304 + 4305 + /** 4306 + * Generator to generate people's personal information. 4307 + */ 4308 + export interface Person { 4309 + /** 4310 + * Electronic mail used for sending digital messages and communication over the internet. 4311 + * @returns a random email 4312 + * @example 4313 + * ```ts 4314 + *import { Faker } from "k6/x/faker" 4315 + * 4316 + *let faker = new Faker(11) 4317 + * 4318 + *export default function () { 4319 + * console.log(faker.person.email()) 4320 + *} 4321 + * 4322 + *``` 4323 + * **Output** (formatted as JSON value) 4324 + *```json 4325 + * "josiahthiel@luettgen.biz" 4326 + * ``` 4327 + */ 4328 + email(): string; 4329 + 4330 + /** 4331 + * The name given to a person at birth. 4332 + * @returns a random first name 4333 + * @example 4334 + * ```ts 4335 + *import { Faker } from "k6/x/faker" 4336 + * 4337 + *let faker = new Faker(11) 4338 + * 4339 + *export default function () { 4340 + * console.log(faker.person.firstName()) 4341 + *} 4342 + * 4343 + *``` 4344 + * **Output** (formatted as JSON value) 4345 + *```json 4346 + * "Josiah" 4347 + * ``` 4348 + */ 4349 + firstName(): string; 4350 + 4351 + /** 4352 + * Classification based on social and cultural norms that identifies an individual. 4353 + * @returns a random gender 4354 + * @example 4355 + * ```ts 4356 + *import { Faker } from "k6/x/faker" 4357 + * 4358 + *let faker = new Faker(11) 4359 + * 4360 + *export default function () { 4361 + * console.log(faker.person.gender()) 4362 + *} 4363 + * 4364 + *``` 4365 + * **Output** (formatted as JSON value) 4366 + *```json 4367 + * "male" 4368 + * ``` 4369 + */ 4370 + gender(): string; 4371 + 4372 + /** 4373 + * An activity pursued for leisure and pleasure. 4374 + * @returns a random hobby 4375 + * @example 4376 + * ```ts 4377 + *import { Faker } from "k6/x/faker" 4378 + * 4379 + *let faker = new Faker(11) 4380 + * 4381 + *export default function () { 4382 + * console.log(faker.person.hobby()) 4383 + *} 4384 + * 4385 + *``` 4386 + * **Output** (formatted as JSON value) 4387 + *```json 4388 + * "Candy making" 4389 + * ``` 4390 + */ 4391 + hobby(): string; 4392 + 4393 + /** 4394 + * The family name or surname of an individual. 4395 + * @returns a random last name 4396 + * @example 4397 + * ```ts 4398 + *import { Faker } from "k6/x/faker" 4399 + * 4400 + *let faker = new Faker(11) 4401 + * 4402 + *export default function () { 4403 + * console.log(faker.person.lastName()) 4404 + *} 4405 + * 4406 + *``` 4407 + * **Output** (formatted as JSON value) 4408 + *```json 4409 + * "Abshire" 4410 + * ``` 4411 + */ 4412 + lastName(): string; 4413 + 4414 + /** 4415 + * Name between a person's first name and last name. 4416 + * @returns a random middle name 4417 + * @example 4418 + * ```ts 4419 + *import { Faker } from "k6/x/faker" 4420 + * 4421 + *let faker = new Faker(11) 4422 + * 4423 + *export default function () { 4424 + * console.log(faker.person.middleName()) 4425 + *} 4426 + * 4427 + *``` 4428 + * **Output** (formatted as JSON value) 4429 + *```json 4430 + * "Sage" 4431 + * ``` 4432 + */ 4433 + middleName(): string; 4434 + 4435 + /** 4436 + * The given and family name of an individual. 4437 + * @returns a random name 4438 + * @example 4439 + * ```ts 4440 + *import { Faker } from "k6/x/faker" 4441 + * 4442 + *let faker = new Faker(11) 4443 + * 4444 + *export default function () { 4445 + * console.log(faker.person.name()) 4446 + *} 4447 + * 4448 + *``` 4449 + * **Output** (formatted as JSON value) 4450 + *```json 4451 + * "Josiah Thiel" 4452 + * ``` 4453 + */ 4454 + name(): string; 4455 + 4456 + /** 4457 + * A title or honorific added before a person's name. 4458 + * @returns a random name prefix 4459 + * @example 4460 + * ```ts 4461 + *import { Faker } from "k6/x/faker" 4462 + * 4463 + *let faker = new Faker(11) 4464 + * 4465 + *export default function () { 4466 + * console.log(faker.person.namePrefix()) 4467 + *} 4468 + * 4469 + *``` 4470 + * **Output** (formatted as JSON value) 4471 + *```json 4472 + * "Mr." 4473 + * ``` 4474 + */ 4475 + namePrefix(): string; 4476 + 4477 + /** 4478 + * A title or designation added after a person's name. 4479 + * @returns a random name suffix 4480 + * @example 4481 + * ```ts 4482 + *import { Faker } from "k6/x/faker" 4483 + * 4484 + *let faker = new Faker(11) 4485 + * 4486 + *export default function () { 4487 + * console.log(faker.person.nameSuffix()) 4488 + *} 4489 + * 4490 + *``` 4491 + * **Output** (formatted as JSON value) 4492 + *```json 4493 + * "Sr." 4494 + * ``` 4495 + */ 4496 + nameSuffix(): string; 4497 + 4498 + /** 4499 + * Personal data, like name and contact details, used for identification and communication. 4500 + * @returns a random person 4501 + * @example 4502 + * ```ts 4503 + *import { Faker } from "k6/x/faker" 4504 + * 4505 + *let faker = new Faker(11) 4506 + * 4507 + *export default function () { 4508 + * console.log(faker.person.person()) 4509 + *} 4510 + * 4511 + *``` 4512 + * **Output** (formatted as JSON value) 4513 + *```json 4514 + * {"FirstName":"Josiah","LastName":"Thiel","Gender":"male","SSN":"558821916","Image":"https://picsum.photos/367/273","Hobby":"Winemaking","Job":{"Company":"Headlight","Title":"Administrator","Descriptor":"Chief","Level":"Configuration"},"Address":{"Address":"6992 Inletstad, Las Vegas, Rhode Island 82271","Street":"6992 Inletstad","City":"Las Vegas","State":"Rhode Island","Zip":"82271","Country":"Sweden","Latitude":-75.921372,"Longitude":109.436476},"Contact":{"Phone":"4361943393","Email":"janisbarrows@hessel.net"},"CreditCard":{"Type":"Discover","Number":"4525298222125328","Exp":"01/29","Cvv":"282"}} 4515 + * ``` 4516 + */ 4517 + person(): Record<string, unknown>; 4518 + 4519 + /** 4520 + * Numerical sequence used to contact individuals via telephone or mobile devices. 4521 + * @returns a random phone 4522 + * @example 4523 + * ```ts 4524 + *import { Faker } from "k6/x/faker" 4525 + * 4526 + *let faker = new Faker(11) 4527 + * 4528 + *export default function () { 4529 + * console.log(faker.person.phone()) 4530 + *} 4531 + * 4532 + *``` 4533 + * **Output** (formatted as JSON value) 4534 + *```json 4535 + * "7053883851" 4536 + * ``` 4537 + */ 4538 + phone(): string; 4539 + 4540 + /** 4541 + * Formatted phone number of a person. 4542 + * @returns a random phone formatted 4543 + * @example 4544 + * ```ts 4545 + *import { Faker } from "k6/x/faker" 4546 + * 4547 + *let faker = new Faker(11) 4548 + * 4549 + *export default function () { 4550 + * console.log(faker.person.phoneFormatted()) 4551 + *} 4552 + * 4553 + *``` 4554 + * **Output** (formatted as JSON value) 4555 + *```json 4556 + * "1-053-883-8516" 4557 + * ``` 4558 + */ 4559 + phoneFormatted(): string; 4560 + 4561 + /** 4562 + * An institution for formal education and learning. 4563 + * @returns a random school 4564 + * @example 4565 + * ```ts 4566 + *import { Faker } from "k6/x/faker" 4567 + * 4568 + *let faker = new Faker(11) 4569 + * 4570 + *export default function () { 4571 + * console.log(faker.person.school()) 4572 + *} 4573 + * 4574 + *``` 4575 + * **Output** (formatted as JSON value) 4576 + *```json 4577 + * "Valley View Private Middle School" 4578 + * ``` 4579 + */ 4580 + school(): string; 4581 + 4582 + /** 4583 + * Unique nine-digit identifier used for government and financial purposes in the United States. 4584 + * @returns a random ssn 4585 + * @example 4586 + * ```ts 4587 + *import { Faker } from "k6/x/faker" 4588 + * 4589 + *let faker = new Faker(11) 4590 + * 4591 + *export default function () { 4592 + * console.log(faker.person.ssn()) 4593 + *} 4594 + * 4595 + *``` 4596 + * **Output** (formatted as JSON value) 4597 + *```json 4598 + * "853698829" 4599 + * ``` 4600 + */ 4601 + ssn(): string; 4602 + 4603 + /** 4604 + * Randomly split people into teams. 4605 + * @param people - Strings 4606 + * @param teams - Strings 4607 + * @returns a random teams 4608 + * @example 4609 + * ```ts 4610 + *import { Faker } from "k6/x/faker" 4611 + * 4612 + *let faker = new Faker(11) 4613 + * 4614 + *export default function () { 4615 + * console.log(faker.person.teams(["none","how","these","keep","trip","congolese","choir","computer","still","far"],["unless","army","party","riches","theirs","instead","here","mine","whichever","that"])) 4616 + *} 4617 + * 4618 + *``` 4619 + * **Output** (formatted as JSON value) 4620 + *```json 4621 + * {"riches":["choir"],"mine":["how"],"here":["computer"],"whichever":["keep"],"that":["none"],"unless":["these"],"army":["congolese"],"party":["far"],"theirs":["still"],"instead":["trip"]} 4622 + * ``` 4623 + */ 4624 + teams(people: string[], teams: string[]): Record<string, Array<string>>; 4625 + } 4626 + 4627 + /** 4628 + * Generator to generate product related entries. 4629 + */ 4630 + export interface Product { 4631 + /** 4632 + * An item created for sale or use. 4633 + * @returns a random product 4634 + * @example 4635 + * ```ts 4636 + *import { Faker } from "k6/x/faker" 4637 + * 4638 + *let faker = new Faker(11) 4639 + * 4640 + *export default function () { 4641 + * console.log(faker.product.product()) 4642 + *} 4643 + * 4644 + *``` 4645 + * **Output** (formatted as JSON value) 4646 + *```json 4647 + * {"Name":"Quartz Teal Scale","Description":"Bravo mirror hundreds his party nobody. Anything wit she from above Chinese those choir toilet as you of other enormously.","Categories":["mobile phones","food and groceries","furniture"],"Price":82.9,"Features":["durable"],"Color":"green","Material":"bronze","UPC":"084020104876"} 4648 + * ``` 4649 + */ 4650 + product(): Record<string, unknown>; 4651 + 4652 + /** 4653 + * Classification grouping similar products based on shared characteristics or functions. 4654 + * @returns a random product category 4655 + * @example 4656 + * ```ts 4657 + *import { Faker } from "k6/x/faker" 4658 + * 4659 + *let faker = new Faker(11) 4660 + * 4661 + *export default function () { 4662 + * console.log(faker.product.productCategory()) 4663 + *} 4664 + * 4665 + *``` 4666 + * **Output** (formatted as JSON value) 4667 + *```json 4668 + * "mobile phones" 4669 + * ``` 4670 + */ 4671 + productCategory(): string; 4672 + 4673 + /** 4674 + * Explanation detailing the features and characteristics of a product. 4675 + * @returns a random product description 4676 + * @example 4677 + * ```ts 4678 + *import { Faker } from "k6/x/faker" 4679 + * 4680 + *let faker = new Faker(11) 4681 + * 4682 + *export default function () { 4683 + * console.log(faker.product.productDescription()) 4684 + *} 4685 + * 4686 + *``` 4687 + * **Output** (formatted as JSON value) 4688 + *```json 4689 + * "Up brace lung anyway then bravo mirror hundreds his party. Person anything wit she from above Chinese those choir toilet as you." 4690 + * ``` 4691 + */ 4692 + productDescription(): string; 4693 + 4694 + /** 4695 + * Specific characteristic of a product that distinguishes it from others products. 4696 + * @returns a random product feature 4697 + * @example 4698 + * ```ts 4699 + *import { Faker } from "k6/x/faker" 4700 + * 4701 + *let faker = new Faker(11) 4702 + * 4703 + *export default function () { 4704 + * console.log(faker.product.productFeature()) 4705 + *} 4706 + * 4707 + *``` 4708 + * **Output** (formatted as JSON value) 4709 + *```json 4710 + * "touchscreen" 4711 + * ``` 4712 + */ 4713 + productFeature(): string; 4714 + 4715 + /** 4716 + * The substance from which a product is made, influencing its appearance, durability, and properties. 4717 + * @returns a random product material 4718 + * @example 4719 + * ```ts 4720 + *import { Faker } from "k6/x/faker" 4721 + * 4722 + *let faker = new Faker(11) 4723 + * 4724 + *export default function () { 4725 + * console.log(faker.product.productMaterial()) 4726 + *} 4727 + * 4728 + *``` 4729 + * **Output** (formatted as JSON value) 4730 + *```json 4731 + * "alloy" 4732 + * ``` 4733 + */ 4734 + productMaterial(): string; 4735 + 4736 + /** 4737 + * Distinctive title or label assigned to a product for identification and marketing. 4738 + * @returns a random product name 4739 + * @example 4740 + * ```ts 4741 + *import { Faker } from "k6/x/faker" 4742 + * 4743 + *let faker = new Faker(11) 4744 + * 4745 + *export default function () { 4746 + * console.log(faker.product.productName()) 4747 + *} 4748 + * 4749 + *``` 4750 + * **Output** (formatted as JSON value) 4751 + *```json 4752 + * "Stream Gold Robot" 4753 + * ``` 4754 + */ 4755 + productName(): string; 4756 + 4757 + /** 4758 + * Standardized barcode used for product identification and tracking in retail and commerce. 4759 + * @returns a random product upc 4760 + * @example 4761 + * ```ts 4762 + *import { Faker } from "k6/x/faker" 4763 + * 4764 + *let faker = new Faker(11) 4765 + * 4766 + *export default function () { 4767 + * console.log(faker.product.productUpc()) 4768 + *} 4769 + * 4770 + *``` 4771 + * **Output** (formatted as JSON value) 4772 + *```json 4773 + * "092964558555" 4774 + * ``` 4775 + */ 4776 + productUpc(): string; 4777 + } 4778 + 4779 + /** 4780 + * Generator to generate strings. 4781 + */ 4782 + export interface Strings { 4783 + /** 4784 + * Numerical symbol used to represent numbers. 4785 + * @returns a random digit 4786 + * @example 4787 + * ```ts 4788 + *import { Faker } from "k6/x/faker" 4789 + * 4790 + *let faker = new Faker(11) 4791 + * 4792 + *export default function () { 4793 + * console.log(faker.strings.digit()) 4794 + *} 4795 + * 4796 + *``` 4797 + * **Output** (formatted as JSON value) 4798 + *```json 4799 + * "0" 4800 + * ``` 4801 + */ 4802 + digit(): string; 4803 + 4804 + /** 4805 + * string of length N consisting of ASCII digits. 4806 + * @param count - Count 4807 + * @returns a random digitn 4808 + * @example 4809 + * ```ts 4810 + *import { Faker } from "k6/x/faker" 4811 + * 4812 + *let faker = new Faker(11) 4813 + * 4814 + *export default function () { 4815 + * console.log(faker.strings.digitN(3)) 4816 + *} 4817 + * 4818 + *``` 4819 + * **Output** (formatted as JSON value) 4820 + *```json 4821 + * "005" 4822 + * ``` 4823 + */ 4824 + digitN(count: number): string; 4825 + 4826 + /** 4827 + * Character or symbol from the American Standard Code for Information Interchange (ASCII) character set. 4828 + * @returns a random letter 4829 + * @example 4830 + * ```ts 4831 + *import { Faker } from "k6/x/faker" 4832 + * 4833 + *let faker = new Faker(11) 4834 + * 4835 + *export default function () { 4836 + * console.log(faker.strings.letter()) 4837 + *} 4838 + * 4839 + *``` 4840 + * **Output** (formatted as JSON value) 4841 + *```json 4842 + * "W" 4843 + * ``` 4844 + */ 4845 + letter(): string; 4846 + 4847 + /** 4848 + * ASCII string with length N. 4849 + * @param count - Count 4850 + * @returns a random lettern 4851 + * @example 4852 + * ```ts 4853 + *import { Faker } from "k6/x/faker" 4854 + * 4855 + *let faker = new Faker(11) 4856 + * 4857 + *export default function () { 4858 + * console.log(faker.strings.letterN(3)) 4859 + *} 4860 + * 4861 + *``` 4862 + * **Output** (formatted as JSON value) 4863 + *```json 4864 + * "WCp" 4865 + * ``` 4866 + */ 4867 + letterN(count: number): string; 4868 + 4869 + /** 4870 + * Replace ? with random generated letters. 4871 + * @param str - String 4872 + * @returns a random lexify 4873 + * @example 4874 + * ```ts 4875 + *import { Faker } from "k6/x/faker" 4876 + * 4877 + *let faker = new Faker(11) 4878 + * 4879 + *export default function () { 4880 + * console.log(faker.strings.lexify("none")) 4881 + *} 4882 + * 4883 + *``` 4884 + * **Output** (formatted as JSON value) 4885 + *```json 4886 + * "none" 4887 + * ``` 4888 + */ 4889 + lexify(str: string): string; 4890 + 4891 + /** 4892 + * Replace # with random numerical values. 4893 + * @param str - String 4894 + * @returns a random numerify 4895 + * @example 4896 + * ```ts 4897 + *import { Faker } from "k6/x/faker" 4898 + * 4899 + *let faker = new Faker(11) 4900 + * 4901 + *export default function () { 4902 + * console.log(faker.strings.numerify("none")) 4903 + *} 4904 + * 4905 + *``` 4906 + * **Output** (formatted as JSON value) 4907 + *```json 4908 + * "none" 4909 + * ``` 4910 + */ 4911 + numerify(str: string): string; 4912 + 4913 + /** 4914 + * Return a random string from a string array. 4915 + * @param strs - Strings 4916 + * @returns a random random string 4917 + * @example 4918 + * ```ts 4919 + *import { Faker } from "k6/x/faker" 4920 + * 4921 + *let faker = new Faker(11) 4922 + * 4923 + *export default function () { 4924 + * console.log(faker.strings.randomString(["none","how","these","keep","trip","congolese","choir","computer","still","far"])) 4925 + *} 4926 + * 4927 + *``` 4928 + * **Output** (formatted as JSON value) 4929 + *```json 4930 + * "none" 4931 + * ``` 4932 + */ 4933 + randomString(strs: string[]): string[]; 4934 + 4935 + /** 4936 + * Shuffle an array of strings. 4937 + * @param strs - Strings 4938 + * @returns a random shuffle strings 4939 + * @example 4940 + * ```ts 4941 + *import { Faker } from "k6/x/faker" 4942 + * 4943 + *let faker = new Faker(11) 4944 + * 4945 + *export default function () { 4946 + * console.log(faker.strings.shuffleStrings(["none","how","these","keep","trip","congolese","choir","computer","still","far"])) 4947 + *} 4948 + * 4949 + *``` 4950 + * **Output** (formatted as JSON value) 4951 + *```json 4952 + * ["these","congolese","far","choir","still","trip","computer","how","keep","none"] 4953 + * ``` 4954 + */ 4955 + shuffleStrings(strs: string[]): string[]; 4956 + 4957 + /** 4958 + * 128-bit identifier used to uniquely identify objects or entities in computer systems. 4959 + * @returns a random uuid 4960 + * @example 4961 + * ```ts 4962 + *import { Faker } from "k6/x/faker" 4963 + * 4964 + *let faker = new Faker(11) 4965 + * 4966 + *export default function () { 4967 + * console.log(faker.strings.uuid()) 4968 + *} 4969 + * 4970 + *``` 4971 + * **Output** (formatted as JSON value) 4972 + *```json 4973 + * "ea6ab1ab-f06c-4990-835d-e628b7e659e1" 4974 + * ``` 4975 + */ 4976 + uuid(): string; 4977 + } 4978 + 4979 + /** 4980 + * Generator to generate time and date. 4981 + */ 4982 + export interface Time { 4983 + /** 4984 + * Representation of a specific day, month, and year, often used for chronological reference. 4985 + * @param format - Format 4986 + * @returns a random date 4987 + * @example 4988 + * ```ts 4989 + *import { Faker } from "k6/x/faker" 4990 + * 4991 + *let faker = new Faker(11) 4992 + * 4993 + *export default function () { 4994 + * console.log(faker.time.date("RFC3339")) 4995 + *} 4996 + * 4997 + *``` 4998 + * **Output** (formatted as JSON value) 4999 + *```json 5000 + * "1952-06-14T22:21:28Z" 5001 + * ``` 5002 + */ 5003 + date(format: string): string; 5004 + 5005 + /** 5006 + * Random date between two ranges. 5007 + * @param startdate - Start Date 5008 + * @param enddate - End Date 5009 + * @param format - Format 5010 + * @returns a random daterange 5011 + * @example 5012 + * ```ts 5013 + *import { Faker } from "k6/x/faker" 5014 + * 5015 + *let faker = new Faker(11) 5016 + * 5017 + *export default function () { 5018 + * console.log(faker.time.dateRange("1970-01-01","2024-03-13","yyyy-MM-dd")) 5019 + *} 5020 + * 5021 + *``` 5022 + * **Output** (formatted as JSON value) 5023 + *```json 5024 + * "2008-04-06" 5025 + * ``` 5026 + */ 5027 + dateRange(startdate: string, enddate: string, format: string): string; 5028 + 5029 + /** 5030 + * 24-hour period equivalent to one rotation of Earth on its axis. 5031 + * @returns a random day 5032 + * @example 5033 + * ```ts 5034 + *import { Faker } from "k6/x/faker" 5035 + * 5036 + *let faker = new Faker(11) 5037 + * 5038 + *export default function () { 5039 + * console.log(faker.time.day()) 5040 + *} 5041 + * 5042 + *``` 5043 + * **Output** (formatted as JSON value) 5044 + *```json 5045 + * 22 5046 + * ``` 5047 + */ 5048 + day(): number; 5049 + 5050 + /** 5051 + * Date that has occurred after the current moment in time. 5052 + * @returns a random futuretime 5053 + * @example 5054 + * ```ts 5055 + *import { Faker } from "k6/x/faker" 5056 + * 5057 + *let faker = new Faker(11) 5058 + * 5059 + *export default function () { 5060 + * console.log(faker.time.futureTime()) 5061 + *} 5062 + * 5063 + *``` 5064 + * **Output** (formatted as JSON value) 5065 + *```json 5066 + * "2024-12-18T19:55:55.75608953+01:00" 5067 + * ``` 5068 + */ 5069 + futureTime(): string; 5070 + 5071 + /** 5072 + * Unit of time equal to 60 minutes. 5073 + * @returns a random hour 5074 + * @example 5075 + * ```ts 5076 + *import { Faker } from "k6/x/faker" 5077 + * 5078 + *let faker = new Faker(11) 5079 + * 5080 + *export default function () { 5081 + * console.log(faker.time.hour()) 5082 + *} 5083 + * 5084 + *``` 5085 + * **Output** (formatted as JSON value) 5086 + *```json 5087 + * 21 5088 + * ``` 5089 + */ 5090 + hour(): number; 5091 + 5092 + /** 5093 + * Unit of time equal to 60 seconds. 5094 + * @returns a random minute 5095 + * @example 5096 + * ```ts 5097 + *import { Faker } from "k6/x/faker" 5098 + * 5099 + *let faker = new Faker(11) 5100 + * 5101 + *export default function () { 5102 + * console.log(faker.time.minute()) 5103 + *} 5104 + * 5105 + *``` 5106 + * **Output** (formatted as JSON value) 5107 + *```json 5108 + * 9 5109 + * ``` 5110 + */ 5111 + minute(): number; 5112 + 5113 + /** 5114 + * Division of the year, typically 30 or 31 days long. 5115 + * @returns a random month 5116 + * @example 5117 + * ```ts 5118 + *import { Faker } from "k6/x/faker" 5119 + * 5120 + *let faker = new Faker(11) 5121 + * 5122 + *export default function () { 5123 + * console.log(faker.time.month()) 5124 + *} 5125 + * 5126 + *``` 5127 + * **Output** (formatted as JSON value) 5128 + *```json 5129 + * 10 5130 + * ``` 5131 + */ 5132 + month(): string; 5133 + 5134 + /** 5135 + * String Representation of a month name. 5136 + * @returns a random month string 5137 + * @example 5138 + * ```ts 5139 + *import { Faker } from "k6/x/faker" 5140 + * 5141 + *let faker = new Faker(11) 5142 + * 5143 + *export default function () { 5144 + * console.log(faker.time.monthString()) 5145 + *} 5146 + * 5147 + *``` 5148 + * **Output** (formatted as JSON value) 5149 + *```json 5150 + * "October" 5151 + * ``` 5152 + */ 5153 + monthString(): string; 5154 + 5155 + /** 5156 + * Unit of time equal to One billionth (10^-9) of a second. 5157 + * @returns a random nanosecond 5158 + * @example 5159 + * ```ts 5160 + *import { Faker } from "k6/x/faker" 5161 + * 5162 + *let faker = new Faker(11) 5163 + * 5164 + *export default function () { 5165 + * console.log(faker.time.nanosecond()) 5166 + *} 5167 + * 5168 + *``` 5169 + * **Output** (formatted as JSON value) 5170 + *```json 5171 + * 953698829 5172 + * ``` 5173 + */ 5174 + nanosecond(): number; 5175 + 5176 + /** 5177 + * Date that has occurred before the current moment in time. 5178 + * @returns a random pasttime 5179 + * @example 5180 + * ```ts 5181 + *import { Faker } from "k6/x/faker" 5182 + * 5183 + *let faker = new Faker(11) 5184 + * 5185 + *export default function () { 5186 + * console.log(faker.time.pastTime()) 5187 + *} 5188 + * 5189 + *``` 5190 + * **Output** (formatted as JSON value) 5191 + *```json 5192 + * "2024-12-17T23:55:55.756548281+01:00" 5193 + * ``` 5194 + */ 5195 + pastTime(): string; 5196 + 5197 + /** 5198 + * Unit of time equal to 1/60th of a minute. 5199 + * @returns a random second 5200 + * @example 5201 + * ```ts 5202 + *import { Faker } from "k6/x/faker" 5203 + * 5204 + *let faker = new Faker(11) 5205 + * 5206 + *export default function () { 5207 + * console.log(faker.time.second()) 5208 + *} 5209 + * 5210 + *``` 5211 + * **Output** (formatted as JSON value) 5212 + *```json 5213 + * 9 5214 + * ``` 5215 + */ 5216 + second(): number; 5217 + 5218 + /** 5219 + * Region where the same standard time is used, based on longitudinal divisions of the Earth. 5220 + * @returns a random timezone 5221 + * @example 5222 + * ```ts 5223 + *import { Faker } from "k6/x/faker" 5224 + * 5225 + *let faker = new Faker(11) 5226 + * 5227 + *export default function () { 5228 + * console.log(faker.time.timezone()) 5229 + *} 5230 + * 5231 + *``` 5232 + * **Output** (formatted as JSON value) 5233 + *```json 5234 + * "Tonga Standard Time" 5235 + * ``` 5236 + */ 5237 + timezone(): string; 5238 + 5239 + /** 5240 + * Abbreviated 3-letter word of a timezone. 5241 + * @returns a random timezone abbreviation 5242 + * @example 5243 + * ```ts 5244 + *import { Faker } from "k6/x/faker" 5245 + * 5246 + *let faker = new Faker(11) 5247 + * 5248 + *export default function () { 5249 + * console.log(faker.time.timezoneAbbreviation()) 5250 + *} 5251 + * 5252 + *``` 5253 + * **Output** (formatted as JSON value) 5254 + *```json 5255 + * "TST" 5256 + * ``` 5257 + */ 5258 + timezoneAbbreviation(): string; 5259 + 5260 + /** 5261 + * Full name of a timezone. 5262 + * @returns a random timezone full 5263 + * @example 5264 + * ```ts 5265 + *import { Faker } from "k6/x/faker" 5266 + * 5267 + *let faker = new Faker(11) 5268 + * 5269 + *export default function () { 5270 + * console.log(faker.time.timezoneFull()) 5271 + *} 5272 + * 5273 + *``` 5274 + * **Output** (formatted as JSON value) 5275 + *```json 5276 + * "(UTC+13:00) Nuku'alofa" 5277 + * ``` 5278 + */ 5279 + timezoneFull(): string; 5280 + 5281 + /** 5282 + * The difference in hours from Coordinated Universal Time (UTC) for a specific region. 5283 + * @returns a random timezone offset 5284 + * @example 5285 + * ```ts 5286 + *import { Faker } from "k6/x/faker" 5287 + * 5288 + *let faker = new Faker(11) 5289 + * 5290 + *export default function () { 5291 + * console.log(faker.time.timezoneOffset()) 5292 + *} 5293 + * 5294 + *``` 5295 + * **Output** (formatted as JSON value) 5296 + *```json 5297 + * 13 5298 + * ``` 5299 + */ 5300 + timezoneOffset(): number; 5301 + 5302 + /** 5303 + * Geographic area sharing the same standard time. 5304 + * @returns a random timezone region 5305 + * @example 5306 + * ```ts 5307 + *import { Faker } from "k6/x/faker" 5308 + * 5309 + *let faker = new Faker(11) 5310 + * 5311 + *export default function () { 5312 + * console.log(faker.time.timezoneRegion()) 5313 + *} 5314 + * 5315 + *``` 5316 + * **Output** (formatted as JSON value) 5317 + *```json 5318 + * "Asia/Manila" 5319 + * ``` 5320 + */ 5321 + timezoneRegion(): string; 5322 + 5323 + /** 5324 + * Day of the week excluding the weekend. 5325 + * @returns a random weekday 5326 + * @example 5327 + * ```ts 5328 + *import { Faker } from "k6/x/faker" 5329 + * 5330 + *let faker = new Faker(11) 5331 + * 5332 + *export default function () { 5333 + * console.log(faker.time.weekday()) 5334 + *} 5335 + * 5336 + *``` 5337 + * **Output** (formatted as JSON value) 5338 + *```json 5339 + * "Sunday" 5340 + * ``` 5341 + */ 5342 + weekday(): string; 5343 + 5344 + /** 5345 + * Period of 365 days, the time Earth takes to orbit the Sun. 5346 + * @returns a random year 5347 + * @example 5348 + * ```ts 5349 + *import { Faker } from "k6/x/faker" 5350 + * 5351 + *let faker = new Faker(11) 5352 + * 5353 + *export default function () { 5354 + * console.log(faker.time.year()) 5355 + *} 5356 + * 5357 + *``` 5358 + * **Output** (formatted as JSON value) 5359 + *```json 5360 + * 1979 5361 + * ``` 5362 + */ 5363 + year(): number; 5364 + } 5365 + 5366 + /** 5367 + * Generator to generate words and sentences. 5368 + */ 5369 + export interface Word { 5370 + /** 5371 + * Verb Indicating a physical or mental action. 5372 + * @returns a random action verb 5373 + * @example 5374 + * ```ts 5375 + *import { Faker } from "k6/x/faker" 5376 + * 5377 + *let faker = new Faker(11) 5378 + * 5379 + *export default function () { 5380 + * console.log(faker.word.actionVerb()) 5381 + *} 5382 + * 5383 + *``` 5384 + * **Output** (formatted as JSON value) 5385 + *```json 5386 + * "smell" 5387 + * ``` 5388 + */ 5389 + actionVerb(): string; 5390 + 5391 + /** 5392 + * Word describing or modifying a noun. 5393 + * @returns a random adjective 5394 + * @example 5395 + * ```ts 5396 + *import { Faker } from "k6/x/faker" 5397 + * 5398 + *let faker = new Faker(11) 5399 + * 5400 + *export default function () { 5401 + * console.log(faker.word.adjective()) 5402 + *} 5403 + * 5404 + *``` 5405 + * **Output** (formatted as JSON value) 5406 + *```json 5407 + * "brave" 5408 + * ``` 5409 + */ 5410 + adjective(): string; 5411 + 5412 + /** 5413 + * Word that modifies verbs, adjectives, or other adverbs. 5414 + * @returns a random adverb 5415 + * @example 5416 + * ```ts 5417 + *import { Faker } from "k6/x/faker" 5418 + * 5419 + *let faker = new Faker(11) 5420 + * 5421 + *export default function () { 5422 + * console.log(faker.word.adverb()) 5423 + *} 5424 + * 5425 + *``` 5426 + * **Output** (formatted as JSON value) 5427 + *```json 5428 + * "quickly" 5429 + * ``` 5430 + */ 5431 + adverb(): string; 5432 + 5433 + /** 5434 + * Adverb that indicates the degree or intensity of an action or adjective. 5435 + * @returns a random adverb degree 5436 + * @example 5437 + * ```ts 5438 + *import { Faker } from "k6/x/faker" 5439 + * 5440 + *let faker = new Faker(11) 5441 + * 5442 + *export default function () { 5443 + * console.log(faker.word.adverbDegree()) 5444 + *} 5445 + * 5446 + *``` 5447 + * **Output** (formatted as JSON value) 5448 + *```json 5449 + * "pretty" 5450 + * ``` 5451 + */ 5452 + adverbDegree(): string; 5453 + 5454 + /** 5455 + * Adverb that specifies how often an action occurs with a clear frequency. 5456 + * @returns a random adverb frequency definite 5457 + * @example 5458 + * ```ts 5459 + *import { Faker } from "k6/x/faker" 5460 + * 5461 + *let faker = new Faker(11) 5462 + * 5463 + *export default function () { 5464 + * console.log(faker.word.adverbFrequencyDefinite()) 5465 + *} 5466 + * 5467 + *``` 5468 + * **Output** (formatted as JSON value) 5469 + *```json 5470 + * "annually" 5471 + * ``` 5472 + */ 5473 + adverbFrequencyDefinite(): string; 5474 + 5475 + /** 5476 + * Adverb that specifies how often an action occurs without specifying a particular frequency. 5477 + * @returns a random adverb frequency indefinite 5478 + * @example 5479 + * ```ts 5480 + *import { Faker } from "k6/x/faker" 5481 + * 5482 + *let faker = new Faker(11) 5483 + * 5484 + *export default function () { 5485 + * console.log(faker.word.adverbFrequencyIndefinite()) 5486 + *} 5487 + * 5488 + *``` 5489 + * **Output** (formatted as JSON value) 5490 + *```json 5491 + * "rarely" 5492 + * ``` 5493 + */ 5494 + adverbFrequencyIndefinite(): string; 5495 + 5496 + /** 5497 + * Adverb that describes how an action is performed. 5498 + * @returns a random adverb manner 5499 + * @example 5500 + * ```ts 5501 + *import { Faker } from "k6/x/faker" 5502 + * 5503 + *let faker = new Faker(11) 5504 + * 5505 + *export default function () { 5506 + * console.log(faker.word.adverbManner()) 5507 + *} 5508 + * 5509 + *``` 5510 + * **Output** (formatted as JSON value) 5511 + *```json 5512 + * "sleepily" 5513 + * ``` 5514 + */ 5515 + adverbManner(): string; 5516 + 5517 + /** 5518 + * Phrase that modifies a verb, adjective, or another adverb, providing additional information.. 5519 + * @returns a random adverb phrase 5520 + * @example 5521 + * ```ts 5522 + *import { Faker } from "k6/x/faker" 5523 + * 5524 + *let faker = new Faker(11) 5525 + * 5526 + *export default function () { 5527 + * console.log(faker.word.adverbPhrase()) 5528 + *} 5529 + * 5530 + *``` 5531 + * **Output** (formatted as JSON value) 5532 + *```json 5533 + * "too cheerfully" 5534 + * ``` 5535 + */ 5536 + adverbPhrase(): string; 5537 + 5538 + /** 5539 + * Adverb that indicates the location or direction of an action. 5540 + * @returns a random adverb place 5541 + * @example 5542 + * ```ts 5543 + *import { Faker } from "k6/x/faker" 5544 + * 5545 + *let faker = new Faker(11) 5546 + * 5547 + *export default function () { 5548 + * console.log(faker.word.adverbPlace()) 5549 + *} 5550 + * 5551 + *``` 5552 + * **Output** (formatted as JSON value) 5553 + *```json 5554 + * "east" 5555 + * ``` 5556 + */ 5557 + adverbPlace(): string; 5558 + 5559 + /** 5560 + * Adverb that specifies the exact time an action occurs. 5561 + * @returns a random adverb time definite 5562 + * @example 5563 + * ```ts 5564 + *import { Faker } from "k6/x/faker" 5565 + * 5566 + *let faker = new Faker(11) 5567 + * 5568 + *export default function () { 5569 + * console.log(faker.word.adverbTimeDefinite()) 5570 + *} 5571 + * 5572 + *``` 5573 + * **Output** (formatted as JSON value) 5574 + *```json 5575 + * "now" 5576 + * ``` 5577 + */ 5578 + adverbTimeDefinite(): string; 5579 + 5580 + /** 5581 + * Adverb that gives a general or unspecified time frame. 5582 + * @returns a random adverb time indefinite 5583 + * @example 5584 + * ```ts 5585 + *import { Faker } from "k6/x/faker" 5586 + * 5587 + *let faker = new Faker(11) 5588 + * 5589 + *export default function () { 5590 + * console.log(faker.word.adverbTimeIndefinite()) 5591 + *} 5592 + * 5593 + *``` 5594 + * **Output** (formatted as JSON value) 5595 + *```json 5596 + * "late" 5597 + * ``` 5598 + */ 5599 + adverbTimeIndefinite(): string; 5600 + 5601 + /** 5602 + * Statement or remark expressing an opinion, observation, or reaction. 5603 + * @returns a random comment 5604 + * @example 5605 + * ```ts 5606 + *import { Faker } from "k6/x/faker" 5607 + * 5608 + *let faker = new Faker(11) 5609 + * 5610 + *export default function () { 5611 + * console.log(faker.word.comment()) 5612 + *} 5613 + * 5614 + *``` 5615 + * **Output** (formatted as JSON value) 5616 + *```json 5617 + * "wow" 5618 + * ``` 5619 + */ 5620 + comment(): string; 5621 + 5622 + /** 5623 + * Word used to connect words or sentences. 5624 + * @returns a random connective 5625 + * @example 5626 + * ```ts 5627 + *import { Faker } from "k6/x/faker" 5628 + * 5629 + *let faker = new Faker(11) 5630 + * 5631 + *export default function () { 5632 + * console.log(faker.word.connective()) 5633 + *} 5634 + * 5635 + *``` 5636 + * **Output** (formatted as JSON value) 5637 + *```json 5638 + * "for another" 5639 + * ``` 5640 + */ 5641 + connective(): string; 5642 + 5643 + /** 5644 + * Connective word used to indicate a cause-and-effect relationship between events or actions. 5645 + * @returns a random connective casual 5646 + * @example 5647 + * ```ts 5648 + *import { Faker } from "k6/x/faker" 5649 + * 5650 + *let faker = new Faker(11) 5651 + * 5652 + *export default function () { 5653 + * console.log(faker.word.connectiveCasual()) 5654 + *} 5655 + * 5656 + *``` 5657 + * **Output** (formatted as JSON value) 5658 + *```json 5659 + * "accordingly" 5660 + * ``` 5661 + */ 5662 + connectiveCasual(): string; 5663 + 5664 + /** 5665 + * Connective word used to indicate a comparison between two or more things. 5666 + * @returns a random connective comparitive 5667 + * @example 5668 + * ```ts 5669 + *import { Faker } from "k6/x/faker" 5670 + * 5671 + *let faker = new Faker(11) 5672 + * 5673 + *export default function () { 5674 + * console.log(faker.word.connectiveComparitive()) 5675 + *} 5676 + * 5677 + *``` 5678 + * **Output** (formatted as JSON value) 5679 + *```json 5680 + * "yet" 5681 + * ``` 5682 + */ 5683 + connectiveComparitive(): string; 5684 + 5685 + /** 5686 + * Connective word used to express dissatisfaction or complaints about a situation. 5687 + * @returns a random connective complaint 5688 + * @example 5689 + * ```ts 5690 + *import { Faker } from "k6/x/faker" 5691 + * 5692 + *let faker = new Faker(11) 5693 + * 5694 + *export default function () { 5695 + * console.log(faker.word.connectiveComplaint()) 5696 + *} 5697 + * 5698 + *``` 5699 + * **Output** (formatted as JSON value) 5700 + *```json 5701 + * "for example" 5702 + * ``` 5703 + */ 5704 + connectiveComplaint(): string; 5705 + 5706 + /** 5707 + * Connective word used to provide examples or illustrations of a concept or idea. 5708 + * @returns a random connective examplify 5709 + * @example 5710 + * ```ts 5711 + *import { Faker } from "k6/x/faker" 5712 + * 5713 + *let faker = new Faker(11) 5714 + * 5715 + *export default function () { 5716 + * console.log(faker.word.connectiveExamplify()) 5717 + *} 5718 + * 5719 + *``` 5720 + * **Output** (formatted as JSON value) 5721 + *```json 5722 + * "accordingly" 5723 + * ``` 5724 + */ 5725 + connectiveExamplify(): string; 5726 + 5727 + /** 5728 + * Connective word used to list or enumerate items or examples. 5729 + * @returns a random connective listing 5730 + * @example 5731 + * ```ts 5732 + *import { Faker } from "k6/x/faker" 5733 + * 5734 + *let faker = new Faker(11) 5735 + * 5736 + *export default function () { 5737 + * console.log(faker.word.connectiveListing()) 5738 + *} 5739 + * 5740 + *``` 5741 + * **Output** (formatted as JSON value) 5742 + *```json 5743 + * "for another" 5744 + * ``` 5745 + */ 5746 + connectiveListing(): string; 5747 + 5748 + /** 5749 + * Connective word used to indicate a temporal relationship between events or actions. 5750 + * @returns a random connective time 5751 + * @example 5752 + * ```ts 5753 + *import { Faker } from "k6/x/faker" 5754 + * 5755 + *let faker = new Faker(11) 5756 + * 5757 + *export default function () { 5758 + * console.log(faker.word.connectiveTime()) 5759 + *} 5760 + * 5761 + *``` 5762 + * **Output** (formatted as JSON value) 5763 + *```json 5764 + * "until then" 5765 + * ``` 5766 + */ 5767 + connectiveTime(): string; 5768 + 5769 + /** 5770 + * Adjective used to point out specific things. 5771 + * @returns a random demonstrative adjective 5772 + * @example 5773 + * ```ts 5774 + *import { Faker } from "k6/x/faker" 5775 + * 5776 + *let faker = new Faker(11) 5777 + * 5778 + *export default function () { 5779 + * console.log(faker.word.demonstrativeAdjective()) 5780 + *} 5781 + * 5782 + *``` 5783 + * **Output** (formatted as JSON value) 5784 + *```json 5785 + * "these" 5786 + * ``` 5787 + */ 5788 + demonstrativeAdjective(): string; 5789 + 5790 + /** 5791 + * Adjective that provides detailed characteristics about a noun. 5792 + * @returns a random descriptive adjective 5793 + * @example 5794 + * ```ts 5795 + *import { Faker } from "k6/x/faker" 5796 + * 5797 + *let faker = new Faker(11) 5798 + * 5799 + *export default function () { 5800 + * console.log(faker.word.descriptiveAdjective()) 5801 + *} 5802 + * 5803 + *``` 5804 + * **Output** (formatted as JSON value) 5805 + *```json 5806 + * "elated" 5807 + * ``` 5808 + */ 5809 + descriptiveAdjective(): string; 5810 + 5811 + /** 5812 + * Auxiliary verb that helps the main verb complete the sentence. 5813 + * @returns a random helping verb 5814 + * @example 5815 + * ```ts 5816 + *import { Faker } from "k6/x/faker" 5817 + * 5818 + *let faker = new Faker(11) 5819 + * 5820 + *export default function () { 5821 + * console.log(faker.word.helpingVerb()) 5822 + *} 5823 + * 5824 + *``` 5825 + * **Output** (formatted as JSON value) 5826 + *```json 5827 + * "are" 5828 + * ``` 5829 + */ 5830 + helpingVerb(): string; 5831 + 5832 + /** 5833 + * Adjective describing a non-specific noun. 5834 + * @returns a random indefinite adjective 5835 + * @example 5836 + * ```ts 5837 + *import { Faker } from "k6/x/faker" 5838 + * 5839 + *let faker = new Faker(11) 5840 + * 5841 + *export default function () { 5842 + * console.log(faker.word.indefiniteAdjective()) 5843 + *} 5844 + * 5845 + *``` 5846 + * **Output** (formatted as JSON value) 5847 + *```json 5848 + * "somebody" 5849 + * ``` 5850 + */ 5851 + indefiniteAdjective(): string; 5852 + 5853 + /** 5854 + * Word expressing emotion. 5855 + * @returns a random interjection 5856 + * @example 5857 + * ```ts 5858 + *import { Faker } from "k6/x/faker" 5859 + * 5860 + *let faker = new Faker(11) 5861 + * 5862 + *export default function () { 5863 + * console.log(faker.word.interjection()) 5864 + *} 5865 + * 5866 + *``` 5867 + * **Output** (formatted as JSON value) 5868 + *```json 5869 + * "wow" 5870 + * ``` 5871 + */ 5872 + interjection(): string; 5873 + 5874 + /** 5875 + * Adjective used to ask questions. 5876 + * @returns a random interrogative adjective 5877 + * @example 5878 + * ```ts 5879 + *import { Faker } from "k6/x/faker" 5880 + * 5881 + *let faker = new Faker(11) 5882 + * 5883 + *export default function () { 5884 + * console.log(faker.word.interrogativeAdjective()) 5885 + *} 5886 + * 5887 + *``` 5888 + * **Output** (formatted as JSON value) 5889 + *```json 5890 + * "what" 5891 + * ``` 5892 + */ 5893 + interrogativeAdjective(): string; 5894 + 5895 + /** 5896 + * Verb that does not require a direct object to complete its meaning. 5897 + * @returns a random intransitive verb 5898 + * @example 5899 + * ```ts 5900 + *import { Faker } from "k6/x/faker" 5901 + * 5902 + *let faker = new Faker(11) 5903 + * 5904 + *export default function () { 5905 + * console.log(faker.word.intransitiveVerb()) 5906 + *} 5907 + * 5908 + *``` 5909 + * **Output** (formatted as JSON value) 5910 + *```json 5911 + * "skip" 5912 + * ``` 5913 + */ 5914 + intransitiveVerb(): string; 5915 + 5916 + /** 5917 + * Verb that Connects the subject of a sentence to a subject complement. 5918 + * @returns a random linking verb 5919 + * @example 5920 + * ```ts 5921 + *import { Faker } from "k6/x/faker" 5922 + * 5923 + *let faker = new Faker(11) 5924 + * 5925 + *export default function () { 5926 + * console.log(faker.word.linkingVerb()) 5927 + *} 5928 + * 5929 + *``` 5930 + * **Output** (formatted as JSON value) 5931 + *```json 5932 + * "had" 5933 + * ``` 5934 + */ 5935 + linkingVerb(): string; 5936 + 5937 + /** 5938 + * Paragraph of the Lorem Ipsum placeholder text used in design and publishing. 5939 + * @param paragraphcount - Paragraph Count 5940 + * @param sentencecount - Sentence Count 5941 + * @param wordcount - Word Count 5942 + * @param paragraphseparator - Paragraph Separator 5943 + * @returns a random lorem ipsum paragraph 5944 + * @example 5945 + * ```ts 5946 + *import { Faker } from "k6/x/faker" 5947 + * 5948 + *let faker = new Faker(11) 5949 + * 5950 + *export default function () { 5951 + * console.log(faker.word.loremIpsumParagraph(2,2,5,"\u003cbr /\u003e")) 5952 + *} 5953 + * 5954 + *``` 5955 + * **Output** (formatted as JSON value) 5956 + *```json 5957 + * "Accusamus et voluptatum voluptatem nisi. Nostrum atque molestias reprehenderit alias.<br />Reiciendis ut eos ut ad. Ea magni recusandae id fuga." 5958 + * ``` 5959 + */ 5960 + loremIpsumParagraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 5961 + 5962 + /** 5963 + * Sentence of the Lorem Ipsum placeholder text used in design and publishing. 5964 + * @param wordcount - Word Count 5965 + * @returns a random lorem ipsum sentence 5966 + * @example 5967 + * ```ts 5968 + *import { Faker } from "k6/x/faker" 5969 + * 5970 + *let faker = new Faker(11) 5971 + * 5972 + *export default function () { 5973 + * console.log(faker.word.loremIpsumSentence(5)) 5974 + *} 5975 + * 5976 + *``` 5977 + * **Output** (formatted as JSON value) 5978 + *```json 5979 + * "Accusamus et voluptatum voluptatem nisi." 5980 + * ``` 5981 + */ 5982 + loremIpsumSentence(wordcount: number): string; 5983 + 5984 + /** 5985 + * Word of the Lorem Ipsum placeholder text used in design and publishing. 5986 + * @returns a random lorem ipsum word 5987 + * @example 5988 + * ```ts 5989 + *import { Faker } from "k6/x/faker" 5990 + * 5991 + *let faker = new Faker(11) 5992 + * 5993 + *export default function () { 5994 + * console.log(faker.word.loremIpsumWord()) 5995 + *} 5996 + * 5997 + *``` 5998 + * **Output** (formatted as JSON value) 5999 + *```json 6000 + * "accusamus" 6001 + * ``` 6002 + */ 6003 + loremIpsumWord(): string; 6004 + 6005 + /** 6006 + * Person, place, thing, or idea, named or referred to in a sentence. 6007 + * @returns a random noun 6008 + * @example 6009 + * ```ts 6010 + *import { Faker } from "k6/x/faker" 6011 + * 6012 + *let faker = new Faker(11) 6013 + * 6014 + *export default function () { 6015 + * console.log(faker.word.noun()) 6016 + *} 6017 + * 6018 + *``` 6019 + * **Output** (formatted as JSON value) 6020 + *```json 6021 + * "hand" 6022 + * ``` 6023 + */ 6024 + noun(): string; 6025 + 6026 + /** 6027 + * Ideas, qualities, or states that cannot be perceived with the five senses. 6028 + * @returns a random noun abstract 6029 + * @example 6030 + * ```ts 6031 + *import { Faker } from "k6/x/faker" 6032 + * 6033 + *let faker = new Faker(11) 6034 + * 6035 + *export default function () { 6036 + * console.log(faker.word.nounAbstract()) 6037 + *} 6038 + * 6039 + *``` 6040 + * **Output** (formatted as JSON value) 6041 + *```json 6042 + * "philosophy" 6043 + * ``` 6044 + */ 6045 + nounAbstract(): string; 6046 + 6047 + /** 6048 + * Group of animals, like a 'pack' of wolves or a 'flock' of birds. 6049 + * @returns a random noun collective animal 6050 + * @example 6051 + * ```ts 6052 + *import { Faker } from "k6/x/faker" 6053 + * 6054 + *let faker = new Faker(11) 6055 + * 6056 + *export default function () { 6057 + * console.log(faker.word.nounCollectiveAnimal()) 6058 + *} 6059 + * 6060 + *``` 6061 + * **Output** (formatted as JSON value) 6062 + *```json 6063 + * "school" 6064 + * ``` 6065 + */ 6066 + nounCollectiveAnimal(): string; 6067 + 6068 + /** 6069 + * Group of people or things regarded as a unit. 6070 + * @returns a random noun collective people 6071 + * @example 6072 + * ```ts 6073 + *import { Faker } from "k6/x/faker" 6074 + * 6075 + *let faker = new Faker(11) 6076 + * 6077 + *export default function () { 6078 + * console.log(faker.word.nounCollectivePeople()) 6079 + *} 6080 + * 6081 + *``` 6082 + * **Output** (formatted as JSON value) 6083 + *```json 6084 + * "bevy" 6085 + * ``` 6086 + */ 6087 + nounCollectivePeople(): string; 6088 + 6089 + /** 6090 + * Group of objects or items, such as a 'bundle' of sticks or a 'cluster' of grapes. 6091 + * @returns a random noun collective thing 6092 + * @example 6093 + * ```ts 6094 + *import { Faker } from "k6/x/faker" 6095 + * 6096 + *let faker = new Faker(11) 6097 + * 6098 + *export default function () { 6099 + * console.log(faker.word.nounCollectiveThing()) 6100 + *} 6101 + * 6102 + *``` 6103 + * **Output** (formatted as JSON value) 6104 + *```json 6105 + * "wad" 6106 + * ``` 6107 + */ 6108 + nounCollectiveThing(): string; 6109 + 6110 + /** 6111 + * General name for people, places, or things, not specific or unique. 6112 + * @returns a random noun common 6113 + * @example 6114 + * ```ts 6115 + *import { Faker } from "k6/x/faker" 6116 + * 6117 + *let faker = new Faker(11) 6118 + * 6119 + *export default function () { 6120 + * console.log(faker.word.nounCommon()) 6121 + *} 6122 + * 6123 + *``` 6124 + * **Output** (formatted as JSON value) 6125 + *```json 6126 + * "company" 6127 + * ``` 6128 + */ 6129 + nounCommon(): string; 6130 + 6131 + /** 6132 + * Names for physical entities experienced through senses like sight, touch, smell, or taste. 6133 + * @returns a random noun concrete 6134 + * @example 6135 + * ```ts 6136 + *import { Faker } from "k6/x/faker" 6137 + * 6138 + *let faker = new Faker(11) 6139 + * 6140 + *export default function () { 6141 + * console.log(faker.word.nounConcrete()) 6142 + *} 6143 + * 6144 + *``` 6145 + * **Output** (formatted as JSON value) 6146 + *```json 6147 + * "train" 6148 + * ``` 6149 + */ 6150 + nounConcrete(): string; 6151 + 6152 + /** 6153 + * Items that can be counted individually. 6154 + * @returns a random noun countable 6155 + * @example 6156 + * ```ts 6157 + *import { Faker } from "k6/x/faker" 6158 + * 6159 + *let faker = new Faker(11) 6160 + * 6161 + *export default function () { 6162 + * console.log(faker.word.nounCountable()) 6163 + *} 6164 + * 6165 + *``` 6166 + * **Output** (formatted as JSON value) 6167 + *```json 6168 + * "weekend" 6169 + * ``` 6170 + */ 6171 + nounCountable(): string; 6172 + 6173 + /** 6174 + * Word that introduces a noun and identifies it as a noun. 6175 + * @returns a random noun determiner 6176 + * @example 6177 + * ```ts 6178 + *import { Faker } from "k6/x/faker" 6179 + * 6180 + *let faker = new Faker(11) 6181 + * 6182 + *export default function () { 6183 + * console.log(faker.word.nounDeterminer()) 6184 + *} 6185 + * 6186 + *``` 6187 + * **Output** (formatted as JSON value) 6188 + *```json 6189 + * "this" 6190 + * ``` 6191 + */ 6192 + nounDeterminer(): string; 6193 + 6194 + /** 6195 + * Phrase with a noun as its head, functions within sentence like a noun. 6196 + * @returns a random noun phrase 6197 + * @example 6198 + * ```ts 6199 + *import { Faker } from "k6/x/faker" 6200 + * 6201 + *let faker = new Faker(11) 6202 + * 6203 + *export default function () { 6204 + * console.log(faker.word.nounPhrase()) 6205 + *} 6206 + * 6207 + *``` 6208 + * **Output** (formatted as JSON value) 6209 + *```json 6210 + * "a brave fuel" 6211 + * ``` 6212 + */ 6213 + nounPhrase(): string; 6214 + 6215 + /** 6216 + * Specific name for a particular person, place, or organization. 6217 + * @returns a random noun proper 6218 + * @example 6219 + * ```ts 6220 + *import { Faker } from "k6/x/faker" 6221 + * 6222 + *let faker = new Faker(11) 6223 + * 6224 + *export default function () { 6225 + * console.log(faker.word.nounProper()) 6226 + *} 6227 + * 6228 + *``` 6229 + * **Output** (formatted as JSON value) 6230 + *```json 6231 + * "Rowan Atkinson" 6232 + * ``` 6233 + */ 6234 + nounProper(): string; 6235 + 6236 + /** 6237 + * Items that can't be counted individually. 6238 + * @returns a random noun uncountable 6239 + * @example 6240 + * ```ts 6241 + *import { Faker } from "k6/x/faker" 6242 + * 6243 + *let faker = new Faker(11) 6244 + * 6245 + *export default function () { 6246 + * console.log(faker.word.nounUncountable()) 6247 + *} 6248 + * 6249 + *``` 6250 + * **Output** (formatted as JSON value) 6251 + *```json 6252 + * "butter" 6253 + * ``` 6254 + */ 6255 + nounUncountable(): string; 6256 + 6257 + /** 6258 + * Distinct section of writing covering a single theme, composed of multiple sentences. 6259 + * @param paragraphcount - Paragraph Count 6260 + * @param sentencecount - Sentence Count 6261 + * @param wordcount - Word Count 6262 + * @param paragraphseparator - Paragraph Separator 6263 + * @returns a random paragraph 6264 + * @example 6265 + * ```ts 6266 + *import { Faker } from "k6/x/faker" 6267 + * 6268 + *let faker = new Faker(11) 6269 + * 6270 + *export default function () { 6271 + * console.log(faker.word.paragraph(2,2,5,"\u003cbr /\u003e")) 6272 + *} 6273 + * 6274 + *``` 6275 + * **Output** (formatted as JSON value) 6276 + *```json 6277 + * "Quickly up brace lung anyway. Then bravo mirror hundreds his.<br />Party nobody person anything wit. She from above Chinese those." 6278 + * ``` 6279 + */ 6280 + paragraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 6281 + 6282 + /** 6283 + * A small group of words standing together. 6284 + * @returns a random phrase 6285 + * @example 6286 + * ```ts 6287 + *import { Faker } from "k6/x/faker" 6288 + * 6289 + *let faker = new Faker(11) 6290 + * 6291 + *export default function () { 6292 + * console.log(faker.word.phrase()) 6293 + *} 6294 + * 6295 + *``` 6296 + * **Output** (formatted as JSON value) 6297 + *```json 6298 + * "many thanks" 6299 + * ``` 6300 + */ 6301 + phrase(): string; 6302 + 6303 + /** 6304 + * Adjective indicating ownership or possession. 6305 + * @returns a random possessive adjective 6306 + * @example 6307 + * ```ts 6308 + *import { Faker } from "k6/x/faker" 6309 + * 6310 + *let faker = new Faker(11) 6311 + * 6312 + *export default function () { 6313 + * console.log(faker.word.possessiveAdjective()) 6314 + *} 6315 + * 6316 + *``` 6317 + * **Output** (formatted as JSON value) 6318 + *```json 6319 + * "his" 6320 + * ``` 6321 + */ 6322 + possessiveAdjective(): string; 6323 + 6324 + /** 6325 + * Words used to express the relationship of a noun or pronoun to other words in a sentence. 6326 + * @returns a random preposition 6327 + * @example 6328 + * ```ts 6329 + *import { Faker } from "k6/x/faker" 6330 + * 6331 + *let faker = new Faker(11) 6332 + * 6333 + *export default function () { 6334 + * console.log(faker.word.preposition()) 6335 + *} 6336 + * 6337 + *``` 6338 + * **Output** (formatted as JSON value) 6339 + *```json 6340 + * "out" 6341 + * ``` 6342 + */ 6343 + preposition(): string; 6344 + 6345 + /** 6346 + * Preposition that can be formed by combining two or more prepositions. 6347 + * @returns a random preposition compound 6348 + * @example 6349 + * ```ts 6350 + *import { Faker } from "k6/x/faker" 6351 + * 6352 + *let faker = new Faker(11) 6353 + * 6354 + *export default function () { 6355 + * console.log(faker.word.prepositionCompound()) 6356 + *} 6357 + * 6358 + *``` 6359 + * **Output** (formatted as JSON value) 6360 + *```json 6361 + * "apart from" 6362 + * ``` 6363 + */ 6364 + prepositionCompound(): string; 6365 + 6366 + /** 6367 + * Two-word combination preposition, indicating a complex relation. 6368 + * @returns a random preposition double 6369 + * @example 6370 + * ```ts 6371 + *import { Faker } from "k6/x/faker" 6372 + * 6373 + *let faker = new Faker(11) 6374 + * 6375 + *export default function () { 6376 + * console.log(faker.word.prepositionDouble()) 6377 + *} 6378 + * 6379 + *``` 6380 + * **Output** (formatted as JSON value) 6381 + *```json 6382 + * "outside of" 6383 + * ``` 6384 + */ 6385 + prepositionDouble(): string; 6386 + 6387 + /** 6388 + * Phrase starting with a preposition, showing relation between elements in a sentence.. 6389 + * @returns a random preposition phrase 6390 + * @example 6391 + * ```ts 6392 + *import { Faker } from "k6/x/faker" 6393 + * 6394 + *let faker = new Faker(11) 6395 + * 6396 + *export default function () { 6397 + * console.log(faker.word.prepositionPhrase()) 6398 + *} 6399 + * 6400 + *``` 6401 + * **Output** (formatted as JSON value) 6402 + *```json 6403 + * "of a fuel" 6404 + * ``` 6405 + */ 6406 + prepositionPhrase(): string; 6407 + 6408 + /** 6409 + * Single-word preposition showing relationships between 2 parts of a sentence. 6410 + * @returns a random preposition simple 6411 + * @example 6412 + * ```ts 6413 + *import { Faker } from "k6/x/faker" 6414 + * 6415 + *let faker = new Faker(11) 6416 + * 6417 + *export default function () { 6418 + * console.log(faker.word.prepositionSimple()) 6419 + *} 6420 + * 6421 + *``` 6422 + * **Output** (formatted as JSON value) 6423 + *```json 6424 + * "of" 6425 + * ``` 6426 + */ 6427 + prepositionSimple(): string; 6428 + 6429 + /** 6430 + * Word used in place of a noun to avoid repetition. 6431 + * @returns a random pronoun 6432 + * @example 6433 + * ```ts 6434 + *import { Faker } from "k6/x/faker" 6435 + * 6436 + *let faker = new Faker(11) 6437 + * 6438 + *export default function () { 6439 + * console.log(faker.word.pronoun()) 6440 + *} 6441 + * 6442 + *``` 6443 + * **Output** (formatted as JSON value) 6444 + *```json 6445 + * "these" 6446 + * ``` 6447 + */ 6448 + pronoun(): string; 6449 + 6450 + /** 6451 + * Pronoun that points out specific people or things. 6452 + * @returns a random pronoun demonstrative 6453 + * @example 6454 + * ```ts 6455 + *import { Faker } from "k6/x/faker" 6456 + * 6457 + *let faker = new Faker(11) 6458 + * 6459 + *export default function () { 6460 + * console.log(faker.word.pronounDemonstrative()) 6461 + *} 6462 + * 6463 + *``` 6464 + * **Output** (formatted as JSON value) 6465 + *```json 6466 + * "these" 6467 + * ``` 6468 + */ 6469 + pronounDemonstrative(): string; 6470 + 6471 + /** 6472 + * Pronoun that does not refer to a specific person or thing. 6473 + * @returns a random pronoun indefinite 6474 + * @example 6475 + * ```ts 6476 + *import { Faker } from "k6/x/faker" 6477 + * 6478 + *let faker = new Faker(11) 6479 + * 6480 + *export default function () { 6481 + * console.log(faker.word.pronounIndefinite()) 6482 + *} 6483 + * 6484 + *``` 6485 + * **Output** (formatted as JSON value) 6486 + *```json 6487 + * "anyone" 6488 + * ``` 6489 + */ 6490 + pronounIndefinite(): string; 6491 + 6492 + /** 6493 + * Pronoun used to ask questions. 6494 + * @returns a random pronoun interrogative 6495 + * @example 6496 + * ```ts 6497 + *import { Faker } from "k6/x/faker" 6498 + * 6499 + *let faker = new Faker(11) 6500 + * 6501 + *export default function () { 6502 + * console.log(faker.word.pronounInterrogative()) 6503 + *} 6504 + * 6505 + *``` 6506 + * **Output** (formatted as JSON value) 6507 + *```json 6508 + * "who" 6509 + * ``` 6510 + */ 6511 + pronounInterrogative(): string; 6512 + 6513 + /** 6514 + * Pronoun used as the object of a verb or preposition. 6515 + * @returns a random pronoun object 6516 + * @example 6517 + * ```ts 6518 + *import { Faker } from "k6/x/faker" 6519 + * 6520 + *let faker = new Faker(11) 6521 + * 6522 + *export default function () { 6523 + * console.log(faker.word.pronounObject()) 6524 + *} 6525 + * 6526 + *``` 6527 + * **Output** (formatted as JSON value) 6528 + *```json 6529 + * "you" 6530 + * ``` 6531 + */ 6532 + pronounObject(): string; 6533 + 6534 + /** 6535 + * Pronoun referring to a specific persons or things. 6536 + * @returns a random pronoun personal 6537 + * @example 6538 + * ```ts 6539 + *import { Faker } from "k6/x/faker" 6540 + * 6541 + *let faker = new Faker(11) 6542 + * 6543 + *export default function () { 6544 + * console.log(faker.word.pronounPersonal()) 6545 + *} 6546 + * 6547 + *``` 6548 + * **Output** (formatted as JSON value) 6549 + *```json 6550 + * "you" 6551 + * ``` 6552 + */ 6553 + pronounPersonal(): string; 6554 + 6555 + /** 6556 + * Pronoun indicating ownership or belonging. 6557 + * @returns a random pronoun possessive 6558 + * @example 6559 + * ```ts 6560 + *import { Faker } from "k6/x/faker" 6561 + * 6562 + *let faker = new Faker(11) 6563 + * 6564 + *export default function () { 6565 + * console.log(faker.word.pronounPossessive()) 6566 + *} 6567 + * 6568 + *``` 6569 + * **Output** (formatted as JSON value) 6570 + *```json 6571 + * "mine" 6572 + * ``` 6573 + */ 6574 + pronounPossessive(): string; 6575 + 6576 + /** 6577 + * Pronoun referring back to the subject of the sentence. 6578 + * @returns a random pronoun reflective 6579 + * @example 6580 + * ```ts 6581 + *import { Faker } from "k6/x/faker" 6582 + * 6583 + *let faker = new Faker(11) 6584 + * 6585 + *export default function () { 6586 + * console.log(faker.word.pronounReflective()) 6587 + *} 6588 + * 6589 + *``` 6590 + * **Output** (formatted as JSON value) 6591 + *```json 6592 + * "herself" 6593 + * ``` 6594 + */ 6595 + pronounReflective(): string; 6596 + 6597 + /** 6598 + * Pronoun that introduces a clause, referring back to a noun or pronoun. 6599 + * @returns a random pronoun relative 6600 + * @example 6601 + * ```ts 6602 + *import { Faker } from "k6/x/faker" 6603 + * 6604 + *let faker = new Faker(11) 6605 + * 6606 + *export default function () { 6607 + * console.log(faker.word.pronounRelative()) 6608 + *} 6609 + * 6610 + *``` 6611 + * **Output** (formatted as JSON value) 6612 + *```json 6613 + * "that" 6614 + * ``` 6615 + */ 6616 + pronounRelative(): string; 6617 + 6618 + /** 6619 + * Adjective derived from a proper noun, often used to describe nationality or origin. 6620 + * @returns a random proper adjective 6621 + * @example 6622 + * ```ts 6623 + *import { Faker } from "k6/x/faker" 6624 + * 6625 + *let faker = new Faker(11) 6626 + * 6627 + *export default function () { 6628 + * console.log(faker.word.properAdjective()) 6629 + *} 6630 + * 6631 + *``` 6632 + * **Output** (formatted as JSON value) 6633 + *```json 6634 + * "Confucian" 6635 + * ``` 6636 + */ 6637 + properAdjective(): string; 6638 + 6639 + /** 6640 + * Adjective that indicates the quantity or amount of something. 6641 + * @returns a random quantitative adjective 6642 + * @example 6643 + * ```ts 6644 + *import { Faker } from "k6/x/faker" 6645 + * 6646 + *let faker = new Faker(11) 6647 + * 6648 + *export default function () { 6649 + * console.log(faker.word.quantitativeAdjective()) 6650 + *} 6651 + * 6652 + *``` 6653 + * **Output** (formatted as JSON value) 6654 + *```json 6655 + * "several" 6656 + * ``` 6657 + */ 6658 + quantitativeAdjective(): string; 6659 + 6660 + /** 6661 + * Statement formulated to inquire or seek clarification. 6662 + * @returns a random question 6663 + * @example 6664 + * ```ts 6665 + *import { Faker } from "k6/x/faker" 6666 + * 6667 + *let faker = new Faker(11) 6668 + * 6669 + *export default function () { 6670 + * console.log(faker.word.question()) 6671 + *} 6672 + * 6673 + *``` 6674 + * **Output** (formatted as JSON value) 6675 + *```json 6676 + * "Forage pinterest direct trade pug skateboard food truck flannel cold-pressed?" 6677 + * ``` 6678 + */ 6679 + question(): string; 6680 + 6681 + /** 6682 + * Direct repetition of someone else's words. 6683 + * @returns a random quote 6684 + * @example 6685 + * ```ts 6686 + *import { Faker } from "k6/x/faker" 6687 + * 6688 + *let faker = new Faker(11) 6689 + * 6690 + *export default function () { 6691 + * console.log(faker.word.quote()) 6692 + *} 6693 + * 6694 + *``` 6695 + * **Output** (formatted as JSON value) 6696 + *```json 6697 + * "\"Forage pinterest direct trade pug skateboard food truck flannel cold-pressed.\" - Lukas Ledner" 6698 + * ``` 6699 + */ 6700 + quote(): string; 6701 + 6702 + /** 6703 + * Set of words expressing a statement, question, exclamation, or command. 6704 + * @param wordcount - Word Count 6705 + * @returns a random sentence 6706 + * @example 6707 + * ```ts 6708 + *import { Faker } from "k6/x/faker" 6709 + * 6710 + *let faker = new Faker(11) 6711 + * 6712 + *export default function () { 6713 + * console.log(faker.word.sentence(5)) 6714 + *} 6715 + * 6716 + *``` 6717 + * **Output** (formatted as JSON value) 6718 + *```json 6719 + * "Quickly up brace lung anyway." 6720 + * ``` 6721 + */ 6722 + sentence(wordcount: number): string; 6723 + 6724 + /** 6725 + * Group of words that expresses a complete thought. 6726 + * @returns a random simple sentence 6727 + * @example 6728 + * ```ts 6729 + *import { Faker } from "k6/x/faker" 6730 + * 6731 + *let faker = new Faker(11) 6732 + * 6733 + *export default function () { 6734 + * console.log(faker.word.simpleSentence()) 6735 + *} 6736 + * 6737 + *``` 6738 + * **Output** (formatted as JSON value) 6739 + *```json 6740 + * "A brave fuel enormously beautifully stack easy day less badly in a bunch." 6741 + * ``` 6742 + */ 6743 + simpleSentence(): string; 6744 + 6745 + /** 6746 + * Verb that requires a direct object to complete its meaning. 6747 + * @returns a random transitive verb 6748 + * @example 6749 + * ```ts 6750 + *import { Faker } from "k6/x/faker" 6751 + * 6752 + *let faker = new Faker(11) 6753 + * 6754 + *export default function () { 6755 + * console.log(faker.word.transitiveVerb()) 6756 + *} 6757 + * 6758 + *``` 6759 + * **Output** (formatted as JSON value) 6760 + *```json 6761 + * "bother" 6762 + * ``` 6763 + */ 6764 + transitiveVerb(): string; 6765 + 6766 + /** 6767 + * Word expressing an action, event or state. 6768 + * @returns a random verb 6769 + * @example 6770 + * ```ts 6771 + *import { Faker } from "k6/x/faker" 6772 + * 6773 + *let faker = new Faker(11) 6774 + * 6775 + *export default function () { 6776 + * console.log(faker.word.verb()) 6777 + *} 6778 + * 6779 + *``` 6780 + * **Output** (formatted as JSON value) 6781 + *```json 6782 + * "dig" 6783 + * ``` 6784 + */ 6785 + verb(): string; 6786 + 6787 + /** 6788 + * Phrase that Consists of a verb and its modifiers, expressing an action or state. 6789 + * @returns a random verb phrase 6790 + * @example 6791 + * ```ts 6792 + *import { Faker } from "k6/x/faker" 6793 + * 6794 + *let faker = new Faker(11) 6795 + * 6796 + *export default function () { 6797 + * console.log(faker.word.verbPhrase()) 6798 + *} 6799 + * 6800 + *``` 6801 + * **Output** (formatted as JSON value) 6802 + *```json 6803 + * "cheerfully cry enormously beautifully with easy day less badly" 6804 + * ``` 6805 + */ 6806 + verbPhrase(): string; 6807 + 6808 + /** 6809 + * Basic unit of language representing a concept or thing, consisting of letters and having meaning. 6810 + * @returns a random word 6811 + * @example 6812 + * ```ts 6813 + *import { Faker } from "k6/x/faker" 6814 + * 6815 + *let faker = new Faker(11) 6816 + * 6817 + *export default function () { 6818 + * console.log(faker.word.word()) 6819 + *} 6820 + * 6821 + *``` 6822 + * **Output** (formatted as JSON value) 6823 + *```json 6824 + * "quickly" 6825 + * ``` 6826 + */ 6827 + word(): string; 6828 + } 6829 + 6830 + /** 6831 + * Generator with all generator functions for convenient use. 6832 + */ 6833 + export interface Zen { 6834 + /** 6835 + * A bank account number used for Automated Clearing House transactions and electronic transfers. 6836 + * @returns a random ach account number 6837 + * @example 6838 + * ```ts 6839 + *import { Faker } from "k6/x/faker" 6840 + * 6841 + *let faker = new Faker(11) 6842 + * 6843 + *export default function () { 6844 + * console.log(faker.zen.achAccountNumber()) 6845 + *} 6846 + * 6847 + *``` 6848 + * **Output** (formatted as JSON value) 6849 + *```json 6850 + * "805388385166" 6851 + * ``` 6852 + */ 6853 + achAccountNumber(): string; 6854 + 6855 + /** 6856 + * Unique nine-digit code used in the U.S. for identifying the bank and processing electronic transactions. 6857 + * @returns a random ach routing number 6858 + * @example 6859 + * ```ts 6860 + *import { Faker } from "k6/x/faker" 6861 + * 6862 + *let faker = new Faker(11) 6863 + * 6864 + *export default function () { 6865 + * console.log(faker.zen.achRoutingNumber()) 6866 + *} 6867 + * 6868 + *``` 6869 + * **Output** (formatted as JSON value) 6870 + *```json 6871 + * "605388385" 6872 + * ``` 6873 + */ 6874 + achRoutingNumber(): string; 6875 + 6876 + /** 6877 + * Verb Indicating a physical or mental action. 6878 + * @returns a random action verb 6879 + * @example 6880 + * ```ts 6881 + *import { Faker } from "k6/x/faker" 6882 + * 6883 + *let faker = new Faker(11) 6884 + * 6885 + *export default function () { 6886 + * console.log(faker.zen.actionVerb()) 6887 + *} 6888 + * 6889 + *``` 6890 + * **Output** (formatted as JSON value) 6891 + *```json 6892 + * "smell" 6893 + * ``` 6894 + */ 6895 + actionVerb(): string; 6896 + 6897 + /** 6898 + * Residential location including street, city, state, country and postal code. 6899 + * @returns a random address 6900 + * @example 6901 + * ```ts 6902 + *import { Faker } from "k6/x/faker" 6903 + * 6904 + *let faker = new Faker(11) 6905 + * 6906 + *export default function () { 6907 + * console.log(faker.zen.address()) 6908 + *} 6909 + * 6910 + *``` 6911 + * **Output** (formatted as JSON value) 6912 + *```json 6913 + * {"Address":"53883 Villageborough, San Bernardino, Kentucky 56992","Street":"53883 Villageborough","City":"San Bernardino","State":"Kentucky","Zip":"56992","Country":"United States of America","Latitude":11.29359,"Longitude":-145.577493} 6914 + * ``` 6915 + */ 6916 + address(): Record<string, unknown>; 6917 + 6918 + /** 6919 + * Word describing or modifying a noun. 6920 + * @returns a random adjective 6921 + * @example 6922 + * ```ts 6923 + *import { Faker } from "k6/x/faker" 6924 + * 6925 + *let faker = new Faker(11) 6926 + * 6927 + *export default function () { 6928 + * console.log(faker.zen.adjective()) 6929 + *} 6930 + * 6931 + *``` 6932 + * **Output** (formatted as JSON value) 6933 + *```json 6934 + * "brave" 6935 + * ``` 6936 + */ 6937 + adjective(): string; 6938 + 6939 + /** 6940 + * Word that modifies verbs, adjectives, or other adverbs. 6941 + * @returns a random adverb 6942 + * @example 6943 + * ```ts 6944 + *import { Faker } from "k6/x/faker" 6945 + * 6946 + *let faker = new Faker(11) 6947 + * 6948 + *export default function () { 6949 + * console.log(faker.zen.adverb()) 6950 + *} 6951 + * 6952 + *``` 6953 + * **Output** (formatted as JSON value) 6954 + *```json 6955 + * "quickly" 6956 + * ``` 6957 + */ 6958 + adverb(): string; 6959 + 6960 + /** 6961 + * Adverb that indicates the degree or intensity of an action or adjective. 6962 + * @returns a random adverb degree 6963 + * @example 6964 + * ```ts 6965 + *import { Faker } from "k6/x/faker" 6966 + * 6967 + *let faker = new Faker(11) 6968 + * 6969 + *export default function () { 6970 + * console.log(faker.zen.adverbDegree()) 6971 + *} 6972 + * 6973 + *``` 6974 + * **Output** (formatted as JSON value) 6975 + *```json 6976 + * "pretty" 6977 + * ``` 6978 + */ 6979 + adverbDegree(): string; 6980 + 6981 + /** 6982 + * Adverb that specifies how often an action occurs with a clear frequency. 6983 + * @returns a random adverb frequency definite 6984 + * @example 6985 + * ```ts 6986 + *import { Faker } from "k6/x/faker" 6987 + * 6988 + *let faker = new Faker(11) 6989 + * 6990 + *export default function () { 6991 + * console.log(faker.zen.adverbFrequencyDefinite()) 6992 + *} 6993 + * 6994 + *``` 6995 + * **Output** (formatted as JSON value) 6996 + *```json 6997 + * "annually" 6998 + * ``` 6999 + */ 7000 + adverbFrequencyDefinite(): string; 7001 + 7002 + /** 7003 + * Adverb that specifies how often an action occurs without specifying a particular frequency. 7004 + * @returns a random adverb frequency indefinite 7005 + * @example 7006 + * ```ts 7007 + *import { Faker } from "k6/x/faker" 7008 + * 7009 + *let faker = new Faker(11) 7010 + * 7011 + *export default function () { 7012 + * console.log(faker.zen.adverbFrequencyIndefinite()) 7013 + *} 7014 + * 7015 + *``` 7016 + * **Output** (formatted as JSON value) 7017 + *```json 7018 + * "rarely" 7019 + * ``` 7020 + */ 7021 + adverbFrequencyIndefinite(): string; 7022 + 7023 + /** 7024 + * Adverb that describes how an action is performed. 7025 + * @returns a random adverb manner 7026 + * @example 7027 + * ```ts 7028 + *import { Faker } from "k6/x/faker" 7029 + * 7030 + *let faker = new Faker(11) 7031 + * 7032 + *export default function () { 7033 + * console.log(faker.zen.adverbManner()) 7034 + *} 7035 + * 7036 + *``` 7037 + * **Output** (formatted as JSON value) 7038 + *```json 7039 + * "sleepily" 7040 + * ``` 7041 + */ 7042 + adverbManner(): string; 7043 + 7044 + /** 7045 + * Phrase that modifies a verb, adjective, or another adverb, providing additional information.. 7046 + * @returns a random adverb phrase 7047 + * @example 7048 + * ```ts 7049 + *import { Faker } from "k6/x/faker" 7050 + * 7051 + *let faker = new Faker(11) 7052 + * 7053 + *export default function () { 7054 + * console.log(faker.zen.adverbPhrase()) 7055 + *} 7056 + * 7057 + *``` 7058 + * **Output** (formatted as JSON value) 7059 + *```json 7060 + * "too cheerfully" 7061 + * ``` 7062 + */ 7063 + adverbPhrase(): string; 7064 + 7065 + /** 7066 + * Adverb that indicates the location or direction of an action. 7067 + * @returns a random adverb place 7068 + * @example 7069 + * ```ts 7070 + *import { Faker } from "k6/x/faker" 7071 + * 7072 + *let faker = new Faker(11) 7073 + * 7074 + *export default function () { 7075 + * console.log(faker.zen.adverbPlace()) 7076 + *} 7077 + * 7078 + *``` 7079 + * **Output** (formatted as JSON value) 7080 + *```json 7081 + * "east" 7082 + * ``` 7083 + */ 7084 + adverbPlace(): string; 7085 + 7086 + /** 7087 + * Adverb that specifies the exact time an action occurs. 7088 + * @returns a random adverb time definite 7089 + * @example 7090 + * ```ts 7091 + *import { Faker } from "k6/x/faker" 7092 + * 7093 + *let faker = new Faker(11) 7094 + * 7095 + *export default function () { 7096 + * console.log(faker.zen.adverbTimeDefinite()) 7097 + *} 7098 + * 7099 + *``` 7100 + * **Output** (formatted as JSON value) 7101 + *```json 7102 + * "now" 7103 + * ``` 7104 + */ 7105 + adverbTimeDefinite(): string; 7106 + 7107 + /** 7108 + * Adverb that gives a general or unspecified time frame. 7109 + * @returns a random adverb time indefinite 7110 + * @example 7111 + * ```ts 7112 + *import { Faker } from "k6/x/faker" 7113 + * 7114 + *let faker = new Faker(11) 7115 + * 7116 + *export default function () { 7117 + * console.log(faker.zen.adverbTimeIndefinite()) 7118 + *} 7119 + * 7120 + *``` 7121 + * **Output** (formatted as JSON value) 7122 + *```json 7123 + * "late" 7124 + * ``` 7125 + */ 7126 + adverbTimeIndefinite(): string; 7127 + 7128 + /** 7129 + * Living creature with the ability to move, eat, and interact with its environment. 7130 + * @returns a random animal 7131 + * @example 7132 + * ```ts 7133 + *import { Faker } from "k6/x/faker" 7134 + * 7135 + *let faker = new Faker(11) 7136 + * 7137 + *export default function () { 7138 + * console.log(faker.zen.animal()) 7139 + *} 7140 + * 7141 + *``` 7142 + * **Output** (formatted as JSON value) 7143 + *```json 7144 + * "crow" 7145 + * ``` 7146 + */ 7147 + animal(): string; 7148 + 7149 + /** 7150 + * Type of animal, such as mammals, birds, reptiles, etc.. 7151 + * @returns a random animal type 7152 + * @example 7153 + * ```ts 7154 + *import { Faker } from "k6/x/faker" 7155 + * 7156 + *let faker = new Faker(11) 7157 + * 7158 + *export default function () { 7159 + * console.log(faker.zen.animalType()) 7160 + *} 7161 + * 7162 + *``` 7163 + * **Output** (formatted as JSON value) 7164 + *```json 7165 + * "amphibians" 7166 + * ``` 7167 + */ 7168 + animalType(): string; 7169 + 7170 + /** 7171 + * Person or group creating and developing an application. 7172 + * @returns a random app author 7173 + * @example 7174 + * ```ts 7175 + *import { Faker } from "k6/x/faker" 7176 + * 7177 + *let faker = new Faker(11) 7178 + * 7179 + *export default function () { 7180 + * console.log(faker.zen.appAuthor()) 7181 + *} 7182 + * 7183 + *``` 7184 + * **Output** (formatted as JSON value) 7185 + *```json 7186 + * "Wendell Luettgen" 7187 + * ``` 7188 + */ 7189 + appAuthor(): string; 7190 + 7191 + /** 7192 + * Software program designed for a specific purpose or task on a computer or mobile device. 7193 + * @returns a random app name 7194 + * @example 7195 + * ```ts 7196 + *import { Faker } from "k6/x/faker" 7197 + * 7198 + *let faker = new Faker(11) 7199 + * 7200 + *export default function () { 7201 + * console.log(faker.zen.appName()) 7202 + *} 7203 + * 7204 + *``` 7205 + * **Output** (formatted as JSON value) 7206 + *```json 7207 + * "Hillbe" 7208 + * ``` 7209 + */ 7210 + appName(): string; 7211 + 7212 + /** 7213 + * Particular release of an application in Semantic Versioning format. 7214 + * @returns a random app version 7215 + * @example 7216 + * ```ts 7217 + *import { Faker } from "k6/x/faker" 7218 + * 7219 + *let faker = new Faker(11) 7220 + * 7221 + *export default function () { 7222 + * console.log(faker.zen.appVersion()) 7223 + *} 7224 + * 7225 + *``` 7226 + * **Output** (formatted as JSON value) 7227 + *```json 7228 + * "5.3.20" 7229 + * ``` 7230 + */ 7231 + appVersion(): string; 7232 + 7233 + /** 7234 + * Measures the alcohol content in beer. 7235 + * @returns a random beer alcohol 7236 + * @example 7237 + * ```ts 7238 + *import { Faker } from "k6/x/faker" 7239 + * 7240 + *let faker = new Faker(11) 7241 + * 7242 + *export default function () { 7243 + * console.log(faker.zen.beerAlcohol()) 7244 + *} 7245 + * 7246 + *``` 7247 + * **Output** (formatted as JSON value) 7248 + *```json 7249 + * "6.5%" 7250 + * ``` 7251 + */ 7252 + beerAlcohol(): string; 7253 + 7254 + /** 7255 + * Scale indicating the concentration of extract in worts. 7256 + * @returns a random beer blg 7257 + * @example 7258 + * ```ts 7259 + *import { Faker } from "k6/x/faker" 7260 + * 7261 + *let faker = new Faker(11) 7262 + * 7263 + *export default function () { 7264 + * console.log(faker.zen.beerBlg()) 7265 + *} 7266 + * 7267 + *``` 7268 + * **Output** (formatted as JSON value) 7269 + *```json 7270 + * "13.4°Blg" 7271 + * ``` 7272 + */ 7273 + beerBlg(): string; 7274 + 7275 + /** 7276 + * The flower used in brewing to add flavor, aroma, and bitterness to beer. 7277 + * @returns a random beer hop 7278 + * @example 7279 + * ```ts 7280 + *import { Faker } from "k6/x/faker" 7281 + * 7282 + *let faker = new Faker(11) 7283 + * 7284 + *export default function () { 7285 + * console.log(faker.zen.beerHop()) 7286 + *} 7287 + * 7288 + *``` 7289 + * **Output** (formatted as JSON value) 7290 + *```json 7291 + * "Nugget" 7292 + * ``` 7293 + */ 7294 + beerHop(): string; 7295 + 7296 + /** 7297 + * Scale measuring bitterness of beer from hops. 7298 + * @returns a random beer ibu 7299 + * @example 7300 + * ```ts 7301 + *import { Faker } from "k6/x/faker" 7302 + * 7303 + *let faker = new Faker(11) 7304 + * 7305 + *export default function () { 7306 + * console.log(faker.zen.beerIbu()) 7307 + *} 7308 + * 7309 + *``` 7310 + * **Output** (formatted as JSON value) 7311 + *```json 7312 + * "80 IBU" 7313 + * ``` 7314 + */ 7315 + beerIbu(): string; 7316 + 7317 + /** 7318 + * Processed barley or other grains, provides sugars for fermentation and flavor to beer. 7319 + * @returns a random beer malt 7320 + * @example 7321 + * ```ts 7322 + *import { Faker } from "k6/x/faker" 7323 + * 7324 + *let faker = new Faker(11) 7325 + * 7326 + *export default function () { 7327 + * console.log(faker.zen.beerMalt()) 7328 + *} 7329 + * 7330 + *``` 7331 + * **Output** (formatted as JSON value) 7332 + *```json 7333 + * "Roasted barley" 7334 + * ``` 7335 + */ 7336 + beerMalt(): string; 7337 + 7338 + /** 7339 + * Specific brand or variety of beer. 7340 + * @returns a random beer name 7341 + * @example 7342 + * ```ts 7343 + *import { Faker } from "k6/x/faker" 7344 + * 7345 + *let faker = new Faker(11) 7346 + * 7347 + *export default function () { 7348 + * console.log(faker.zen.beerName()) 7349 + *} 7350 + * 7351 + *``` 7352 + * **Output** (formatted as JSON value) 7353 + *```json 7354 + * "90 Minute IPA" 7355 + * ``` 7356 + */ 7357 + beerName(): string; 7358 + 7359 + /** 7360 + * Distinct characteristics and flavors of beer. 7361 + * @returns a random beer style 7362 + * @example 7363 + * ```ts 7364 + *import { Faker } from "k6/x/faker" 7365 + * 7366 + *let faker = new Faker(11) 7367 + * 7368 + *export default function () { 7369 + * console.log(faker.zen.beerStyle()) 7370 + *} 7371 + * 7372 + *``` 7373 + * **Output** (formatted as JSON value) 7374 + *```json 7375 + * "English Brown Ale" 7376 + * ``` 7377 + */ 7378 + beerStyle(): string; 7379 + 7380 + /** 7381 + * Microorganism used in brewing to ferment sugars, producing alcohol and carbonation in beer. 7382 + * @returns a random beer yeast 7383 + * @example 7384 + * ```ts 7385 + *import { Faker } from "k6/x/faker" 7386 + * 7387 + *let faker = new Faker(11) 7388 + * 7389 + *export default function () { 7390 + * console.log(faker.zen.beerYeast()) 7391 + *} 7392 + * 7393 + *``` 7394 + * **Output** (formatted as JSON value) 7395 + *```json 7396 + * "2035 - American Lager" 7397 + * ``` 7398 + */ 7399 + beerYeast(): string; 7400 + 7401 + /** 7402 + * Distinct species of birds. 7403 + * @returns a random bird 7404 + * @example 7405 + * ```ts 7406 + *import { Faker } from "k6/x/faker" 7407 + * 7408 + *let faker = new Faker(11) 7409 + * 7410 + *export default function () { 7411 + * console.log(faker.zen.bird()) 7412 + *} 7413 + * 7414 + *``` 7415 + * **Output** (formatted as JSON value) 7416 + *```json 7417 + * "lovebird" 7418 + * ``` 7419 + */ 7420 + bird(): string; 7421 + 7422 + /** 7423 + * Cryptographic identifier used to receive, store, and send Bitcoin cryptocurrency in a peer-to-peer network. 7424 + * @returns a random bitcoin address 7425 + * @example 7426 + * ```ts 7427 + *import { Faker } from "k6/x/faker" 7428 + * 7429 + *let faker = new Faker(11) 7430 + * 7431 + *export default function () { 7432 + * console.log(faker.zen.bitcoinAddress()) 7433 + *} 7434 + * 7435 + *``` 7436 + * **Output** (formatted as JSON value) 7437 + *```json 7438 + * "1t1xAUWhqY1QsZFAlYm6Z75zxerJ" 7439 + * ``` 7440 + */ 7441 + bitcoinAddress(): string; 7442 + 7443 + /** 7444 + * Secret, secure code that allows the owner to access and control their Bitcoin holdings. 7445 + * @returns a random bitcoin private key 7446 + * @example 7447 + * ```ts 7448 + *import { Faker } from "k6/x/faker" 7449 + * 7450 + *let faker = new Faker(11) 7451 + * 7452 + *export default function () { 7453 + * console.log(faker.zen.bitcoinPrivateKey()) 7454 + *} 7455 + * 7456 + *``` 7457 + * **Output** (formatted as JSON value) 7458 + *```json 7459 + * "5KgZY1TaSmxpQcUsBAkWXFnidi9UsGRsoQq3dWe4oZz5zrG9VVC" 7460 + * ``` 7461 + */ 7462 + bitcoinPrivateKey(): string; 7463 + 7464 + /** 7465 + * Brief description or summary of a company's purpose, products, or services. 7466 + * @returns a random blurb 7467 + * @example 7468 + * ```ts 7469 + *import { Faker } from "k6/x/faker" 7470 + * 7471 + *let faker = new Faker(11) 7472 + * 7473 + *export default function () { 7474 + * console.log(faker.zen.blurb()) 7475 + *} 7476 + * 7477 + *``` 7478 + * **Output** (formatted as JSON value) 7479 + *```json 7480 + * "Pride" 7481 + * ``` 7482 + */ 7483 + blurb(): string; 7484 + 7485 + /** 7486 + * Written or printed work consisting of pages bound together, covering various subjects or stories. 7487 + * @returns a random book 7488 + * @example 7489 + * ```ts 7490 + *import { Faker } from "k6/x/faker" 7491 + * 7492 + *let faker = new Faker(11) 7493 + * 7494 + *export default function () { 7495 + * console.log(faker.zen.book()) 7496 + *} 7497 + * 7498 + *``` 7499 + * **Output** (formatted as JSON value) 7500 + *```json 7501 + * {"Title":"The Brothers Karamazov","Author":"Albert Camus","Genre":"Urban"} 7502 + * ``` 7503 + */ 7504 + book(): Record<string, string>; 7505 + 7506 + /** 7507 + * The individual who wrote or created the content of a book. 7508 + * @returns a random book author 7509 + * @example 7510 + * ```ts 7511 + *import { Faker } from "k6/x/faker" 7512 + * 7513 + *let faker = new Faker(11) 7514 + * 7515 + *export default function () { 7516 + * console.log(faker.zen.bookAuthor()) 7517 + *} 7518 + * 7519 + *``` 7520 + * **Output** (formatted as JSON value) 7521 + *```json 7522 + * "Edgar Allan Poe" 7523 + * ``` 7524 + */ 7525 + bookAuthor(): string; 7526 + 7527 + /** 7528 + * Category or type of book defined by its content, style, or form. 7529 + * @returns a random book genre 7530 + * @example 7531 + * ```ts 7532 + *import { Faker } from "k6/x/faker" 7533 + * 7534 + *let faker = new Faker(11) 7535 + * 7536 + *export default function () { 7537 + * console.log(faker.zen.bookGenre()) 7538 + *} 7539 + * 7540 + *``` 7541 + * **Output** (formatted as JSON value) 7542 + *```json 7543 + * "Erotic" 7544 + * ``` 7545 + */ 7546 + bookGenre(): string; 7547 + 7548 + /** 7549 + * The specific name given to a book. 7550 + * @returns a random book title 7551 + * @example 7552 + * ```ts 7553 + *import { Faker } from "k6/x/faker" 7554 + * 7555 + *let faker = new Faker(11) 7556 + * 7557 + *export default function () { 7558 + * console.log(faker.zen.bookTitle()) 7559 + *} 7560 + * 7561 + *``` 7562 + * **Output** (formatted as JSON value) 7563 + *```json 7564 + * "The Brothers Karamazov" 7565 + * ``` 7566 + */ 7567 + bookTitle(): string; 7568 + 7569 + /** 7570 + * Data type that represents one of two possible values, typically true or false. 7571 + * @returns a random boolean 7572 + * @example 7573 + * ```ts 7574 + *import { Faker } from "k6/x/faker" 7575 + * 7576 + *let faker = new Faker(11) 7577 + * 7578 + *export default function () { 7579 + * console.log(faker.zen.boolean()) 7580 + *} 7581 + * 7582 + *``` 7583 + * **Output** (formatted as JSON value) 7584 + *```json 7585 + * true 7586 + * ``` 7587 + */ 7588 + boolean(): boolean; 7589 + 7590 + /** 7591 + * First meal of the day, typically eaten in the morning. 7592 + * @returns a random breakfast 7593 + * @example 7594 + * ```ts 7595 + *import { Faker } from "k6/x/faker" 7596 + * 7597 + *let faker = new Faker(11) 7598 + * 7599 + *export default function () { 7600 + * console.log(faker.zen.breakfast()) 7601 + *} 7602 + * 7603 + *``` 7604 + * **Output** (formatted as JSON value) 7605 + *```json 7606 + * "Ham omelet deluxe" 7607 + * ``` 7608 + */ 7609 + breakfast(): string; 7610 + 7611 + /** 7612 + * Random bs company word. 7613 + * @returns a random bs 7614 + * @example 7615 + * ```ts 7616 + *import { Faker } from "k6/x/faker" 7617 + * 7618 + *let faker = new Faker(11) 7619 + * 7620 + *export default function () { 7621 + * console.log(faker.zen.bs()) 7622 + *} 7623 + * 7624 + *``` 7625 + * **Output** (formatted as JSON value) 7626 + *```json 7627 + * "24-7" 7628 + * ``` 7629 + */ 7630 + bs(): string; 7631 + 7632 + /** 7633 + * Trendy or overused term often used in business to sound impressive. 7634 + * @returns a random buzzword 7635 + * @example 7636 + * ```ts 7637 + *import { Faker } from "k6/x/faker" 7638 + * 7639 + *let faker = new Faker(11) 7640 + * 7641 + *export default function () { 7642 + * console.log(faker.zen.buzzword()) 7643 + *} 7644 + * 7645 + *``` 7646 + * **Output** (formatted as JSON value) 7647 + *```json 7648 + * "Reverse-engineered" 7649 + * ``` 7650 + */ 7651 + buzzword(): string; 7652 + 7653 + /** 7654 + * Wheeled motor vehicle used for transportation. 7655 + * @returns a random car 7656 + * @example 7657 + * ```ts 7658 + *import { Faker } from "k6/x/faker" 7659 + * 7660 + *let faker = new Faker(11) 7661 + * 7662 + *export default function () { 7663 + * console.log(faker.zen.car()) 7664 + *} 7665 + * 7666 + *``` 7667 + * **Output** (formatted as JSON value) 7668 + *```json 7669 + * {"Type":"Passenger car compact","Fuel":"CNG","Transmission":"Automatic","Brand":"Daewoo","Model":"Thunderbird","Year":1905} 7670 + * ``` 7671 + */ 7672 + car(): Record<string, unknown>; 7673 + 7674 + /** 7675 + * Type of energy source a car uses. 7676 + * @returns a random car fuel type 7677 + * @example 7678 + * ```ts 7679 + *import { Faker } from "k6/x/faker" 7680 + * 7681 + *let faker = new Faker(11) 7682 + * 7683 + *export default function () { 7684 + * console.log(faker.zen.carFuelType()) 7685 + *} 7686 + * 7687 + *``` 7688 + * **Output** (formatted as JSON value) 7689 + *```json 7690 + * "Ethanol" 7691 + * ``` 7692 + */ 7693 + carFuelType(): string; 7694 + 7695 + /** 7696 + * Company or brand that manufactures and designs cars. 7697 + * @returns a random car maker 7698 + * @example 7699 + * ```ts 7700 + *import { Faker } from "k6/x/faker" 7701 + * 7702 + *let faker = new Faker(11) 7703 + * 7704 + *export default function () { 7705 + * console.log(faker.zen.carMaker()) 7706 + *} 7707 + * 7708 + *``` 7709 + * **Output** (formatted as JSON value) 7710 + *```json 7711 + * "Lancia" 7712 + * ``` 7713 + */ 7714 + carMaker(): string; 7715 + 7716 + /** 7717 + * Specific design or version of a car produced by a manufacturer. 7718 + * @returns a random car model 7719 + * @example 7720 + * ```ts 7721 + *import { Faker } from "k6/x/faker" 7722 + * 7723 + *let faker = new Faker(11) 7724 + * 7725 + *export default function () { 7726 + * console.log(faker.zen.carModel()) 7727 + *} 7728 + * 7729 + *``` 7730 + * **Output** (formatted as JSON value) 7731 + *```json 7732 + * "Tucson 4wd" 7733 + * ``` 7734 + */ 7735 + carModel(): string; 7736 + 7737 + /** 7738 + * Mechanism a car uses to transmit power from the engine to the wheels. 7739 + * @returns a random car transmission type 7740 + * @example 7741 + * ```ts 7742 + *import { Faker } from "k6/x/faker" 7743 + * 7744 + *let faker = new Faker(11) 7745 + * 7746 + *export default function () { 7747 + * console.log(faker.zen.carTransmissionType()) 7748 + *} 7749 + * 7750 + *``` 7751 + * **Output** (formatted as JSON value) 7752 + *```json 7753 + * "Manual" 7754 + * ``` 7755 + */ 7756 + carTransmissionType(): string; 7757 + 7758 + /** 7759 + * Classification of cars based on size, use, or body style. 7760 + * @returns a random car type 7761 + * @example 7762 + * ```ts 7763 + *import { Faker } from "k6/x/faker" 7764 + * 7765 + *let faker = new Faker(11) 7766 + * 7767 + *export default function () { 7768 + * console.log(faker.zen.carType()) 7769 + *} 7770 + * 7771 + *``` 7772 + * **Output** (formatted as JSON value) 7773 + *```json 7774 + * "Passenger car compact" 7775 + * ``` 7776 + */ 7777 + carType(): string; 7778 + 7779 + /** 7780 + * Various breeds that define different cats. 7781 + * @returns a random cat 7782 + * @example 7783 + * ```ts 7784 + *import { Faker } from "k6/x/faker" 7785 + * 7786 + *let faker = new Faker(11) 7787 + * 7788 + *export default function () { 7789 + * console.log(faker.zen.cat()) 7790 + *} 7791 + * 7792 + *``` 7793 + * **Output** (formatted as JSON value) 7794 + *```json 7795 + * "Toyger" 7796 + * ``` 7797 + */ 7798 + cat(): string; 7799 + 7800 + /** 7801 + * Famous person known for acting in films, television, or theater. 7802 + * @returns a random celebrity actor 7803 + * @example 7804 + * ```ts 7805 + *import { Faker } from "k6/x/faker" 7806 + * 7807 + *let faker = new Faker(11) 7808 + * 7809 + *export default function () { 7810 + * console.log(faker.zen.celebrityActor()) 7811 + *} 7812 + * 7813 + *``` 7814 + * **Output** (formatted as JSON value) 7815 + *```json 7816 + * "Ben Affleck" 7817 + * ``` 7818 + */ 7819 + celebrityActor(): string; 7820 + 7821 + /** 7822 + * High-profile individual known for significant achievements in business or entrepreneurship. 7823 + * @returns a random celebrity business 7824 + * @example 7825 + * ```ts 7826 + *import { Faker } from "k6/x/faker" 7827 + * 7828 + *let faker = new Faker(11) 7829 + * 7830 + *export default function () { 7831 + * console.log(faker.zen.celebrityBusiness()) 7832 + *} 7833 + * 7834 + *``` 7835 + * **Output** (formatted as JSON value) 7836 + *```json 7837 + * "Larry Ellison" 7838 + * ``` 7839 + */ 7840 + celebrityBusiness(): string; 7841 + 7842 + /** 7843 + * Famous athlete known for achievements in a particular sport. 7844 + * @returns a random celebrity sport 7845 + * @example 7846 + * ```ts 7847 + *import { Faker } from "k6/x/faker" 7848 + * 7849 + *let faker = new Faker(11) 7850 + * 7851 + *export default function () { 7852 + * console.log(faker.zen.celebritySport()) 7853 + *} 7854 + * 7855 + *``` 7856 + * **Output** (formatted as JSON value) 7857 + *```json 7858 + * "Greg Lemond" 7859 + * ``` 7860 + */ 7861 + celebritySport(): string; 7862 + 7863 + /** 7864 + * The specific identification string sent by the Google Chrome web browser when making requests on the internet. 7865 + * @returns a random chrome user agent 7866 + * @example 7867 + * ```ts 7868 + *import { Faker } from "k6/x/faker" 7869 + * 7870 + *let faker = new Faker(11) 7871 + * 7872 + *export default function () { 7873 + * console.log(faker.zen.chromeUserAgent()) 7874 + *} 7875 + * 7876 + *``` 7877 + * **Output** (formatted as JSON value) 7878 + *```json 7879 + * "Mozilla/5.0 (X11; Linux i686) AppleWebKit/5340 (KHTML, like Gecko) Chrome/40.0.816.0 Mobile Safari/5340" 7880 + * ``` 7881 + */ 7882 + chromeUserAgent(): string; 7883 + 7884 + /** 7885 + * Part of a country with significant population, often a central hub for culture and commerce. 7886 + * @returns a random city 7887 + * @example 7888 + * ```ts 7889 + *import { Faker } from "k6/x/faker" 7890 + * 7891 + *let faker = new Faker(11) 7892 + * 7893 + *export default function () { 7894 + * console.log(faker.zen.city()) 7895 + *} 7896 + * 7897 + *``` 7898 + * **Output** (formatted as JSON value) 7899 + *```json 7900 + * "Hialeah" 7901 + * ``` 7902 + */ 7903 + city(): string; 7904 + 7905 + /** 7906 + * Hue seen by the eye, returns the name of the color like red or blue. 7907 + * @returns a random color 7908 + * @example 7909 + * ```ts 7910 + *import { Faker } from "k6/x/faker" 7911 + * 7912 + *let faker = new Faker(11) 7913 + * 7914 + *export default function () { 7915 + * console.log(faker.zen.color()) 7916 + *} 7917 + * 7918 + *``` 7919 + * **Output** (formatted as JSON value) 7920 + *```json 7921 + * "MediumVioletRed" 7922 + * ``` 7923 + */ 7924 + color(): string; 7925 + 7926 + /** 7927 + * Statement or remark expressing an opinion, observation, or reaction. 7928 + * @returns a random comment 7929 + * @example 7930 + * ```ts 7931 + *import { Faker } from "k6/x/faker" 7932 + * 7933 + *let faker = new Faker(11) 7934 + * 7935 + *export default function () { 7936 + * console.log(faker.zen.comment()) 7937 + *} 7938 + * 7939 + *``` 7940 + * **Output** (formatted as JSON value) 7941 + *```json 7942 + * "wow" 7943 + * ``` 7944 + */ 7945 + comment(): string; 7946 + 7947 + /** 7948 + * Designated official name of a business or organization. 7949 + * @returns a random company 7950 + * @example 7951 + * ```ts 7952 + *import { Faker } from "k6/x/faker" 7953 + * 7954 + *let faker = new Faker(11) 7955 + * 7956 + *export default function () { 7957 + * console.log(faker.zen.company()) 7958 + *} 7959 + * 7960 + *``` 7961 + * **Output** (formatted as JSON value) 7962 + *```json 7963 + * "Xatori" 7964 + * ``` 7965 + */ 7966 + company(): string; 7967 + 7968 + /** 7969 + * Suffix at the end of a company name, indicating business structure, like 'Inc.' or 'LLC'. 7970 + * @returns a random company suffix 7971 + * @example 7972 + * ```ts 7973 + *import { Faker } from "k6/x/faker" 7974 + * 7975 + *let faker = new Faker(11) 7976 + * 7977 + *export default function () { 7978 + * console.log(faker.zen.companySuffix()) 7979 + *} 7980 + * 7981 + *``` 7982 + * **Output** (formatted as JSON value) 7983 + *```json 7984 + * "LLC" 7985 + * ``` 7986 + */ 7987 + companySuffix(): string; 7988 + 7989 + /** 7990 + * Word used to connect words or sentences. 7991 + * @returns a random connective 7992 + * @example 7993 + * ```ts 7994 + *import { Faker } from "k6/x/faker" 7995 + * 7996 + *let faker = new Faker(11) 7997 + * 7998 + *export default function () { 7999 + * console.log(faker.zen.connective()) 8000 + *} 8001 + * 8002 + *``` 8003 + * **Output** (formatted as JSON value) 8004 + *```json 8005 + * "for another" 8006 + * ``` 8007 + */ 8008 + connective(): string; 8009 + 8010 + /** 8011 + * Connective word used to indicate a cause-and-effect relationship between events or actions. 8012 + * @returns a random connective casual 8013 + * @example 8014 + * ```ts 8015 + *import { Faker } from "k6/x/faker" 8016 + * 8017 + *let faker = new Faker(11) 8018 + * 8019 + *export default function () { 8020 + * console.log(faker.zen.connectiveCasual()) 8021 + *} 8022 + * 8023 + *``` 8024 + * **Output** (formatted as JSON value) 8025 + *```json 8026 + * "accordingly" 8027 + * ``` 8028 + */ 8029 + connectiveCasual(): string; 8030 + 8031 + /** 8032 + * Connective word used to indicate a comparison between two or more things. 8033 + * @returns a random connective comparitive 8034 + * @example 8035 + * ```ts 8036 + *import { Faker } from "k6/x/faker" 8037 + * 8038 + *let faker = new Faker(11) 8039 + * 8040 + *export default function () { 8041 + * console.log(faker.zen.connectiveComparitive()) 8042 + *} 8043 + * 8044 + *``` 8045 + * **Output** (formatted as JSON value) 8046 + *```json 8047 + * "yet" 8048 + * ``` 8049 + */ 8050 + connectiveComparitive(): string; 8051 + 8052 + /** 8053 + * Connective word used to express dissatisfaction or complaints about a situation. 8054 + * @returns a random connective complaint 8055 + * @example 8056 + * ```ts 8057 + *import { Faker } from "k6/x/faker" 8058 + * 8059 + *let faker = new Faker(11) 8060 + * 8061 + *export default function () { 8062 + * console.log(faker.zen.connectiveComplaint()) 8063 + *} 8064 + * 8065 + *``` 8066 + * **Output** (formatted as JSON value) 8067 + *```json 8068 + * "for example" 8069 + * ``` 8070 + */ 8071 + connectiveComplaint(): string; 8072 + 8073 + /** 8074 + * Connective word used to provide examples or illustrations of a concept or idea. 8075 + * @returns a random connective examplify 8076 + * @example 8077 + * ```ts 8078 + *import { Faker } from "k6/x/faker" 8079 + * 8080 + *let faker = new Faker(11) 8081 + * 8082 + *export default function () { 8083 + * console.log(faker.zen.connectiveExamplify()) 8084 + *} 8085 + * 8086 + *``` 8087 + * **Output** (formatted as JSON value) 8088 + *```json 8089 + * "accordingly" 8090 + * ``` 8091 + */ 8092 + connectiveExamplify(): string; 8093 + 8094 + /** 8095 + * Connective word used to list or enumerate items or examples. 8096 + * @returns a random connective listing 8097 + * @example 8098 + * ```ts 8099 + *import { Faker } from "k6/x/faker" 8100 + * 8101 + *let faker = new Faker(11) 8102 + * 8103 + *export default function () { 8104 + * console.log(faker.zen.connectiveListing()) 8105 + *} 8106 + * 8107 + *``` 8108 + * **Output** (formatted as JSON value) 8109 + *```json 8110 + * "for another" 8111 + * ``` 8112 + */ 8113 + connectiveListing(): string; 8114 + 8115 + /** 8116 + * Connective word used to indicate a temporal relationship between events or actions. 8117 + * @returns a random connective time 8118 + * @example 8119 + * ```ts 8120 + *import { Faker } from "k6/x/faker" 8121 + * 8122 + *let faker = new Faker(11) 8123 + * 8124 + *export default function () { 8125 + * console.log(faker.zen.connectiveTime()) 8126 + *} 8127 + * 8128 + *``` 8129 + * **Output** (formatted as JSON value) 8130 + *```json 8131 + * "until then" 8132 + * ``` 8133 + */ 8134 + connectiveTime(): string; 8135 + 8136 + /** 8137 + * Nation with its own government and defined territory. 8138 + * @returns a random country 8139 + * @example 8140 + * ```ts 8141 + *import { Faker } from "k6/x/faker" 8142 + * 8143 + *let faker = new Faker(11) 8144 + * 8145 + *export default function () { 8146 + * console.log(faker.zen.country()) 8147 + *} 8148 + * 8149 + *``` 8150 + * **Output** (formatted as JSON value) 8151 + *```json 8152 + * "Togo" 8153 + * ``` 8154 + */ 8155 + country(): string; 8156 + 8157 + /** 8158 + * Shortened 2-letter form of a country's name. 8159 + * @returns a random country abbreviation 8160 + * @example 8161 + * ```ts 8162 + *import { Faker } from "k6/x/faker" 8163 + * 8164 + *let faker = new Faker(11) 8165 + * 8166 + *export default function () { 8167 + * console.log(faker.zen.countryAbbreviation()) 8168 + *} 8169 + * 8170 + *``` 8171 + * **Output** (formatted as JSON value) 8172 + *```json 8173 + * "TG" 8174 + * ``` 8175 + */ 8176 + countryAbbreviation(): string; 8177 + 8178 + /** 8179 + * Plastic card allowing users to make purchases on credit, with payment due at a later date. 8180 + * @returns a random credit card 8181 + * @example 8182 + * ```ts 8183 + *import { Faker } from "k6/x/faker" 8184 + * 8185 + *let faker = new Faker(11) 8186 + * 8187 + *export default function () { 8188 + * console.log(faker.zen.creditCard()) 8189 + *} 8190 + * 8191 + *``` 8192 + * **Output** (formatted as JSON value) 8193 + *```json 8194 + * {"Type":"Mastercard","Number":"2713883851665706","Exp":"04/32","Cvv":"489"} 8195 + * ``` 8196 + */ 8197 + creditCard(): Record<string, unknown>; 8198 + 8199 + /** 8200 + * Three or four-digit security code on a credit card used for online and remote transactions. 8201 + * @returns a random credit card cvv 8202 + * @example 8203 + * ```ts 8204 + *import { Faker } from "k6/x/faker" 8205 + * 8206 + *let faker = new Faker(11) 8207 + * 8208 + *export default function () { 8209 + * console.log(faker.zen.creditCardCVV()) 8210 + *} 8211 + * 8212 + *``` 8213 + * **Output** (formatted as JSON value) 8214 + *```json 8215 + * "405" 8216 + * ``` 8217 + */ 8218 + creditCardCVV(): string; 8219 + 8220 + /** 8221 + * Date when a credit card becomes invalid and cannot be used for transactions. 8222 + * @returns a random credit card exp 8223 + * @example 8224 + * ```ts 8225 + *import { Faker } from "k6/x/faker" 8226 + * 8227 + *let faker = new Faker(11) 8228 + * 8229 + *export default function () { 8230 + * console.log(faker.zen.creditCardExp()) 8231 + *} 8232 + * 8233 + *``` 8234 + * **Output** (formatted as JSON value) 8235 + *```json 8236 + * "10/27" 8237 + * ``` 8238 + */ 8239 + creditCardExp(): string; 8240 + 8241 + /** 8242 + * Month of the date when a credit card becomes invalid and cannot be used for transactions. 8243 + * @returns a random credit card exp month 8244 + * @example 8245 + * ```ts 8246 + *import { Faker } from "k6/x/faker" 8247 + * 8248 + *let faker = new Faker(11) 8249 + * 8250 + *export default function () { 8251 + * console.log(faker.zen.creditCardExpMonth()) 8252 + *} 8253 + * 8254 + *``` 8255 + * **Output** (formatted as JSON value) 8256 + *```json 8257 + * "07" 8258 + * ``` 8259 + */ 8260 + creditCardExpMonth(): string; 8261 + 8262 + /** 8263 + * Year of the date when a credit card becomes invalid and cannot be used for transactions. 8264 + * @returns a random credit card exp year 8265 + * @example 8266 + * ```ts 8267 + *import { Faker } from "k6/x/faker" 8268 + * 8269 + *let faker = new Faker(11) 8270 + * 8271 + *export default function () { 8272 + * console.log(faker.zen.creditCardExpYear()) 8273 + *} 8274 + * 8275 + *``` 8276 + * **Output** (formatted as JSON value) 8277 + *```json 8278 + * "25" 8279 + * ``` 8280 + */ 8281 + creditCardExpYear(): string; 8282 + 8283 + /** 8284 + * Unique numerical identifier on a credit card used for making electronic payments and transactions. 8285 + * @param types - Types 8286 + * @param bins - Bins 8287 + * @param gaps - Gaps 8288 + * @returns a random credit card number 8289 + * @example 8290 + * ```ts 8291 + *import { Faker } from "k6/x/faker" 8292 + * 8293 + *let faker = new Faker(11) 8294 + * 8295 + *export default function () { 8296 + * console.log(faker.zen.creditCardNumber(["none","how","these","keep","trip","congolese","choir","computer","still","far"],["unless","army","party","riches","theirs","instead","here","mine","whichever","that"],false)) 8297 + *} 8298 + * 8299 + *``` 8300 + * **Output** (formatted as JSON value) 8301 + *```json 8302 + * "0" 8303 + * ``` 8304 + */ 8305 + creditCardNumber(types: string[], bins: string[], gaps: boolean): string; 8306 + 8307 + /** 8308 + * Unique numerical identifier on a credit card used for making electronic payments and transactions. 8309 + * @returns a random credit card number formatted 8310 + * @example 8311 + * ```ts 8312 + *import { Faker } from "k6/x/faker" 8313 + * 8314 + *let faker = new Faker(11) 8315 + * 8316 + *export default function () { 8317 + * console.log(faker.zen.creditCardNumberFormatted()) 8318 + *} 8319 + * 8320 + *``` 8321 + * **Output** (formatted as JSON value) 8322 + *```json 8323 + * "4111-1111-1111-1111" 8324 + * ``` 8325 + */ 8326 + creditCardNumberFormatted(): string; 8327 + 8328 + /** 8329 + * Classification of credit cards based on the issuing company. 8330 + * @returns a random credit card type 8331 + * @example 8332 + * ```ts 8333 + *import { Faker } from "k6/x/faker" 8334 + * 8335 + *let faker = new Faker(11) 8336 + * 8337 + *export default function () { 8338 + * console.log(faker.zen.creditCardType()) 8339 + *} 8340 + * 8341 + *``` 8342 + * **Output** (formatted as JSON value) 8343 + *```json 8344 + * "Mastercard" 8345 + * ``` 8346 + */ 8347 + creditCardType(): string; 8348 + 8349 + /** 8350 + * Medium of exchange, often in the form of paper money or coins, used for trade and transactions. 8351 + * @returns a random currency 8352 + * @example 8353 + * ```ts 8354 + *import { Faker } from "k6/x/faker" 8355 + * 8356 + *let faker = new Faker(11) 8357 + * 8358 + *export default function () { 8359 + * console.log(faker.zen.currency()) 8360 + *} 8361 + * 8362 + *``` 8363 + * **Output** (formatted as JSON value) 8364 + *```json 8365 + * {"Short":"VEF","Long":"Venezuela Bolivar"} 8366 + * ``` 8367 + */ 8368 + currency(): Record<string, string>; 8369 + 8370 + /** 8371 + * Complete name of a specific currency used for official identification in financial transactions. 8372 + * @returns a random currency long 8373 + * @example 8374 + * ```ts 8375 + *import { Faker } from "k6/x/faker" 8376 + * 8377 + *let faker = new Faker(11) 8378 + * 8379 + *export default function () { 8380 + * console.log(faker.zen.currencyLong()) 8381 + *} 8382 + * 8383 + *``` 8384 + * **Output** (formatted as JSON value) 8385 + *```json 8386 + * "Venezuela Bolivar" 8387 + * ``` 8388 + */ 8389 + currencyLong(): string; 8390 + 8391 + /** 8392 + * Short 3-letter word used to represent a specific currency. 8393 + * @returns a random currency short 8394 + * @example 8395 + * ```ts 8396 + *import { Faker } from "k6/x/faker" 8397 + * 8398 + *let faker = new Faker(11) 8399 + * 8400 + *export default function () { 8401 + * console.log(faker.zen.currencyShort()) 8402 + *} 8403 + * 8404 + *``` 8405 + * **Output** (formatted as JSON value) 8406 + *```json 8407 + * "VEF" 8408 + * ``` 8409 + */ 8410 + currencyShort(): string; 8411 + 8412 + /** 8413 + * Unique identifier for securities, especially bonds, in the United States and Canada. 8414 + * @returns a random cusip 8415 + * @example 8416 + * ```ts 8417 + *import { Faker } from "k6/x/faker" 8418 + * 8419 + *let faker = new Faker(11) 8420 + * 8421 + *export default function () { 8422 + * console.log(faker.zen.cusip()) 8423 + *} 8424 + * 8425 + *``` 8426 + * **Output** (formatted as JSON value) 8427 + *```json 8428 + * "S4BL2MVY6" 8429 + * ``` 8430 + */ 8431 + cusip(): string; 8432 + 8433 + /** 8434 + * A problem or issue encountered while accessing or managing a database. 8435 + * @returns a random database error 8436 + * @example 8437 + * ```ts 8438 + *import { Faker } from "k6/x/faker" 8439 + * 8440 + *let faker = new Faker(11) 8441 + * 8442 + *export default function () { 8443 + * console.log(faker.zen.databaseError()) 8444 + *} 8445 + * 8446 + *``` 8447 + * **Output** (formatted as JSON value) 8448 + *```json 8449 + * {} 8450 + * ``` 8451 + */ 8452 + databaseError(): string; 8453 + 8454 + /** 8455 + * Representation of a specific day, month, and year, often used for chronological reference. 8456 + * @param format - Format 8457 + * @returns a random date 8458 + * @example 8459 + * ```ts 8460 + *import { Faker } from "k6/x/faker" 8461 + * 8462 + *let faker = new Faker(11) 8463 + * 8464 + *export default function () { 8465 + * console.log(faker.zen.date("RFC3339")) 8466 + *} 8467 + * 8468 + *``` 8469 + * **Output** (formatted as JSON value) 8470 + *```json 8471 + * "1959-04-03T13:46:53Z" 8472 + * ``` 8473 + */ 8474 + date(format: string): string; 8475 + 8476 + /** 8477 + * Random date between two ranges. 8478 + * @param startdate - Start Date 8479 + * @param enddate - End Date 8480 + * @param format - Format 8481 + * @returns a random daterange 8482 + * @example 8483 + * ```ts 8484 + *import { Faker } from "k6/x/faker" 8485 + * 8486 + *let faker = new Faker(11) 8487 + * 8488 + *export default function () { 8489 + * console.log(faker.zen.dateRange("1970-01-01","2024-03-13","yyyy-MM-dd")) 8490 + *} 8491 + * 8492 + *``` 8493 + * **Output** (formatted as JSON value) 8494 + *```json 8495 + * "1979-05-06" 8496 + * ``` 8497 + */ 8498 + dateRange(startdate: string, enddate: string, format: string): string; 8499 + 8500 + /** 8501 + * 24-hour period equivalent to one rotation of Earth on its axis. 8502 + * @returns a random day 8503 + * @example 8504 + * ```ts 8505 + *import { Faker } from "k6/x/faker" 8506 + * 8507 + *let faker = new Faker(11) 8508 + * 8509 + *export default function () { 8510 + * console.log(faker.zen.day()) 8511 + *} 8512 + * 8513 + *``` 8514 + * **Output** (formatted as JSON value) 8515 + *```json 8516 + * 22 8517 + * ``` 8518 + */ 8519 + day(): number; 8520 + 8521 + /** 8522 + * Adjective used to point out specific things. 8523 + * @returns a random demonstrative adjective 8524 + * @example 8525 + * ```ts 8526 + *import { Faker } from "k6/x/faker" 8527 + * 8528 + *let faker = new Faker(11) 8529 + * 8530 + *export default function () { 8531 + * console.log(faker.zen.demonstrativeAdjective()) 8532 + *} 8533 + * 8534 + *``` 8535 + * **Output** (formatted as JSON value) 8536 + *```json 8537 + * "these" 8538 + * ``` 8539 + */ 8540 + demonstrativeAdjective(): string; 8541 + 8542 + /** 8543 + * Adjective that provides detailed characteristics about a noun. 8544 + * @returns a random descriptive adjective 8545 + * @example 8546 + * ```ts 8547 + *import { Faker } from "k6/x/faker" 8548 + * 8549 + *let faker = new Faker(11) 8550 + * 8551 + *export default function () { 8552 + * console.log(faker.zen.descriptiveAdjective()) 8553 + *} 8554 + * 8555 + *``` 8556 + * **Output** (formatted as JSON value) 8557 + *```json 8558 + * "elated" 8559 + * ``` 8560 + */ 8561 + descriptiveAdjective(): string; 8562 + 8563 + /** 8564 + * Sweet treat often enjoyed after a meal. 8565 + * @returns a random dessert 8566 + * @example 8567 + * ```ts 8568 + *import { Faker } from "k6/x/faker" 8569 + * 8570 + *let faker = new Faker(11) 8571 + * 8572 + *export default function () { 8573 + * console.log(faker.zen.dessert()) 8574 + *} 8575 + * 8576 + *``` 8577 + * **Output** (formatted as JSON value) 8578 + *```json 8579 + * "Lindas bloodshot eyeballs" 8580 + * ``` 8581 + */ 8582 + dessert(): string; 8583 + 8584 + /** 8585 + * Small, cube-shaped objects used in games of chance for random outcomes. 8586 + * @param numdice - Number of Dice 8587 + * @param sides - Number of Sides 8588 + * @returns a random dice 8589 + * @example 8590 + * ```ts 8591 + *import { Faker } from "k6/x/faker" 8592 + * 8593 + *let faker = new Faker(11) 8594 + * 8595 + *export default function () { 8596 + * console.log(faker.zen.dice(1,[5,4,13])) 8597 + *} 8598 + * 8599 + *``` 8600 + * **Output** (formatted as JSON value) 8601 + *```json 8602 + * [5] 8603 + * ``` 8604 + */ 8605 + dice(numdice: number, sides: number[]): number[]; 8606 + 8607 + /** 8608 + * Numerical symbol used to represent numbers. 8609 + * @returns a random digit 8610 + * @example 8611 + * ```ts 8612 + *import { Faker } from "k6/x/faker" 8613 + * 8614 + *let faker = new Faker(11) 8615 + * 8616 + *export default function () { 8617 + * console.log(faker.zen.digit()) 8618 + *} 8619 + * 8620 + *``` 8621 + * **Output** (formatted as JSON value) 8622 + *```json 8623 + * "0" 8624 + * ``` 8625 + */ 8626 + digit(): string; 8627 + 8628 + /** 8629 + * string of length N consisting of ASCII digits. 8630 + * @param count - Count 8631 + * @returns a random digitn 8632 + * @example 8633 + * ```ts 8634 + *import { Faker } from "k6/x/faker" 8635 + * 8636 + *let faker = new Faker(11) 8637 + * 8638 + *export default function () { 8639 + * console.log(faker.zen.digitN(3)) 8640 + *} 8641 + * 8642 + *``` 8643 + * **Output** (formatted as JSON value) 8644 + *```json 8645 + * "005" 8646 + * ``` 8647 + */ 8648 + digitN(count: number): string; 8649 + 8650 + /** 8651 + * Evening meal, typically the day's main and most substantial meal. 8652 + * @returns a random dinner 8653 + * @example 8654 + * ```ts 8655 + *import { Faker } from "k6/x/faker" 8656 + * 8657 + *let faker = new Faker(11) 8658 + * 8659 + *export default function () { 8660 + * console.log(faker.zen.dinner()) 8661 + *} 8662 + * 8663 + *``` 8664 + * **Output** (formatted as JSON value) 8665 + *```json 8666 + * "Asian broccoli salad" 8667 + * ``` 8668 + */ 8669 + dinner(): string; 8670 + 8671 + /** 8672 + * Various breeds that define different dogs. 8673 + * @returns a random dog 8674 + * @example 8675 + * ```ts 8676 + *import { Faker } from "k6/x/faker" 8677 + * 8678 + *let faker = new Faker(11) 8679 + * 8680 + *export default function () { 8681 + * console.log(faker.zen.dog()) 8682 + *} 8683 + * 8684 + *``` 8685 + * **Output** (formatted as JSON value) 8686 + *```json 8687 + * "Staffordshire Bullterrier" 8688 + * ``` 8689 + */ 8690 + dog(): string; 8691 + 8692 + /** 8693 + * Human-readable web address used to identify websites on the internet. 8694 + * @returns a random domain name 8695 + * @example 8696 + * ```ts 8697 + *import { Faker } from "k6/x/faker" 8698 + * 8699 + *let faker = new Faker(11) 8700 + * 8701 + *export default function () { 8702 + * console.log(faker.zen.domainName()) 8703 + *} 8704 + * 8705 + *``` 8706 + * **Output** (formatted as JSON value) 8707 + *```json 8708 + * "internalenhance.org" 8709 + * ``` 8710 + */ 8711 + domainName(): string; 8712 + 8713 + /** 8714 + * The part of a domain name that comes after the last dot, indicating its type or purpose. 8715 + * @returns a random domain suffix 8716 + * @example 8717 + * ```ts 8718 + *import { Faker } from "k6/x/faker" 8719 + * 8720 + *let faker = new Faker(11) 8721 + * 8722 + *export default function () { 8723 + * console.log(faker.zen.domainSuffix()) 8724 + *} 8725 + * 8726 + *``` 8727 + * **Output** (formatted as JSON value) 8728 + *```json 8729 + * "info" 8730 + * ``` 8731 + */ 8732 + domainSuffix(): string; 8733 + 8734 + /** 8735 + * Liquid consumed for hydration, pleasure, or nutritional benefits. 8736 + * @returns a random drink 8737 + * @example 8738 + * ```ts 8739 + *import { Faker } from "k6/x/faker" 8740 + * 8741 + *let faker = new Faker(11) 8742 + * 8743 + *export default function () { 8744 + * console.log(faker.zen.drink()) 8745 + *} 8746 + * 8747 + *``` 8748 + * **Output** (formatted as JSON value) 8749 + *```json 8750 + * "Water" 8751 + * ``` 8752 + */ 8753 + drink(): string; 8754 + 8755 + /** 8756 + * Electronic mail used for sending digital messages and communication over the internet. 8757 + * @returns a random email 8758 + * @example 8759 + * ```ts 8760 + *import { Faker } from "k6/x/faker" 8761 + * 8762 + *let faker = new Faker(11) 8763 + * 8764 + *export default function () { 8765 + * console.log(faker.zen.email()) 8766 + *} 8767 + * 8768 + *``` 8769 + * **Output** (formatted as JSON value) 8770 + *```json 8771 + * "josiahthiel@luettgen.biz" 8772 + * ``` 8773 + */ 8774 + email(): string; 8775 + 8776 + /** 8777 + * Digital symbol expressing feelings or ideas in text messages and online chats. 8778 + * @returns a random emoji 8779 + * @example 8780 + * ```ts 8781 + *import { Faker } from "k6/x/faker" 8782 + * 8783 + *let faker = new Faker(11) 8784 + * 8785 + *export default function () { 8786 + * console.log(faker.zen.emoji()) 8787 + *} 8788 + * 8789 + *``` 8790 + * **Output** (formatted as JSON value) 8791 + *```json 8792 + * "🐮" 8793 + * ``` 8794 + */ 8795 + emoji(): string; 8796 + 8797 + /** 8798 + * Alternative name or keyword used to represent a specific emoji in text or code. 8799 + * @returns a random emoji alias 8800 + * @example 8801 + * ```ts 8802 + *import { Faker } from "k6/x/faker" 8803 + * 8804 + *let faker = new Faker(11) 8805 + * 8806 + *export default function () { 8807 + * console.log(faker.zen.emojiAlias()) 8808 + *} 8809 + * 8810 + *``` 8811 + * **Output** (formatted as JSON value) 8812 + *```json 8813 + * "slovakia" 8814 + * ``` 8815 + */ 8816 + emojiAlias(): string; 8817 + 8818 + /** 8819 + * Group or classification of emojis based on their common theme or use, like 'smileys' or 'animals'. 8820 + * @returns a random emoji category 8821 + * @example 8822 + * ```ts 8823 + *import { Faker } from "k6/x/faker" 8824 + * 8825 + *let faker = new Faker(11) 8826 + * 8827 + *export default function () { 8828 + * console.log(faker.zen.emojiCategory()) 8829 + *} 8830 + * 8831 + *``` 8832 + * **Output** (formatted as JSON value) 8833 + *```json 8834 + * "Smileys & Emotion" 8835 + * ``` 8836 + */ 8837 + emojiCategory(): string; 8838 + 8839 + /** 8840 + * Brief explanation of the meaning or emotion conveyed by an emoji. 8841 + * @returns a random emoji description 8842 + * @example 8843 + * ```ts 8844 + *import { Faker } from "k6/x/faker" 8845 + * 8846 + *let faker = new Faker(11) 8847 + * 8848 + *export default function () { 8849 + * console.log(faker.zen.emojiDescription()) 8850 + *} 8851 + * 8852 + *``` 8853 + * **Output** (formatted as JSON value) 8854 + *```json 8855 + * "disguised face" 8856 + * ``` 8857 + */ 8858 + emojiDescription(): string; 8859 + 8860 + /** 8861 + * Label or keyword associated with an emoji to categorize or search for it easily. 8862 + * @returns a random emoji tag 8863 + * @example 8864 + * ```ts 8865 + *import { Faker } from "k6/x/faker" 8866 + * 8867 + *let faker = new Faker(11) 8868 + * 8869 + *export default function () { 8870 + * console.log(faker.zen.emojiTag()) 8871 + *} 8872 + * 8873 + *``` 8874 + * **Output** (formatted as JSON value) 8875 + *```json 8876 + * "lick" 8877 + * ``` 8878 + */ 8879 + emojiTag(): string; 8880 + 8881 + /** 8882 + * Message displayed by a computer or software when a problem or mistake is encountered. 8883 + * @returns a random error 8884 + * @example 8885 + * ```ts 8886 + *import { Faker } from "k6/x/faker" 8887 + * 8888 + *let faker = new Faker(11) 8889 + * 8890 + *export default function () { 8891 + * console.log(faker.zen.error()) 8892 + *} 8893 + * 8894 + *``` 8895 + * **Output** (formatted as JSON value) 8896 + *```json 8897 + * {} 8898 + * ``` 8899 + */ 8900 + error(): string; 8901 + 8902 + /** 8903 + * Various categories conveying details about encountered errors. 8904 + * @returns a random error object word 8905 + * @example 8906 + * ```ts 8907 + *import { Faker } from "k6/x/faker" 8908 + * 8909 + *let faker = new Faker(11) 8910 + * 8911 + *export default function () { 8912 + * console.log(faker.zen.errorObjectWord()) 8913 + *} 8914 + * 8915 + *``` 8916 + * **Output** (formatted as JSON value) 8917 + *```json 8918 + * {} 8919 + * ``` 8920 + */ 8921 + errorObjectWord(): string; 8922 + 8923 + /** 8924 + * Animal name commonly found on a farm. 8925 + * @returns a random farm animal 8926 + * @example 8927 + * ```ts 8928 + *import { Faker } from "k6/x/faker" 8929 + * 8930 + *let faker = new Faker(11) 8931 + * 8932 + *export default function () { 8933 + * console.log(faker.zen.farmAnimal()) 8934 + *} 8935 + * 8936 + *``` 8937 + * **Output** (formatted as JSON value) 8938 + *```json 8939 + * "Cow" 8940 + * ``` 8941 + */ 8942 + farmAnimal(): string; 8943 + 8944 + /** 8945 + * Suffix appended to a filename indicating its format or type. 8946 + * @returns a random file extension 8947 + * @example 8948 + * ```ts 8949 + *import { Faker } from "k6/x/faker" 8950 + * 8951 + *let faker = new Faker(11) 8952 + * 8953 + *export default function () { 8954 + * console.log(faker.zen.fileExtension()) 8955 + *} 8956 + * 8957 + *``` 8958 + * **Output** (formatted as JSON value) 8959 + *```json 8960 + * "max" 8961 + * ``` 8962 + */ 8963 + fileExtension(): string; 8964 + 8965 + /** 8966 + * Defines file format and nature for browsers and email clients using standardized identifiers. 8967 + * @returns a random file mime type 8968 + * @example 8969 + * ```ts 8970 + *import { Faker } from "k6/x/faker" 8971 + * 8972 + *let faker = new Faker(11) 8973 + * 8974 + *export default function () { 8975 + * console.log(faker.zen.fileMimeType()) 8976 + *} 8977 + * 8978 + *``` 8979 + * **Output** (formatted as JSON value) 8980 + *```json 8981 + * "text/html" 8982 + * ``` 8983 + */ 8984 + fileMimeType(): string; 8985 + 8986 + /** 8987 + * The specific identification string sent by the Firefox web browser when making requests on the internet. 8988 + * @returns a random firefox user agent 8989 + * @example 8990 + * ```ts 8991 + *import { Faker } from "k6/x/faker" 8992 + * 8993 + *let faker = new Faker(11) 8994 + * 8995 + *export default function () { 8996 + * console.log(faker.zen.firefoxUserAgent()) 8997 + *} 8998 + * 8999 + *``` 9000 + * **Output** (formatted as JSON value) 9001 + *```json 9002 + * "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_1 rv:5.0) Gecko/1979-07-30 Firefox/37.0" 9003 + * ``` 9004 + */ 9005 + firefoxUserAgent(): string; 9006 + 9007 + /** 9008 + * The name given to a person at birth. 9009 + * @returns a random first name 9010 + * @example 9011 + * ```ts 9012 + *import { Faker } from "k6/x/faker" 9013 + * 9014 + *let faker = new Faker(11) 9015 + * 9016 + *export default function () { 9017 + * console.log(faker.zen.firstName()) 9018 + *} 9019 + * 9020 + *``` 9021 + * **Output** (formatted as JSON value) 9022 + *```json 9023 + * "Josiah" 9024 + * ``` 9025 + */ 9026 + firstName(): string; 9027 + 9028 + /** 9029 + * Data type representing floating-point numbers with 32 bits of precision in computing. 9030 + * @returns a random float32 9031 + * @example 9032 + * ```ts 9033 + *import { Faker } from "k6/x/faker" 9034 + * 9035 + *let faker = new Faker(11) 9036 + * 9037 + *export default function () { 9038 + * console.log(faker.zen.float32()) 9039 + *} 9040 + * 9041 + *``` 9042 + * **Output** (formatted as JSON value) 9043 + *```json 9044 + * 1.9168120387159532e+38 9045 + * ``` 9046 + */ 9047 + float32(): number; 9048 + 9049 + /** 9050 + * Float32 value between given range. 9051 + * @param min - Min 9052 + * @param max - Max 9053 + * @returns a random float32 range 9054 + * @example 9055 + * ```ts 9056 + *import { Faker } from "k6/x/faker" 9057 + * 9058 + *let faker = new Faker(11) 9059 + * 9060 + *export default function () { 9061 + * console.log(faker.zen.float32Range(3,5)) 9062 + *} 9063 + * 9064 + *``` 9065 + * **Output** (formatted as JSON value) 9066 + *```json 9067 + * 4.126601219177246 9068 + * ``` 9069 + */ 9070 + float32Range(min: number, max: number): number; 9071 + 9072 + /** 9073 + * Data type representing floating-point numbers with 64 bits of precision in computing. 9074 + * @returns a random float64 9075 + * @example 9076 + * ```ts 9077 + *import { Faker } from "k6/x/faker" 9078 + * 9079 + *let faker = new Faker(11) 9080 + * 9081 + *export default function () { 9082 + * console.log(faker.zen.float64()) 9083 + *} 9084 + * 9085 + *``` 9086 + * **Output** (formatted as JSON value) 9087 + *```json 9088 + * 1.012641406418422e+308 9089 + * ``` 9090 + */ 9091 + float64(): number; 9092 + 9093 + /** 9094 + * Float64 value between given range. 9095 + * @param min - Min 9096 + * @param max - Max 9097 + * @returns a random float64 range 9098 + * @example 9099 + * ```ts 9100 + *import { Faker } from "k6/x/faker" 9101 + * 9102 + *let faker = new Faker(11) 9103 + * 9104 + *export default function () { 9105 + * console.log(faker.zen.float64Range(3,5)) 9106 + *} 9107 + * 9108 + *``` 9109 + * **Output** (formatted as JSON value) 9110 + *```json 9111 + * 4.126600960731799 9112 + * ``` 9113 + */ 9114 + float64Range(min: number, max: number): number; 9115 + 9116 + /** 9117 + * Edible plant part, typically sweet, enjoyed as a natural snack or dessert. 9118 + * @returns a random fruit 9119 + * @example 9120 + * ```ts 9121 + *import { Faker } from "k6/x/faker" 9122 + * 9123 + *let faker = new Faker(11) 9124 + * 9125 + *export default function () { 9126 + * console.log(faker.zen.fruit()) 9127 + *} 9128 + * 9129 + *``` 9130 + * **Output** (formatted as JSON value) 9131 + *```json 9132 + * "Avocado" 9133 + * ``` 9134 + */ 9135 + fruit(): string; 9136 + 9137 + /** 9138 + * Date that has occurred after the current moment in time. 9139 + * @returns a random futuretime 9140 + * @example 9141 + * ```ts 9142 + *import { Faker } from "k6/x/faker" 9143 + * 9144 + *let faker = new Faker(11) 9145 + * 9146 + *export default function () { 9147 + * console.log(faker.zen.futureTime()) 9148 + *} 9149 + * 9150 + *``` 9151 + * **Output** (formatted as JSON value) 9152 + *```json 9153 + * "2024-12-18T19:55:55.767585665+01:00" 9154 + * ``` 9155 + */ 9156 + futureTime(): string; 9157 + 9158 + /** 9159 + * Communication failure in the high-performance, open-source universal RPC framework. 9160 + * @returns a random grpc error 9161 + * @example 9162 + * ```ts 9163 + *import { Faker } from "k6/x/faker" 9164 + * 9165 + *let faker = new Faker(11) 9166 + * 9167 + *export default function () { 9168 + * console.log(faker.zen.gRPCError()) 9169 + *} 9170 + * 9171 + *``` 9172 + * **Output** (formatted as JSON value) 9173 + *```json 9174 + * {} 9175 + * ``` 9176 + */ 9177 + gRPCError(): string; 9178 + 9179 + /** 9180 + * User-selected online username or alias used for identification in games. 9181 + * @returns a random gamertag 9182 + * @example 9183 + * ```ts 9184 + *import { Faker } from "k6/x/faker" 9185 + * 9186 + *let faker = new Faker(11) 9187 + * 9188 + *export default function () { 9189 + * console.log(faker.zen.gamertag()) 9190 + *} 9191 + * 9192 + *``` 9193 + * **Output** (formatted as JSON value) 9194 + *```json 9195 + * "BraveArmadillo" 9196 + * ``` 9197 + */ 9198 + gamertag(): string; 9199 + 9200 + /** 9201 + * Classification based on social and cultural norms that identifies an individual. 9202 + * @returns a random gender 9203 + * @example 9204 + * ```ts 9205 + *import { Faker } from "k6/x/faker" 9206 + * 9207 + *let faker = new Faker(11) 9208 + * 9209 + *export default function () { 9210 + * console.log(faker.zen.gender()) 9211 + *} 9212 + * 9213 + *``` 9214 + * **Output** (formatted as JSON value) 9215 + *```json 9216 + * "male" 9217 + * ``` 9218 + */ 9219 + gender(): string; 9220 + 9221 + /** 9222 + * Abbreviations and acronyms commonly used in the hacking and cybersecurity community. 9223 + * @returns a random hacker abbreviation 9224 + * @example 9225 + * ```ts 9226 + *import { Faker } from "k6/x/faker" 9227 + * 9228 + *let faker = new Faker(11) 9229 + * 9230 + *export default function () { 9231 + * console.log(faker.zen.hackerAbbreviation()) 9232 + *} 9233 + * 9234 + *``` 9235 + * **Output** (formatted as JSON value) 9236 + *```json 9237 + * "GB" 9238 + * ``` 9239 + */ 9240 + hackerAbbreviation(): string; 9241 + 9242 + /** 9243 + * Adjectives describing terms often associated with hackers and cybersecurity experts. 9244 + * @returns a random hacker adjective 9245 + * @example 9246 + * ```ts 9247 + *import { Faker } from "k6/x/faker" 9248 + * 9249 + *let faker = new Faker(11) 9250 + * 9251 + *export default function () { 9252 + * console.log(faker.zen.hackerAdjective()) 9253 + *} 9254 + * 9255 + *``` 9256 + * **Output** (formatted as JSON value) 9257 + *```json 9258 + * "auxiliary" 9259 + * ``` 9260 + */ 9261 + hackerAdjective(): string; 9262 + 9263 + /** 9264 + * Noun representing an element, tool, or concept within the realm of hacking and cybersecurity. 9265 + * @returns a random hacker noun 9266 + * @example 9267 + * ```ts 9268 + *import { Faker } from "k6/x/faker" 9269 + * 9270 + *let faker = new Faker(11) 9271 + * 9272 + *export default function () { 9273 + * console.log(faker.zen.hackerNoun()) 9274 + *} 9275 + * 9276 + *``` 9277 + * **Output** (formatted as JSON value) 9278 + *```json 9279 + * "application" 9280 + * ``` 9281 + */ 9282 + hackerNoun(): string; 9283 + 9284 + /** 9285 + * Informal jargon and slang used in the hacking and cybersecurity community. 9286 + * @returns a random hacker phrase 9287 + * @example 9288 + * ```ts 9289 + *import { Faker } from "k6/x/faker" 9290 + * 9291 + *let faker = new Faker(11) 9292 + * 9293 + *export default function () { 9294 + * console.log(faker.zen.hackerPhrase()) 9295 + *} 9296 + * 9297 + *``` 9298 + * **Output** (formatted as JSON value) 9299 + *```json 9300 + * "Try to transpile the EXE sensor, maybe it will deconstruct the wireless interface!" 9301 + * ``` 9302 + */ 9303 + hackerPhrase(): string; 9304 + 9305 + /** 9306 + * Verbs associated with actions and activities in the field of hacking and cybersecurity. 9307 + * @returns a random hacker verb 9308 + * @example 9309 + * ```ts 9310 + *import { Faker } from "k6/x/faker" 9311 + * 9312 + *let faker = new Faker(11) 9313 + * 9314 + *export default function () { 9315 + * console.log(faker.zen.hackerVerb()) 9316 + *} 9317 + * 9318 + *``` 9319 + * **Output** (formatted as JSON value) 9320 + *```json 9321 + * "read" 9322 + * ``` 9323 + */ 9324 + hackerVerb(): string; 9325 + 9326 + /** 9327 + * Verb describing actions and activities related to hacking, often involving computer systems and security. 9328 + * @returns a random hackering verb 9329 + * @example 9330 + * ```ts 9331 + *import { Faker } from "k6/x/faker" 9332 + * 9333 + *let faker = new Faker(11) 9334 + * 9335 + *export default function () { 9336 + * console.log(faker.zen.hackeringVerb()) 9337 + *} 9338 + * 9339 + *``` 9340 + * **Output** (formatted as JSON value) 9341 + *```json 9342 + * "quantifying" 9343 + * ``` 9344 + */ 9345 + hackeringVerb(): string; 9346 + 9347 + /** 9348 + * Auxiliary verb that helps the main verb complete the sentence. 9349 + * @returns a random helping verb 9350 + * @example 9351 + * ```ts 9352 + *import { Faker } from "k6/x/faker" 9353 + * 9354 + *let faker = new Faker(11) 9355 + * 9356 + *export default function () { 9357 + * console.log(faker.zen.helpingVerb()) 9358 + *} 9359 + * 9360 + *``` 9361 + * **Output** (formatted as JSON value) 9362 + *```json 9363 + * "are" 9364 + * ``` 9365 + */ 9366 + helpingVerb(): string; 9367 + 9368 + /** 9369 + * Six-digit code representing a color in the color model. 9370 + * @returns a random hex color 9371 + * @example 9372 + * ```ts 9373 + *import { Faker } from "k6/x/faker" 9374 + * 9375 + *let faker = new Faker(11) 9376 + * 9377 + *export default function () { 9378 + * console.log(faker.zen.hexColor()) 9379 + *} 9380 + * 9381 + *``` 9382 + * **Output** (formatted as JSON value) 9383 + *```json 9384 + * "#bd38ac" 9385 + * ``` 9386 + */ 9387 + hexColor(): string; 9388 + 9389 + /** 9390 + * Hexadecimal representation of an 128-bit unsigned integer. 9391 + * @returns a random hexuint128 9392 + * @example 9393 + * ```ts 9394 + *import { Faker } from "k6/x/faker" 9395 + * 9396 + *let faker = new Faker(11) 9397 + * 9398 + *export default function () { 9399 + * console.log(faker.zen.hexUint128()) 9400 + *} 9401 + * 9402 + *``` 9403 + * **Output** (formatted as JSON value) 9404 + *```json 9405 + * "0xaa1b0c903d687691402ee58a2330f9c5" 9406 + * ``` 9407 + */ 9408 + hexUint128(): string; 9409 + 9410 + /** 9411 + * Hexadecimal representation of an 16-bit unsigned integer. 9412 + * @returns a random hexuint16 9413 + * @example 9414 + * ```ts 9415 + *import { Faker } from "k6/x/faker" 9416 + * 9417 + *let faker = new Faker(11) 9418 + * 9419 + *export default function () { 9420 + * console.log(faker.zen.hexUint16()) 9421 + *} 9422 + * 9423 + *``` 9424 + * **Output** (formatted as JSON value) 9425 + *```json 9426 + * "0xaa1b" 9427 + * ``` 9428 + */ 9429 + hexUint16(): string; 9430 + 9431 + /** 9432 + * Hexadecimal representation of an 256-bit unsigned integer. 9433 + * @returns a random hexuint256 9434 + * @example 9435 + * ```ts 9436 + *import { Faker } from "k6/x/faker" 9437 + * 9438 + *let faker = new Faker(11) 9439 + * 9440 + *export default function () { 9441 + * console.log(faker.zen.hexUint256()) 9442 + *} 9443 + * 9444 + *``` 9445 + * **Output** (formatted as JSON value) 9446 + *```json 9447 + * "0xaa1b0c903d687691402ee58a2330f9c54b727953d2379f94d23ea4cdad195b6a" 9448 + * ``` 9449 + */ 9450 + hexUint256(): string; 9451 + 9452 + /** 9453 + * Hexadecimal representation of an 32-bit unsigned integer. 9454 + * @returns a random hexuint32 9455 + * @example 9456 + * ```ts 9457 + *import { Faker } from "k6/x/faker" 9458 + * 9459 + *let faker = new Faker(11) 9460 + * 9461 + *export default function () { 9462 + * console.log(faker.zen.hexUint32()) 9463 + *} 9464 + * 9465 + *``` 9466 + * **Output** (formatted as JSON value) 9467 + *```json 9468 + * "0xaa1b0c90" 9469 + * ``` 9470 + */ 9471 + hexUint32(): string; 9472 + 9473 + /** 9474 + * Hexadecimal representation of an 64-bit unsigned integer. 9475 + * @returns a random hexuint64 9476 + * @example 9477 + * ```ts 9478 + *import { Faker } from "k6/x/faker" 9479 + * 9480 + *let faker = new Faker(11) 9481 + * 9482 + *export default function () { 9483 + * console.log(faker.zen.hexUint64()) 9484 + *} 9485 + * 9486 + *``` 9487 + * **Output** (formatted as JSON value) 9488 + *```json 9489 + * "0xaa1b0c903d687691" 9490 + * ``` 9491 + */ 9492 + hexUint64(): string; 9493 + 9494 + /** 9495 + * Hexadecimal representation of an 8-bit unsigned integer. 9496 + * @returns a random hexuint8 9497 + * @example 9498 + * ```ts 9499 + *import { Faker } from "k6/x/faker" 9500 + * 9501 + *let faker = new Faker(11) 9502 + * 9503 + *export default function () { 9504 + * console.log(faker.zen.hexUint8()) 9505 + *} 9506 + * 9507 + *``` 9508 + * **Output** (formatted as JSON value) 9509 + *```json 9510 + * "0xaa" 9511 + * ``` 9512 + */ 9513 + hexUint8(): string; 9514 + 9515 + /** 9516 + * Paragraph showcasing the use of trendy and unconventional vocabulary associated with hipster culture. 9517 + * @param paragraphcount - Paragraph Count 9518 + * @param sentencecount - Sentence Count 9519 + * @param wordcount - Word Count 9520 + * @param paragraphseparator - Paragraph Separator 9521 + * @returns a random hipster paragraph 9522 + * @example 9523 + * ```ts 9524 + *import { Faker } from "k6/x/faker" 9525 + * 9526 + *let faker = new Faker(11) 9527 + * 9528 + *export default function () { 9529 + * console.log(faker.zen.hipsterParagraph(2,2,5,"\u003cbr /\u003e")) 9530 + *} 9531 + * 9532 + *``` 9533 + * **Output** (formatted as JSON value) 9534 + *```json 9535 + * "Offal forage pinterest direct trade pug. Skateboard food truck flannel cold-pressed church-key.<br />Keffiyeh wolf pop-up jean shorts before they sold out. Hoodie roof portland intelligentsia gastropub." 9536 + * ``` 9537 + */ 9538 + hipsterParagraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 9539 + 9540 + /** 9541 + * Sentence showcasing the use of trendy and unconventional vocabulary associated with hipster culture. 9542 + * @param wordcount - Word Count 9543 + * @returns a random hipster sentence 9544 + * @example 9545 + * ```ts 9546 + *import { Faker } from "k6/x/faker" 9547 + * 9548 + *let faker = new Faker(11) 9549 + * 9550 + *export default function () { 9551 + * console.log(faker.zen.hipsterSentence(5)) 9552 + *} 9553 + * 9554 + *``` 9555 + * **Output** (formatted as JSON value) 9556 + *```json 9557 + * "Offal forage pinterest direct trade pug." 9558 + * ``` 9559 + */ 9560 + hipsterSentence(wordcount: number): string; 9561 + 9562 + /** 9563 + * Trendy and unconventional vocabulary used by hipsters to express unique cultural preferences. 9564 + * @returns a random hipster word 9565 + * @example 9566 + * ```ts 9567 + *import { Faker } from "k6/x/faker" 9568 + * 9569 + *let faker = new Faker(11) 9570 + * 9571 + *export default function () { 9572 + * console.log(faker.zen.hipsterWord()) 9573 + *} 9574 + * 9575 + *``` 9576 + * **Output** (formatted as JSON value) 9577 + *```json 9578 + * "offal" 9579 + * ``` 9580 + */ 9581 + hipsterWord(): string; 9582 + 9583 + /** 9584 + * An activity pursued for leisure and pleasure. 9585 + * @returns a random hobby 9586 + * @example 9587 + * ```ts 9588 + *import { Faker } from "k6/x/faker" 9589 + * 9590 + *let faker = new Faker(11) 9591 + * 9592 + *export default function () { 9593 + * console.log(faker.zen.hobby()) 9594 + *} 9595 + * 9596 + *``` 9597 + * **Output** (formatted as JSON value) 9598 + *```json 9599 + * "Candy making" 9600 + * ``` 9601 + */ 9602 + hobby(): string; 9603 + 9604 + /** 9605 + * Unit of time equal to 60 minutes. 9606 + * @returns a random hour 9607 + * @example 9608 + * ```ts 9609 + *import { Faker } from "k6/x/faker" 9610 + * 9611 + *let faker = new Faker(11) 9612 + * 9613 + *export default function () { 9614 + * console.log(faker.zen.hour()) 9615 + *} 9616 + * 9617 + *``` 9618 + * **Output** (formatted as JSON value) 9619 + *```json 9620 + * 21 9621 + * ``` 9622 + */ 9623 + hour(): number; 9624 + 9625 + /** 9626 + * Failure or issue occurring within a client software that sends requests to web servers. 9627 + * @returns a random http client error 9628 + * @example 9629 + * ```ts 9630 + *import { Faker } from "k6/x/faker" 9631 + * 9632 + *let faker = new Faker(11) 9633 + * 9634 + *export default function () { 9635 + * console.log(faker.zen.httpClientError()) 9636 + *} 9637 + * 9638 + *``` 9639 + * **Output** (formatted as JSON value) 9640 + *```json 9641 + * {} 9642 + * ``` 9643 + */ 9644 + httpClientError(): string; 9645 + 9646 + /** 9647 + * A problem with a web http request. 9648 + * @returns a random http error 9649 + * @example 9650 + * ```ts 9651 + *import { Faker } from "k6/x/faker" 9652 + * 9653 + *let faker = new Faker(11) 9654 + * 9655 + *export default function () { 9656 + * console.log(faker.zen.httpError()) 9657 + *} 9658 + * 9659 + *``` 9660 + * **Output** (formatted as JSON value) 9661 + *```json 9662 + * {} 9663 + * ``` 9664 + */ 9665 + httpError(): string; 9666 + 9667 + /** 9668 + * Verb used in HTTP requests to specify the desired action to be performed on a resource. 9669 + * @returns a random http method 9670 + * @example 9671 + * ```ts 9672 + *import { Faker } from "k6/x/faker" 9673 + * 9674 + *let faker = new Faker(11) 9675 + * 9676 + *export default function () { 9677 + * console.log(faker.zen.httpMethod()) 9678 + *} 9679 + * 9680 + *``` 9681 + * **Output** (formatted as JSON value) 9682 + *```json 9683 + * "HEAD" 9684 + * ``` 9685 + */ 9686 + httpMethod(): string; 9687 + 9688 + /** 9689 + * Failure or issue occurring within a server software that recieves requests from clients. 9690 + * @returns a random http server error 9691 + * @example 9692 + * ```ts 9693 + *import { Faker } from "k6/x/faker" 9694 + * 9695 + *let faker = new Faker(11) 9696 + * 9697 + *export default function () { 9698 + * console.log(faker.zen.httpServerError()) 9699 + *} 9700 + * 9701 + *``` 9702 + * **Output** (formatted as JSON value) 9703 + *```json 9704 + * {} 9705 + * ``` 9706 + */ 9707 + httpServerError(): string; 9708 + 9709 + /** 9710 + * Random http status code. 9711 + * @returns a random http status code 9712 + * @example 9713 + * ```ts 9714 + *import { Faker } from "k6/x/faker" 9715 + * 9716 + *let faker = new Faker(11) 9717 + * 9718 + *export default function () { 9719 + * console.log(faker.zen.httpStatusCode()) 9720 + *} 9721 + * 9722 + *``` 9723 + * **Output** (formatted as JSON value) 9724 + *```json 9725 + * 400 9726 + * ``` 9727 + */ 9728 + httpStatusCode(): number; 9729 + 9730 + /** 9731 + * Three-digit number returned by a web server to indicate the outcome of an HTTP request. 9732 + * @returns a random http status code simple 9733 + * @example 9734 + * ```ts 9735 + *import { Faker } from "k6/x/faker" 9736 + * 9737 + *let faker = new Faker(11) 9738 + * 9739 + *export default function () { 9740 + * console.log(faker.zen.httpStatusCodeSimple()) 9741 + *} 9742 + * 9743 + *``` 9744 + * **Output** (formatted as JSON value) 9745 + *```json 9746 + * 200 9747 + * ``` 9748 + */ 9749 + httpStatusCodeSimple(): number; 9750 + 9751 + /** 9752 + * Number indicating the version of the HTTP protocol used for communication between a client and a server. 9753 + * @returns a random http version 9754 + * @example 9755 + * ```ts 9756 + *import { Faker } from "k6/x/faker" 9757 + * 9758 + *let faker = new Faker(11) 9759 + * 9760 + *export default function () { 9761 + * console.log(faker.zen.httpVersion()) 9762 + *} 9763 + * 9764 + *``` 9765 + * **Output** (formatted as JSON value) 9766 + *```json 9767 + * "HTTP/1.0" 9768 + * ``` 9769 + */ 9770 + httpVersion(): string; 9771 + 9772 + /** 9773 + * Web address pointing to an image file that can be accessed and displayed online. 9774 + * @param width - Width 9775 + * @param height - Height 9776 + * @returns a random image url 9777 + * @example 9778 + * ```ts 9779 + *import { Faker } from "k6/x/faker" 9780 + * 9781 + *let faker = new Faker(11) 9782 + * 9783 + *export default function () { 9784 + * console.log(faker.zen.imageUrl(500,500)) 9785 + *} 9786 + * 9787 + *``` 9788 + * **Output** (formatted as JSON value) 9789 + *```json 9790 + * "https://picsum.photos/500/500" 9791 + * ``` 9792 + */ 9793 + imageUrl(width: number, height: number): string; 9794 + 9795 + /** 9796 + * Adjective describing a non-specific noun. 9797 + * @returns a random indefinite adjective 9798 + * @example 9799 + * ```ts 9800 + *import { Faker } from "k6/x/faker" 9801 + * 9802 + *let faker = new Faker(11) 9803 + * 9804 + *export default function () { 9805 + * console.log(faker.zen.indefiniteAdjective()) 9806 + *} 9807 + * 9808 + *``` 9809 + * **Output** (formatted as JSON value) 9810 + *```json 9811 + * "somebody" 9812 + * ``` 9813 + */ 9814 + indefiniteAdjective(): string; 9815 + 9816 + /** 9817 + * Attribute used to define the name of an input element in web forms. 9818 + * @returns a random input name 9819 + * @example 9820 + * ```ts 9821 + *import { Faker } from "k6/x/faker" 9822 + * 9823 + *let faker = new Faker(11) 9824 + * 9825 + *export default function () { 9826 + * console.log(faker.zen.inputName()) 9827 + *} 9828 + * 9829 + *``` 9830 + * **Output** (formatted as JSON value) 9831 + *```json 9832 + * "last_name" 9833 + * ``` 9834 + */ 9835 + inputName(): string; 9836 + 9837 + /** 9838 + * Signed 16-bit integer, capable of representing values from 32,768 to 32,767. 9839 + * @returns a random int16 9840 + * @example 9841 + * ```ts 9842 + *import { Faker } from "k6/x/faker" 9843 + * 9844 + *let faker = new Faker(11) 9845 + * 9846 + *export default function () { 9847 + * console.log(faker.zen.int16()) 9848 + *} 9849 + * 9850 + *``` 9851 + * **Output** (formatted as JSON value) 9852 + *```json 9853 + * -4595 9854 + * ``` 9855 + */ 9856 + int16(): number; 9857 + 9858 + /** 9859 + * Signed 32-bit integer, capable of representing values from -2,147,483,648 to 2,147,483,647. 9860 + * @returns a random int32 9861 + * @example 9862 + * ```ts 9863 + *import { Faker } from "k6/x/faker" 9864 + * 9865 + *let faker = new Faker(11) 9866 + * 9867 + *export default function () { 9868 + * console.log(faker.zen.int32()) 9869 + *} 9870 + * 9871 + *``` 9872 + * **Output** (formatted as JSON value) 9873 + *```json 9874 + * -15831539 9875 + * ``` 9876 + */ 9877 + int32(): number; 9878 + 9879 + /** 9880 + * Signed 64-bit integer, capable of representing values from -9,223,372,036,854,775,808 to -9,223,372,036,854,775,807. 9881 + * @returns a random int64 9882 + * @example 9883 + * ```ts 9884 + *import { Faker } from "k6/x/faker" 9885 + * 9886 + *let faker = new Faker(11) 9887 + * 9888 + *export default function () { 9889 + * console.log(faker.zen.int64()) 9890 + *} 9891 + * 9892 + *``` 9893 + * **Output** (formatted as JSON value) 9894 + *```json 9895 + * 5195529898953699000 9896 + * ``` 9897 + */ 9898 + int64(): number; 9899 + 9900 + /** 9901 + * Signed 8-bit integer, capable of representing values from -128 to 127. 9902 + * @returns a random int8 9903 + * @example 9904 + * ```ts 9905 + *import { Faker } from "k6/x/faker" 9906 + * 9907 + *let faker = new Faker(11) 9908 + * 9909 + *export default function () { 9910 + * console.log(faker.zen.int8()) 9911 + *} 9912 + * 9913 + *``` 9914 + * **Output** (formatted as JSON value) 9915 + *```json 9916 + * -115 9917 + * ``` 9918 + */ 9919 + int8(): number; 9920 + 9921 + /** 9922 + * Integer value between given range. 9923 + * @param min - Min 9924 + * @param max - Max 9925 + * @returns a random intrange 9926 + * @example 9927 + * ```ts 9928 + *import { Faker } from "k6/x/faker" 9929 + * 9930 + *let faker = new Faker(11) 9931 + * 9932 + *export default function () { 9933 + * console.log(faker.zen.intRange(3,5)) 9934 + *} 9935 + * 9936 + *``` 9937 + * **Output** (formatted as JSON value) 9938 + *```json 9939 + * 3 9940 + * ``` 9941 + */ 9942 + intRange(min: number, max: number): number; 9943 + 9944 + /** 9945 + * Word expressing emotion. 9946 + * @returns a random interjection 9947 + * @example 9948 + * ```ts 9949 + *import { Faker } from "k6/x/faker" 9950 + * 9951 + *let faker = new Faker(11) 9952 + * 9953 + *export default function () { 9954 + * console.log(faker.zen.interjection()) 9955 + *} 9956 + * 9957 + *``` 9958 + * **Output** (formatted as JSON value) 9959 + *```json 9960 + * "wow" 9961 + * ``` 9962 + */ 9963 + interjection(): string; 9964 + 9965 + /** 9966 + * Adjective used to ask questions. 9967 + * @returns a random interrogative adjective 9968 + * @example 9969 + * ```ts 9970 + *import { Faker } from "k6/x/faker" 9971 + * 9972 + *let faker = new Faker(11) 9973 + * 9974 + *export default function () { 9975 + * console.log(faker.zen.interrogativeAdjective()) 9976 + *} 9977 + * 9978 + *``` 9979 + * **Output** (formatted as JSON value) 9980 + *```json 9981 + * "what" 9982 + * ``` 9983 + */ 9984 + interrogativeAdjective(): string; 9985 + 9986 + /** 9987 + * Verb that does not require a direct object to complete its meaning. 9988 + * @returns a random intransitive verb 9989 + * @example 9990 + * ```ts 9991 + *import { Faker } from "k6/x/faker" 9992 + * 9993 + *let faker = new Faker(11) 9994 + * 9995 + *export default function () { 9996 + * console.log(faker.zen.intransitiveVerb()) 9997 + *} 9998 + * 9999 + *``` 10000 + * **Output** (formatted as JSON value) 10001 + *```json 10002 + * "skip" 10003 + * ``` 10004 + */ 10005 + intransitiveVerb(): string; 10006 + 10007 + /** 10008 + * Numerical label assigned to devices on a network for identification and communication. 10009 + * @returns a random ipv4 address 10010 + * @example 10011 + * ```ts 10012 + *import { Faker } from "k6/x/faker" 10013 + * 10014 + *let faker = new Faker(11) 10015 + * 10016 + *export default function () { 10017 + * console.log(faker.zen.ipv4Address()) 10018 + *} 10019 + * 10020 + *``` 10021 + * **Output** (formatted as JSON value) 10022 + *```json 10023 + * "234.106.177.171" 10024 + * ``` 10025 + */ 10026 + ipv4Address(): string; 10027 + 10028 + /** 10029 + * Numerical label assigned to devices on a network, providing a larger address space than IPv4 for internet communication. 10030 + * @returns a random ipv6 address 10031 + * @example 10032 + * ```ts 10033 + *import { Faker } from "k6/x/faker" 10034 + * 10035 + *let faker = new Faker(11) 10036 + * 10037 + *export default function () { 10038 + * console.log(faker.zen.ipv6Address()) 10039 + *} 10040 + * 10041 + *``` 10042 + * **Output** (formatted as JSON value) 10043 + *```json 10044 + * "3aea:ef6a:38b1:7cab:7f0:946c:a3a9:cb90" 10045 + * ``` 10046 + */ 10047 + ipv6Address(): string; 10048 + 10049 + /** 10050 + * International standard code for uniquely identifying securities worldwide. 10051 + * @returns a random isin 10052 + * @example 10053 + * ```ts 10054 + *import { Faker } from "k6/x/faker" 10055 + * 10056 + *let faker = new Faker(11) 10057 + * 10058 + *export default function () { 10059 + * console.log(faker.zen.isin()) 10060 + *} 10061 + * 10062 + *``` 10063 + * **Output** (formatted as JSON value) 10064 + *```json 10065 + * "FOS4BL2MVY60" 10066 + * ``` 10067 + */ 10068 + isin(): string; 10069 + 10070 + /** 10071 + * Position or role in employment, involving specific tasks and responsibilities. 10072 + * @returns a random job 10073 + * @example 10074 + * ```ts 10075 + *import { Faker } from "k6/x/faker" 10076 + * 10077 + *let faker = new Faker(11) 10078 + * 10079 + *export default function () { 10080 + * console.log(faker.zen.job()) 10081 + *} 10082 + * 10083 + *``` 10084 + * **Output** (formatted as JSON value) 10085 + *```json 10086 + * {"Company":"Xatori","Title":"Representative","Descriptor":"Future","Level":"Tactics"} 10087 + * ``` 10088 + */ 10089 + job(): Record<string, string>; 10090 + 10091 + /** 10092 + * Word used to describe the duties, requirements, and nature of a job. 10093 + * @returns a random job descriptor 10094 + * @example 10095 + * ```ts 10096 + *import { Faker } from "k6/x/faker" 10097 + * 10098 + *let faker = new Faker(11) 10099 + * 10100 + *export default function () { 10101 + * console.log(faker.zen.jobDescriptor()) 10102 + *} 10103 + * 10104 + *``` 10105 + * **Output** (formatted as JSON value) 10106 + *```json 10107 + * "Internal" 10108 + * ``` 10109 + */ 10110 + jobDescriptor(): string; 10111 + 10112 + /** 10113 + * Random job level. 10114 + * @returns a random job level 10115 + * @example 10116 + * ```ts 10117 + *import { Faker } from "k6/x/faker" 10118 + * 10119 + *let faker = new Faker(11) 10120 + * 10121 + *export default function () { 10122 + * console.log(faker.zen.jobLevel()) 10123 + *} 10124 + * 10125 + *``` 10126 + * **Output** (formatted as JSON value) 10127 + *```json 10128 + * "Identity" 10129 + * ``` 10130 + */ 10131 + jobLevel(): string; 10132 + 10133 + /** 10134 + * Specific title for a position or role within a company or organization. 10135 + * @returns a random job title 10136 + * @example 10137 + * ```ts 10138 + *import { Faker } from "k6/x/faker" 10139 + * 10140 + *let faker = new Faker(11) 10141 + * 10142 + *export default function () { 10143 + * console.log(faker.zen.jobTitle()) 10144 + *} 10145 + * 10146 + *``` 10147 + * **Output** (formatted as JSON value) 10148 + *```json 10149 + * "Representative" 10150 + * ``` 10151 + */ 10152 + jobTitle(): string; 10153 + 10154 + /** 10155 + * System of communication using symbols, words, and grammar to convey meaning between individuals. 10156 + * @returns a random language 10157 + * @example 10158 + * ```ts 10159 + *import { Faker } from "k6/x/faker" 10160 + * 10161 + *let faker = new Faker(11) 10162 + * 10163 + *export default function () { 10164 + * console.log(faker.zen.language()) 10165 + *} 10166 + * 10167 + *``` 10168 + * **Output** (formatted as JSON value) 10169 + *```json 10170 + * "Esperanto" 10171 + * ``` 10172 + */ 10173 + language(): string; 10174 + 10175 + /** 10176 + * Shortened form of a language's name. 10177 + * @returns a random language abbreviation 10178 + * @example 10179 + * ```ts 10180 + *import { Faker } from "k6/x/faker" 10181 + * 10182 + *let faker = new Faker(11) 10183 + * 10184 + *export default function () { 10185 + * console.log(faker.zen.languageAbbreviation()) 10186 + *} 10187 + * 10188 + *``` 10189 + * **Output** (formatted as JSON value) 10190 + *```json 10191 + * "eo" 10192 + * ``` 10193 + */ 10194 + languageAbbreviation(): string; 10195 + 10196 + /** 10197 + * Set of guidelines and standards for identifying and representing languages in computing and internet protocols. 10198 + * @returns a random language bcp 10199 + * @example 10200 + * ```ts 10201 + *import { Faker } from "k6/x/faker" 10202 + * 10203 + *let faker = new Faker(11) 10204 + * 10205 + *export default function () { 10206 + * console.log(faker.zen.languageBcp()) 10207 + *} 10208 + * 10209 + *``` 10210 + * **Output** (formatted as JSON value) 10211 + *```json 10212 + * "he-IL" 10213 + * ``` 10214 + */ 10215 + languageBcp(): string; 10216 + 10217 + /** 10218 + * The family name or surname of an individual. 10219 + * @returns a random last name 10220 + * @example 10221 + * ```ts 10222 + *import { Faker } from "k6/x/faker" 10223 + * 10224 + *let faker = new Faker(11) 10225 + * 10226 + *export default function () { 10227 + * console.log(faker.zen.lastName()) 10228 + *} 10229 + * 10230 + *``` 10231 + * **Output** (formatted as JSON value) 10232 + *```json 10233 + * "Abshire" 10234 + * ``` 10235 + */ 10236 + lastName(): string; 10237 + 10238 + /** 10239 + * Geographic coordinate specifying north-south position on Earth's surface. 10240 + * @returns a random latitude 10241 + * @example 10242 + * ```ts 10243 + *import { Faker } from "k6/x/faker" 10244 + * 10245 + *let faker = new Faker(11) 10246 + * 10247 + *export default function () { 10248 + * console.log(faker.zen.latitude()) 10249 + *} 10250 + * 10251 + *``` 10252 + * **Output** (formatted as JSON value) 10253 + *```json 10254 + * 11.394086 10255 + * ``` 10256 + */ 10257 + latitude(): number; 10258 + 10259 + /** 10260 + * Latitude number between the given range (default min=0, max=90). 10261 + * @param min - Min 10262 + * @param max - Max 10263 + * @returns a random latitude range 10264 + * @example 10265 + * ```ts 10266 + *import { Faker } from "k6/x/faker" 10267 + * 10268 + *let faker = new Faker(11) 10269 + * 10270 + *export default function () { 10271 + * console.log(faker.zen.latitudeRange(0,90)) 10272 + *} 10273 + * 10274 + *``` 10275 + * **Output** (formatted as JSON value) 10276 + *```json 10277 + * 50.697043 10278 + * ``` 10279 + */ 10280 + latitudeRange(min: number, max: number): number; 10281 + 10282 + /** 10283 + * Character or symbol from the American Standard Code for Information Interchange (ASCII) character set. 10284 + * @returns a random letter 10285 + * @example 10286 + * ```ts 10287 + *import { Faker } from "k6/x/faker" 10288 + * 10289 + *let faker = new Faker(11) 10290 + * 10291 + *export default function () { 10292 + * console.log(faker.zen.letter()) 10293 + *} 10294 + * 10295 + *``` 10296 + * **Output** (formatted as JSON value) 10297 + *```json 10298 + * "W" 10299 + * ``` 10300 + */ 10301 + letter(): string; 10302 + 10303 + /** 10304 + * ASCII string with length N. 10305 + * @param count - Count 10306 + * @returns a random lettern 10307 + * @example 10308 + * ```ts 10309 + *import { Faker } from "k6/x/faker" 10310 + * 10311 + *let faker = new Faker(11) 10312 + * 10313 + *export default function () { 10314 + * console.log(faker.zen.letterN(3)) 10315 + *} 10316 + * 10317 + *``` 10318 + * **Output** (formatted as JSON value) 10319 + *```json 10320 + * "WCp" 10321 + * ``` 10322 + */ 10323 + letterN(count: number): string; 10324 + 10325 + /** 10326 + * Replace ? with random generated letters. 10327 + * @param str - String 10328 + * @returns a random lexify 10329 + * @example 10330 + * ```ts 10331 + *import { Faker } from "k6/x/faker" 10332 + * 10333 + *let faker = new Faker(11) 10334 + * 10335 + *export default function () { 10336 + * console.log(faker.zen.lexify("none")) 10337 + *} 10338 + * 10339 + *``` 10340 + * **Output** (formatted as JSON value) 10341 + *```json 10342 + * "none" 10343 + * ``` 10344 + */ 10345 + lexify(str: string): string; 10346 + 10347 + /** 10348 + * Verb that Connects the subject of a sentence to a subject complement. 10349 + * @returns a random linking verb 10350 + * @example 10351 + * ```ts 10352 + *import { Faker } from "k6/x/faker" 10353 + * 10354 + *let faker = new Faker(11) 10355 + * 10356 + *export default function () { 10357 + * console.log(faker.zen.linkingVerb()) 10358 + *} 10359 + * 10360 + *``` 10361 + * **Output** (formatted as JSON value) 10362 + *```json 10363 + * "had" 10364 + * ``` 10365 + */ 10366 + linkingVerb(): string; 10367 + 10368 + /** 10369 + * Classification used in logging to indicate the severity or priority of a log entry. 10370 + * @returns a random log level 10371 + * @example 10372 + * ```ts 10373 + *import { Faker } from "k6/x/faker" 10374 + * 10375 + *let faker = new Faker(11) 10376 + * 10377 + *export default function () { 10378 + * console.log(faker.zen.logLevel()) 10379 + *} 10380 + * 10381 + *``` 10382 + * **Output** (formatted as JSON value) 10383 + *```json 10384 + * "error" 10385 + * ``` 10386 + */ 10387 + logLevel(): string; 10388 + 10389 + /** 10390 + * Geographic coordinate indicating east-west position on Earth's surface. 10391 + * @returns a random longitude 10392 + * @example 10393 + * ```ts 10394 + *import { Faker } from "k6/x/faker" 10395 + * 10396 + *let faker = new Faker(11) 10397 + * 10398 + *export default function () { 10399 + * console.log(faker.zen.longitude()) 10400 + *} 10401 + * 10402 + *``` 10403 + * **Output** (formatted as JSON value) 10404 + *```json 10405 + * 22.788172 10406 + * ``` 10407 + */ 10408 + longitude(): number; 10409 + 10410 + /** 10411 + * Longitude number between the given range (default min=0, max=180). 10412 + * @param min - Min 10413 + * @param max - Max 10414 + * @returns a random longitude range 10415 + * @example 10416 + * ```ts 10417 + *import { Faker } from "k6/x/faker" 10418 + * 10419 + *let faker = new Faker(11) 10420 + * 10421 + *export default function () { 10422 + * console.log(faker.zen.longitudeRange(0,180)) 10423 + *} 10424 + * 10425 + *``` 10426 + * **Output** (formatted as JSON value) 10427 + *```json 10428 + * 101.394086 10429 + * ``` 10430 + */ 10431 + longitudeRange(min: number, max: number): number; 10432 + 10433 + /** 10434 + * Paragraph of the Lorem Ipsum placeholder text used in design and publishing. 10435 + * @param paragraphcount - Paragraph Count 10436 + * @param sentencecount - Sentence Count 10437 + * @param wordcount - Word Count 10438 + * @param paragraphseparator - Paragraph Separator 10439 + * @returns a random lorem ipsum paragraph 10440 + * @example 10441 + * ```ts 10442 + *import { Faker } from "k6/x/faker" 10443 + * 10444 + *let faker = new Faker(11) 10445 + * 10446 + *export default function () { 10447 + * console.log(faker.zen.loremIpsumParagraph(2,2,5,"\u003cbr /\u003e")) 10448 + *} 10449 + * 10450 + *``` 10451 + * **Output** (formatted as JSON value) 10452 + *```json 10453 + * "Accusamus et voluptatum voluptatem nisi. Nostrum atque molestias reprehenderit alias.<br />Reiciendis ut eos ut ad. Ea magni recusandae id fuga." 10454 + * ``` 10455 + */ 10456 + loremIpsumParagraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 10457 + 10458 + /** 10459 + * Sentence of the Lorem Ipsum placeholder text used in design and publishing. 10460 + * @param wordcount - Word Count 10461 + * @returns a random lorem ipsum sentence 10462 + * @example 10463 + * ```ts 10464 + *import { Faker } from "k6/x/faker" 10465 + * 10466 + *let faker = new Faker(11) 10467 + * 10468 + *export default function () { 10469 + * console.log(faker.zen.loremIpsumSentence(5)) 10470 + *} 10471 + * 10472 + *``` 10473 + * **Output** (formatted as JSON value) 10474 + *```json 10475 + * "Accusamus et voluptatum voluptatem nisi." 10476 + * ``` 10477 + */ 10478 + loremIpsumSentence(wordcount: number): string; 10479 + 10480 + /** 10481 + * Word of the Lorem Ipsum placeholder text used in design and publishing. 10482 + * @returns a random lorem ipsum word 10483 + * @example 10484 + * ```ts 10485 + *import { Faker } from "k6/x/faker" 10486 + * 10487 + *let faker = new Faker(11) 10488 + * 10489 + *export default function () { 10490 + * console.log(faker.zen.loremIpsumWord()) 10491 + *} 10492 + * 10493 + *``` 10494 + * **Output** (formatted as JSON value) 10495 + *```json 10496 + * "accusamus" 10497 + * ``` 10498 + */ 10499 + loremIpsumWord(): string; 10500 + 10501 + /** 10502 + * Midday meal, often lighter than dinner, eaten around noon. 10503 + * @returns a random lunch 10504 + * @example 10505 + * ```ts 10506 + *import { Faker } from "k6/x/faker" 10507 + * 10508 + *let faker = new Faker(11) 10509 + * 10510 + *export default function () { 10511 + * console.log(faker.zen.lunch()) 10512 + *} 10513 + * 10514 + *``` 10515 + * **Output** (formatted as JSON value) 10516 + *```json 10517 + * "Tortellini skewers" 10518 + * ``` 10519 + */ 10520 + lunch(): string; 10521 + 10522 + /** 10523 + * Unique identifier assigned to network interfaces, often used in Ethernet networks. 10524 + * @returns a random mac address 10525 + * @example 10526 + * ```ts 10527 + *import { Faker } from "k6/x/faker" 10528 + * 10529 + *let faker = new Faker(11) 10530 + * 10531 + *export default function () { 10532 + * console.log(faker.zen.macAddress()) 10533 + *} 10534 + * 10535 + *``` 10536 + * **Output** (formatted as JSON value) 10537 + *```json 10538 + * "87:2d:cd:bc:0d:f3" 10539 + * ``` 10540 + */ 10541 + macAddress(): string; 10542 + 10543 + /** 10544 + * Name between a person's first name and last name. 10545 + * @returns a random middle name 10546 + * @example 10547 + * ```ts 10548 + *import { Faker } from "k6/x/faker" 10549 + * 10550 + *let faker = new Faker(11) 10551 + * 10552 + *export default function () { 10553 + * console.log(faker.zen.middleName()) 10554 + *} 10555 + * 10556 + *``` 10557 + * **Output** (formatted as JSON value) 10558 + *```json 10559 + * "Sage" 10560 + * ``` 10561 + */ 10562 + middleName(): string; 10563 + 10564 + /** 10565 + * Non-hostile creatures in Minecraft, often used for resources and farming. 10566 + * @returns a random minecraft animal 10567 + * @example 10568 + * ```ts 10569 + *import { Faker } from "k6/x/faker" 10570 + * 10571 + *let faker = new Faker(11) 10572 + * 10573 + *export default function () { 10574 + * console.log(faker.zen.minecraftAnimal()) 10575 + *} 10576 + * 10577 + *``` 10578 + * **Output** (formatted as JSON value) 10579 + *```json 10580 + * "chicken" 10581 + * ``` 10582 + */ 10583 + minecraftAnimal(): string; 10584 + 10585 + /** 10586 + * Component of an armor set in Minecraft, such as a helmet, chestplate, leggings, or boots. 10587 + * @returns a random minecraft armor part 10588 + * @example 10589 + * ```ts 10590 + *import { Faker } from "k6/x/faker" 10591 + * 10592 + *let faker = new Faker(11) 10593 + * 10594 + *export default function () { 10595 + * console.log(faker.zen.minecraftArmorPart()) 10596 + *} 10597 + * 10598 + *``` 10599 + * **Output** (formatted as JSON value) 10600 + *```json 10601 + * "leggings" 10602 + * ``` 10603 + */ 10604 + minecraftArmorPart(): string; 10605 + 10606 + /** 10607 + * Classification system for armor sets in Minecraft, indicating their effectiveness and protection level. 10608 + * @returns a random minecraft armor tier 10609 + * @example 10610 + * ```ts 10611 + *import { Faker } from "k6/x/faker" 10612 + * 10613 + *let faker = new Faker(11) 10614 + * 10615 + *export default function () { 10616 + * console.log(faker.zen.minecraftArmorTier()) 10617 + *} 10618 + * 10619 + *``` 10620 + * **Output** (formatted as JSON value) 10621 + *```json 10622 + * "leather" 10623 + * ``` 10624 + */ 10625 + minecraftArmorTier(): string; 10626 + 10627 + /** 10628 + * Distinctive environmental regions in the game, characterized by unique terrain, vegetation, and weather. 10629 + * @returns a random minecraft biome 10630 + * @example 10631 + * ```ts 10632 + *import { Faker } from "k6/x/faker" 10633 + * 10634 + *let faker = new Faker(11) 10635 + * 10636 + *export default function () { 10637 + * console.log(faker.zen.minecraftBiome()) 10638 + *} 10639 + * 10640 + *``` 10641 + * **Output** (formatted as JSON value) 10642 + *```json 10643 + * "plain" 10644 + * ``` 10645 + */ 10646 + minecraftBiome(): string; 10647 + 10648 + /** 10649 + * Items used to change the color of various in-game objects. 10650 + * @returns a random minecraft dye 10651 + * @example 10652 + * ```ts 10653 + *import { Faker } from "k6/x/faker" 10654 + * 10655 + *let faker = new Faker(11) 10656 + * 10657 + *export default function () { 10658 + * console.log(faker.zen.minecraftDye()) 10659 + *} 10660 + * 10661 + *``` 10662 + * **Output** (formatted as JSON value) 10663 + *```json 10664 + * "purple" 10665 + * ``` 10666 + */ 10667 + minecraftDye(): string; 10668 + 10669 + /** 10670 + * Consumable items in Minecraft that provide nourishment to the player character. 10671 + * @returns a random minecraft food 10672 + * @example 10673 + * ```ts 10674 + *import { Faker } from "k6/x/faker" 10675 + * 10676 + *let faker = new Faker(11) 10677 + * 10678 + *export default function () { 10679 + * console.log(faker.zen.minecraftFood()) 10680 + *} 10681 + * 10682 + *``` 10683 + * **Output** (formatted as JSON value) 10684 + *```json 10685 + * "pufferfish" 10686 + * ``` 10687 + */ 10688 + minecraftFood(): string; 10689 + 10690 + /** 10691 + * Powerful hostile creature in the game, often found in challenging dungeons or structures. 10692 + * @returns a random minecraft mob boss 10693 + * @example 10694 + * ```ts 10695 + *import { Faker } from "k6/x/faker" 10696 + * 10697 + *let faker = new Faker(11) 10698 + * 10699 + *export default function () { 10700 + * console.log(faker.zen.minecraftMobBoss()) 10701 + *} 10702 + * 10703 + *``` 10704 + * **Output** (formatted as JSON value) 10705 + *```json 10706 + * "ender dragon" 10707 + * ``` 10708 + */ 10709 + minecraftMobBoss(): string; 10710 + 10711 + /** 10712 + * Aggressive creatures in the game that actively attack players when encountered. 10713 + * @returns a random minecraft mob hostile 10714 + * @example 10715 + * ```ts 10716 + *import { Faker } from "k6/x/faker" 10717 + * 10718 + *let faker = new Faker(11) 10719 + * 10720 + *export default function () { 10721 + * console.log(faker.zen.minecraftMobHostile()) 10722 + *} 10723 + * 10724 + *``` 10725 + * **Output** (formatted as JSON value) 10726 + *```json 10727 + * "blaze" 10728 + * ``` 10729 + */ 10730 + minecraftMobHostile(): string; 10731 + 10732 + /** 10733 + * Creature in the game that only becomes hostile if provoked, typically defending itself when attacked. 10734 + * @returns a random minecraft mob neutral 10735 + * @example 10736 + * ```ts 10737 + *import { Faker } from "k6/x/faker" 10738 + * 10739 + *let faker = new Faker(11) 10740 + * 10741 + *export default function () { 10742 + * console.log(faker.zen.minecraftMobNeutral()) 10743 + *} 10744 + * 10745 + *``` 10746 + * **Output** (formatted as JSON value) 10747 + *```json 10748 + * "dolphin" 10749 + * ``` 10750 + */ 10751 + minecraftMobNeutral(): string; 10752 + 10753 + /** 10754 + * Non-aggressive creatures in the game that do not attack players. 10755 + * @returns a random minecraft mob passive 10756 + * @example 10757 + * ```ts 10758 + *import { Faker } from "k6/x/faker" 10759 + * 10760 + *let faker = new Faker(11) 10761 + * 10762 + *export default function () { 10763 + * console.log(faker.zen.minecraftMobPassive()) 10764 + *} 10765 + * 10766 + *``` 10767 + * **Output** (formatted as JSON value) 10768 + *```json 10769 + * "axolotl" 10770 + * ``` 10771 + */ 10772 + minecraftMobPassive(): string; 10773 + 10774 + /** 10775 + * Naturally occurring minerals found in the game Minecraft, used for crafting purposes. 10776 + * @returns a random minecraft ore 10777 + * @example 10778 + * ```ts 10779 + *import { Faker } from "k6/x/faker" 10780 + * 10781 + *let faker = new Faker(11) 10782 + * 10783 + *export default function () { 10784 + * console.log(faker.zen.minecraftOre()) 10785 + *} 10786 + * 10787 + *``` 10788 + * **Output** (formatted as JSON value) 10789 + *```json 10790 + * "iron" 10791 + * ``` 10792 + */ 10793 + minecraftOre(): string; 10794 + 10795 + /** 10796 + * Items in Minecraft designed for specific tasks, including mining, digging, and building. 10797 + * @returns a random minecraft tool 10798 + * @example 10799 + * ```ts 10800 + *import { Faker } from "k6/x/faker" 10801 + * 10802 + *let faker = new Faker(11) 10803 + * 10804 + *export default function () { 10805 + * console.log(faker.zen.minecraftTool()) 10806 + *} 10807 + * 10808 + *``` 10809 + * **Output** (formatted as JSON value) 10810 + *```json 10811 + * "pickaxe" 10812 + * ``` 10813 + */ 10814 + minecraftTool(): string; 10815 + 10816 + /** 10817 + * The profession or occupation assigned to a villager character in the game. 10818 + * @returns a random minecraft villager job 10819 + * @example 10820 + * ```ts 10821 + *import { Faker } from "k6/x/faker" 10822 + * 10823 + *let faker = new Faker(11) 10824 + * 10825 + *export default function () { 10826 + * console.log(faker.zen.minecraftVillagerJob()) 10827 + *} 10828 + * 10829 + *``` 10830 + * **Output** (formatted as JSON value) 10831 + *```json 10832 + * "carpenter" 10833 + * ``` 10834 + */ 10835 + minecraftVillagerJob(): string; 10836 + 10837 + /** 10838 + * Measure of a villager's experience and proficiency in their assigned job or profession. 10839 + * @returns a random minecraft villager level 10840 + * @example 10841 + * ```ts 10842 + *import { Faker } from "k6/x/faker" 10843 + * 10844 + *let faker = new Faker(11) 10845 + * 10846 + *export default function () { 10847 + * console.log(faker.zen.minecraftVillagerLevel()) 10848 + *} 10849 + * 10850 + *``` 10851 + * **Output** (formatted as JSON value) 10852 + *```json 10853 + * "novice" 10854 + * ``` 10855 + */ 10856 + minecraftVillagerLevel(): string; 10857 + 10858 + /** 10859 + * Designated area or structure in Minecraft where villagers perform their job-related tasks and trading. 10860 + * @returns a random minecraft villager station 10861 + * @example 10862 + * ```ts 10863 + *import { Faker } from "k6/x/faker" 10864 + * 10865 + *let faker = new Faker(11) 10866 + * 10867 + *export default function () { 10868 + * console.log(faker.zen.minecraftVillagerStation()) 10869 + *} 10870 + * 10871 + *``` 10872 + * **Output** (formatted as JSON value) 10873 + *```json 10874 + * "lectern" 10875 + * ``` 10876 + */ 10877 + minecraftVillagerStation(): string; 10878 + 10879 + /** 10880 + * Tools and items used in Minecraft for combat and defeating hostile mobs. 10881 + * @returns a random minecraft weapon 10882 + * @example 10883 + * ```ts 10884 + *import { Faker } from "k6/x/faker" 10885 + * 10886 + *let faker = new Faker(11) 10887 + * 10888 + *export default function () { 10889 + * console.log(faker.zen.minecraftWeapon()) 10890 + *} 10891 + * 10892 + *``` 10893 + * **Output** (formatted as JSON value) 10894 + *```json 10895 + * "sword" 10896 + * ``` 10897 + */ 10898 + minecraftWeapon(): string; 10899 + 10900 + /** 10901 + * Atmospheric conditions in the game that include rain, thunderstorms, and clear skies, affecting gameplay and ambiance. 10902 + * @returns a random minecraft weather 10903 + * @example 10904 + * ```ts 10905 + *import { Faker } from "k6/x/faker" 10906 + * 10907 + *let faker = new Faker(11) 10908 + * 10909 + *export default function () { 10910 + * console.log(faker.zen.minecraftWeather()) 10911 + *} 10912 + * 10913 + *``` 10914 + * **Output** (formatted as JSON value) 10915 + *```json 10916 + * "clear" 10917 + * ``` 10918 + */ 10919 + minecraftWeather(): string; 10920 + 10921 + /** 10922 + * Natural resource in Minecraft, used for crafting various items and building structures. 10923 + * @returns a random minecraft wood 10924 + * @example 10925 + * ```ts 10926 + *import { Faker } from "k6/x/faker" 10927 + * 10928 + *let faker = new Faker(11) 10929 + * 10930 + *export default function () { 10931 + * console.log(faker.zen.minecraftWood()) 10932 + *} 10933 + * 10934 + *``` 10935 + * **Output** (formatted as JSON value) 10936 + *```json 10937 + * "oak" 10938 + * ``` 10939 + */ 10940 + minecraftWood(): string; 10941 + 10942 + /** 10943 + * Unit of time equal to 60 seconds. 10944 + * @returns a random minute 10945 + * @example 10946 + * ```ts 10947 + *import { Faker } from "k6/x/faker" 10948 + * 10949 + *let faker = new Faker(11) 10950 + * 10951 + *export default function () { 10952 + * console.log(faker.zen.minute()) 10953 + *} 10954 + * 10955 + *``` 10956 + * **Output** (formatted as JSON value) 10957 + *```json 10958 + * 9 10959 + * ``` 10960 + */ 10961 + minute(): number; 10962 + 10963 + /** 10964 + * Division of the year, typically 30 or 31 days long. 10965 + * @returns a random month 10966 + * @example 10967 + * ```ts 10968 + *import { Faker } from "k6/x/faker" 10969 + * 10970 + *let faker = new Faker(11) 10971 + * 10972 + *export default function () { 10973 + * console.log(faker.zen.month()) 10974 + *} 10975 + * 10976 + *``` 10977 + * **Output** (formatted as JSON value) 10978 + *```json 10979 + * 10 10980 + * ``` 10981 + */ 10982 + month(): string; 10983 + 10984 + /** 10985 + * String Representation of a month name. 10986 + * @returns a random month string 10987 + * @example 10988 + * ```ts 10989 + *import { Faker } from "k6/x/faker" 10990 + * 10991 + *let faker = new Faker(11) 10992 + * 10993 + *export default function () { 10994 + * console.log(faker.zen.monthString()) 10995 + *} 10996 + * 10997 + *``` 10998 + * **Output** (formatted as JSON value) 10999 + *```json 11000 + * "October" 11001 + * ``` 11002 + */ 11003 + monthString(): string; 11004 + 11005 + /** 11006 + * A story told through moving pictures and sound. 11007 + * @returns a random movie 11008 + * @example 11009 + * ```ts 11010 + *import { Faker } from "k6/x/faker" 11011 + * 11012 + *let faker = new Faker(11) 11013 + * 11014 + *export default function () { 11015 + * console.log(faker.zen.movie()) 11016 + *} 11017 + * 11018 + *``` 11019 + * **Output** (formatted as JSON value) 11020 + *```json 11021 + * {"Name":"Sherlock Jr.","Genre":"Music"} 11022 + * ``` 11023 + */ 11024 + movie(): Record<string, string>; 11025 + 11026 + /** 11027 + * Category that classifies movies based on common themes, styles, and storytelling approaches. 11028 + * @returns a random movie genre 11029 + * @example 11030 + * ```ts 11031 + *import { Faker } from "k6/x/faker" 11032 + * 11033 + *let faker = new Faker(11) 11034 + * 11035 + *export default function () { 11036 + * console.log(faker.zen.movieGenre()) 11037 + *} 11038 + * 11039 + *``` 11040 + * **Output** (formatted as JSON value) 11041 + *```json 11042 + * "Film-Noir" 11043 + * ``` 11044 + */ 11045 + movieGenre(): string; 11046 + 11047 + /** 11048 + * Title or name of a specific film used for identification and reference. 11049 + * @returns a random movie name 11050 + * @example 11051 + * ```ts 11052 + *import { Faker } from "k6/x/faker" 11053 + * 11054 + *let faker = new Faker(11) 11055 + * 11056 + *export default function () { 11057 + * console.log(faker.zen.movieName()) 11058 + *} 11059 + * 11060 + *``` 11061 + * **Output** (formatted as JSON value) 11062 + *```json 11063 + * "Sherlock Jr." 11064 + * ``` 11065 + */ 11066 + movieName(): string; 11067 + 11068 + /** 11069 + * The given and family name of an individual. 11070 + * @returns a random name 11071 + * @example 11072 + * ```ts 11073 + *import { Faker } from "k6/x/faker" 11074 + * 11075 + *let faker = new Faker(11) 11076 + * 11077 + *export default function () { 11078 + * console.log(faker.zen.name()) 11079 + *} 11080 + * 11081 + *``` 11082 + * **Output** (formatted as JSON value) 11083 + *```json 11084 + * "Josiah Thiel" 11085 + * ``` 11086 + */ 11087 + name(): string; 11088 + 11089 + /** 11090 + * A title or honorific added before a person's name. 11091 + * @returns a random name prefix 11092 + * @example 11093 + * ```ts 11094 + *import { Faker } from "k6/x/faker" 11095 + * 11096 + *let faker = new Faker(11) 11097 + * 11098 + *export default function () { 11099 + * console.log(faker.zen.namePrefix()) 11100 + *} 11101 + * 11102 + *``` 11103 + * **Output** (formatted as JSON value) 11104 + *```json 11105 + * "Mr." 11106 + * ``` 11107 + */ 11108 + namePrefix(): string; 11109 + 11110 + /** 11111 + * A title or designation added after a person's name. 11112 + * @returns a random name suffix 11113 + * @example 11114 + * ```ts 11115 + *import { Faker } from "k6/x/faker" 11116 + * 11117 + *let faker = new Faker(11) 11118 + * 11119 + *export default function () { 11120 + * console.log(faker.zen.nameSuffix()) 11121 + *} 11122 + * 11123 + *``` 11124 + * **Output** (formatted as JSON value) 11125 + *```json 11126 + * "Sr." 11127 + * ``` 11128 + */ 11129 + nameSuffix(): string; 11130 + 11131 + /** 11132 + * Unit of time equal to One billionth (10^-9) of a second. 11133 + * @returns a random nanosecond 11134 + * @example 11135 + * ```ts 11136 + *import { Faker } from "k6/x/faker" 11137 + * 11138 + *let faker = new Faker(11) 11139 + * 11140 + *export default function () { 11141 + * console.log(faker.zen.nanosecond()) 11142 + *} 11143 + * 11144 + *``` 11145 + * **Output** (formatted as JSON value) 11146 + *```json 11147 + * 953698829 11148 + * ``` 11149 + */ 11150 + nanosecond(): number; 11151 + 11152 + /** 11153 + * Attractive and appealing combinations of colors, returns an list of color hex codes. 11154 + * @returns a random nice colors 11155 + * @example 11156 + * ```ts 11157 + *import { Faker } from "k6/x/faker" 11158 + * 11159 + *let faker = new Faker(11) 11160 + * 11161 + *export default function () { 11162 + * console.log(faker.zen.niceColors()) 11163 + *} 11164 + * 11165 + *``` 11166 + * **Output** (formatted as JSON value) 11167 + *```json 11168 + * "MediumVioletRed" 11169 + * ``` 11170 + */ 11171 + niceColors(): string[]; 11172 + 11173 + /** 11174 + * Person, place, thing, or idea, named or referred to in a sentence. 11175 + * @returns a random noun 11176 + * @example 11177 + * ```ts 11178 + *import { Faker } from "k6/x/faker" 11179 + * 11180 + *let faker = new Faker(11) 11181 + * 11182 + *export default function () { 11183 + * console.log(faker.zen.noun()) 11184 + *} 11185 + * 11186 + *``` 11187 + * **Output** (formatted as JSON value) 11188 + *```json 11189 + * "hand" 11190 + * ``` 11191 + */ 11192 + noun(): string; 11193 + 11194 + /** 11195 + * Ideas, qualities, or states that cannot be perceived with the five senses. 11196 + * @returns a random noun abstract 11197 + * @example 11198 + * ```ts 11199 + *import { Faker } from "k6/x/faker" 11200 + * 11201 + *let faker = new Faker(11) 11202 + * 11203 + *export default function () { 11204 + * console.log(faker.zen.nounAbstract()) 11205 + *} 11206 + * 11207 + *``` 11208 + * **Output** (formatted as JSON value) 11209 + *```json 11210 + * "philosophy" 11211 + * ``` 11212 + */ 11213 + nounAbstract(): string; 11214 + 11215 + /** 11216 + * Group of animals, like a 'pack' of wolves or a 'flock' of birds. 11217 + * @returns a random noun collective animal 11218 + * @example 11219 + * ```ts 11220 + *import { Faker } from "k6/x/faker" 11221 + * 11222 + *let faker = new Faker(11) 11223 + * 11224 + *export default function () { 11225 + * console.log(faker.zen.nounCollectiveAnimal()) 11226 + *} 11227 + * 11228 + *``` 11229 + * **Output** (formatted as JSON value) 11230 + *```json 11231 + * "school" 11232 + * ``` 11233 + */ 11234 + nounCollectiveAnimal(): string; 11235 + 11236 + /** 11237 + * Group of people or things regarded as a unit. 11238 + * @returns a random noun collective people 11239 + * @example 11240 + * ```ts 11241 + *import { Faker } from "k6/x/faker" 11242 + * 11243 + *let faker = new Faker(11) 11244 + * 11245 + *export default function () { 11246 + * console.log(faker.zen.nounCollectivePeople()) 11247 + *} 11248 + * 11249 + *``` 11250 + * **Output** (formatted as JSON value) 11251 + *```json 11252 + * "bevy" 11253 + * ``` 11254 + */ 11255 + nounCollectivePeople(): string; 11256 + 11257 + /** 11258 + * Group of objects or items, such as a 'bundle' of sticks or a 'cluster' of grapes. 11259 + * @returns a random noun collective thing 11260 + * @example 11261 + * ```ts 11262 + *import { Faker } from "k6/x/faker" 11263 + * 11264 + *let faker = new Faker(11) 11265 + * 11266 + *export default function () { 11267 + * console.log(faker.zen.nounCollectiveThing()) 11268 + *} 11269 + * 11270 + *``` 11271 + * **Output** (formatted as JSON value) 11272 + *```json 11273 + * "wad" 11274 + * ``` 11275 + */ 11276 + nounCollectiveThing(): string; 11277 + 11278 + /** 11279 + * General name for people, places, or things, not specific or unique. 11280 + * @returns a random noun common 11281 + * @example 11282 + * ```ts 11283 + *import { Faker } from "k6/x/faker" 11284 + * 11285 + *let faker = new Faker(11) 11286 + * 11287 + *export default function () { 11288 + * console.log(faker.zen.nounCommon()) 11289 + *} 11290 + * 11291 + *``` 11292 + * **Output** (formatted as JSON value) 11293 + *```json 11294 + * "company" 11295 + * ``` 11296 + */ 11297 + nounCommon(): string; 11298 + 11299 + /** 11300 + * Names for physical entities experienced through senses like sight, touch, smell, or taste. 11301 + * @returns a random noun concrete 11302 + * @example 11303 + * ```ts 11304 + *import { Faker } from "k6/x/faker" 11305 + * 11306 + *let faker = new Faker(11) 11307 + * 11308 + *export default function () { 11309 + * console.log(faker.zen.nounConcrete()) 11310 + *} 11311 + * 11312 + *``` 11313 + * **Output** (formatted as JSON value) 11314 + *```json 11315 + * "train" 11316 + * ``` 11317 + */ 11318 + nounConcrete(): string; 11319 + 11320 + /** 11321 + * Items that can be counted individually. 11322 + * @returns a random noun countable 11323 + * @example 11324 + * ```ts 11325 + *import { Faker } from "k6/x/faker" 11326 + * 11327 + *let faker = new Faker(11) 11328 + * 11329 + *export default function () { 11330 + * console.log(faker.zen.nounCountable()) 11331 + *} 11332 + * 11333 + *``` 11334 + * **Output** (formatted as JSON value) 11335 + *```json 11336 + * "weekend" 11337 + * ``` 11338 + */ 11339 + nounCountable(): string; 11340 + 11341 + /** 11342 + * Word that introduces a noun and identifies it as a noun. 11343 + * @returns a random noun determiner 11344 + * @example 11345 + * ```ts 11346 + *import { Faker } from "k6/x/faker" 11347 + * 11348 + *let faker = new Faker(11) 11349 + * 11350 + *export default function () { 11351 + * console.log(faker.zen.nounDeterminer()) 11352 + *} 11353 + * 11354 + *``` 11355 + * **Output** (formatted as JSON value) 11356 + *```json 11357 + * "this" 11358 + * ``` 11359 + */ 11360 + nounDeterminer(): string; 11361 + 11362 + /** 11363 + * Phrase with a noun as its head, functions within sentence like a noun. 11364 + * @returns a random noun phrase 11365 + * @example 11366 + * ```ts 11367 + *import { Faker } from "k6/x/faker" 11368 + * 11369 + *let faker = new Faker(11) 11370 + * 11371 + *export default function () { 11372 + * console.log(faker.zen.nounPhrase()) 11373 + *} 11374 + * 11375 + *``` 11376 + * **Output** (formatted as JSON value) 11377 + *```json 11378 + * "a brave fuel" 11379 + * ``` 11380 + */ 11381 + nounPhrase(): string; 11382 + 11383 + /** 11384 + * Specific name for a particular person, place, or organization. 11385 + * @returns a random noun proper 11386 + * @example 11387 + * ```ts 11388 + *import { Faker } from "k6/x/faker" 11389 + * 11390 + *let faker = new Faker(11) 11391 + * 11392 + *export default function () { 11393 + * console.log(faker.zen.nounProper()) 11394 + *} 11395 + * 11396 + *``` 11397 + * **Output** (formatted as JSON value) 11398 + *```json 11399 + * "Rowan Atkinson" 11400 + * ``` 11401 + */ 11402 + nounProper(): string; 11403 + 11404 + /** 11405 + * Items that can't be counted individually. 11406 + * @returns a random noun uncountable 11407 + * @example 11408 + * ```ts 11409 + *import { Faker } from "k6/x/faker" 11410 + * 11411 + *let faker = new Faker(11) 11412 + * 11413 + *export default function () { 11414 + * console.log(faker.zen.nounUncountable()) 11415 + *} 11416 + * 11417 + *``` 11418 + * **Output** (formatted as JSON value) 11419 + *```json 11420 + * "butter" 11421 + * ``` 11422 + */ 11423 + nounUncountable(): string; 11424 + 11425 + /** 11426 + * Mathematical concept used for counting, measuring, and expressing quantities or values. 11427 + * @param min - Min 11428 + * @param max - Max 11429 + * @returns a random number 11430 + * @example 11431 + * ```ts 11432 + *import { Faker } from "k6/x/faker" 11433 + * 11434 + *let faker = new Faker(11) 11435 + * 11436 + *export default function () { 11437 + * console.log(faker.zen.number(-2147483648,2147483647)) 11438 + *} 11439 + * 11440 + *``` 11441 + * **Output** (formatted as JSON value) 11442 + *```json 11443 + * -15831539 11444 + * ``` 11445 + */ 11446 + number(min: number, max: number): number; 11447 + 11448 + /** 11449 + * Replace # with random numerical values. 11450 + * @param str - String 11451 + * @returns a random numerify 11452 + * @example 11453 + * ```ts 11454 + *import { Faker } from "k6/x/faker" 11455 + * 11456 + *let faker = new Faker(11) 11457 + * 11458 + *export default function () { 11459 + * console.log(faker.zen.numerify("none")) 11460 + *} 11461 + * 11462 + *``` 11463 + * **Output** (formatted as JSON value) 11464 + *```json 11465 + * "none" 11466 + * ``` 11467 + */ 11468 + numerify(str: string): string; 11469 + 11470 + /** 11471 + * The specific identification string sent by the Opera web browser when making requests on the internet. 11472 + * @returns a random opera user agent 11473 + * @example 11474 + * ```ts 11475 + *import { Faker } from "k6/x/faker" 11476 + * 11477 + *let faker = new Faker(11) 11478 + * 11479 + *export default function () { 11480 + * console.log(faker.zen.operaUserAgent()) 11481 + *} 11482 + * 11483 + *``` 11484 + * **Output** (formatted as JSON value) 11485 + *```json 11486 + * "Opera/10.45 (X11; Linux i686; en-US) Presto/2.13.288 Version/13.00" 11487 + * ``` 11488 + */ 11489 + operaUserAgent(): string; 11490 + 11491 + /** 11492 + * Distinct section of writing covering a single theme, composed of multiple sentences. 11493 + * @param paragraphcount - Paragraph Count 11494 + * @param sentencecount - Sentence Count 11495 + * @param wordcount - Word Count 11496 + * @param paragraphseparator - Paragraph Separator 11497 + * @returns a random paragraph 11498 + * @example 11499 + * ```ts 11500 + *import { Faker } from "k6/x/faker" 11501 + * 11502 + *let faker = new Faker(11) 11503 + * 11504 + *export default function () { 11505 + * console.log(faker.zen.paragraph(2,2,5,"\u003cbr /\u003e")) 11506 + *} 11507 + * 11508 + *``` 11509 + * **Output** (formatted as JSON value) 11510 + *```json 11511 + * "Quickly up brace lung anyway. Then bravo mirror hundreds his.<br />Party nobody person anything wit. She from above Chinese those." 11512 + * ``` 11513 + */ 11514 + paragraph(paragraphcount: number, sentencecount: number, wordcount: number, paragraphseparator: string): string; 11515 + 11516 + /** 11517 + * Secret word or phrase used to authenticate access to a system or account. 11518 + * @param lower - Lower 11519 + * @param upper - Upper 11520 + * @param numeric - Numeric 11521 + * @param special - Special 11522 + * @param space - Space 11523 + * @param length - Length 11524 + * @returns a random password 11525 + * @example 11526 + * ```ts 11527 + *import { Faker } from "k6/x/faker" 11528 + * 11529 + *let faker = new Faker(11) 11530 + * 11531 + *export default function () { 11532 + * console.log(faker.zen.password(true,false,true,true,false,12)) 11533 + *} 11534 + * 11535 + *``` 11536 + * **Output** (formatted as JSON value) 11537 + *```json 11538 + * "z42x8h!47-9r" 11539 + * ``` 11540 + */ 11541 + password(lower: boolean, upper: boolean, numeric: boolean, special: boolean, space: boolean, length: number): string; 11542 + 11543 + /** 11544 + * Date that has occurred before the current moment in time. 11545 + * @returns a random pasttime 11546 + * @example 11547 + * ```ts 11548 + *import { Faker } from "k6/x/faker" 11549 + * 11550 + *let faker = new Faker(11) 11551 + * 11552 + *export default function () { 11553 + * console.log(faker.zen.pastTime()) 11554 + *} 11555 + * 11556 + *``` 11557 + * **Output** (formatted as JSON value) 11558 + *```json 11559 + * "2024-12-17T23:55:55.77424777+01:00" 11560 + * ``` 11561 + */ 11562 + pastTime(): string; 11563 + 11564 + /** 11565 + * Personal data, like name and contact details, used for identification and communication. 11566 + * @returns a random person 11567 + * @example 11568 + * ```ts 11569 + *import { Faker } from "k6/x/faker" 11570 + * 11571 + *let faker = new Faker(11) 11572 + * 11573 + *export default function () { 11574 + * console.log(faker.zen.person()) 11575 + *} 11576 + * 11577 + *``` 11578 + * **Output** (formatted as JSON value) 11579 + *```json 11580 + * {"FirstName":"Josiah","LastName":"Thiel","Gender":"male","SSN":"558821916","Image":"https://picsum.photos/367/273","Hobby":"Winemaking","Job":{"Company":"Headlight","Title":"Administrator","Descriptor":"Chief","Level":"Configuration"},"Address":{"Address":"6992 Inletstad, Las Vegas, Rhode Island 82271","Street":"6992 Inletstad","City":"Las Vegas","State":"Rhode Island","Zip":"82271","Country":"Sweden","Latitude":-75.921372,"Longitude":109.436476},"Contact":{"Phone":"4361943393","Email":"janisbarrows@hessel.net"},"CreditCard":{"Type":"Discover","Number":"4525298222125328","Exp":"01/29","Cvv":"282"}} 11581 + * ``` 11582 + */ 11583 + person(): Record<string, unknown>; 11584 + 11585 + /** 11586 + * Affectionate nickname given to a pet. 11587 + * @returns a random pet name 11588 + * @example 11589 + * ```ts 11590 + *import { Faker } from "k6/x/faker" 11591 + * 11592 + *let faker = new Faker(11) 11593 + * 11594 + *export default function () { 11595 + * console.log(faker.zen.petName()) 11596 + *} 11597 + * 11598 + *``` 11599 + * **Output** (formatted as JSON value) 11600 + *```json 11601 + * "Nacho" 11602 + * ``` 11603 + */ 11604 + petName(): string; 11605 + 11606 + /** 11607 + * Numerical sequence used to contact individuals via telephone or mobile devices. 11608 + * @returns a random phone 11609 + * @example 11610 + * ```ts 11611 + *import { Faker } from "k6/x/faker" 11612 + * 11613 + *let faker = new Faker(11) 11614 + * 11615 + *export default function () { 11616 + * console.log(faker.zen.phone()) 11617 + *} 11618 + * 11619 + *``` 11620 + * **Output** (formatted as JSON value) 11621 + *```json 11622 + * "7053883851" 11623 + * ``` 11624 + */ 11625 + phone(): string; 11626 + 11627 + /** 11628 + * Formatted phone number of a person. 11629 + * @returns a random phone formatted 11630 + * @example 11631 + * ```ts 11632 + *import { Faker } from "k6/x/faker" 11633 + * 11634 + *let faker = new Faker(11) 11635 + * 11636 + *export default function () { 11637 + * console.log(faker.zen.phoneFormatted()) 11638 + *} 11639 + * 11640 + *``` 11641 + * **Output** (formatted as JSON value) 11642 + *```json 11643 + * "1-053-883-8516" 11644 + * ``` 11645 + */ 11646 + phoneFormatted(): string; 11647 + 11648 + /** 11649 + * A small group of words standing together. 11650 + * @returns a random phrase 11651 + * @example 11652 + * ```ts 11653 + *import { Faker } from "k6/x/faker" 11654 + * 11655 + *let faker = new Faker(11) 11656 + * 11657 + *export default function () { 11658 + * console.log(faker.zen.phrase()) 11659 + *} 11660 + * 11661 + *``` 11662 + * **Output** (formatted as JSON value) 11663 + *```json 11664 + * "many thanks" 11665 + * ``` 11666 + */ 11667 + phrase(): string; 11668 + 11669 + /** 11670 + * Adjective indicating ownership or possession. 11671 + * @returns a random possessive adjective 11672 + * @example 11673 + * ```ts 11674 + *import { Faker } from "k6/x/faker" 11675 + * 11676 + *let faker = new Faker(11) 11677 + * 11678 + *export default function () { 11679 + * console.log(faker.zen.possessiveAdjective()) 11680 + *} 11681 + * 11682 + *``` 11683 + * **Output** (formatted as JSON value) 11684 + *```json 11685 + * "his" 11686 + * ``` 11687 + */ 11688 + possessiveAdjective(): string; 11689 + 11690 + /** 11691 + * Words used to express the relationship of a noun or pronoun to other words in a sentence. 11692 + * @returns a random preposition 11693 + * @example 11694 + * ```ts 11695 + *import { Faker } from "k6/x/faker" 11696 + * 11697 + *let faker = new Faker(11) 11698 + * 11699 + *export default function () { 11700 + * console.log(faker.zen.preposition()) 11701 + *} 11702 + * 11703 + *``` 11704 + * **Output** (formatted as JSON value) 11705 + *```json 11706 + * "out" 11707 + * ``` 11708 + */ 11709 + preposition(): string; 11710 + 11711 + /** 11712 + * Preposition that can be formed by combining two or more prepositions. 11713 + * @returns a random preposition compound 11714 + * @example 11715 + * ```ts 11716 + *import { Faker } from "k6/x/faker" 11717 + * 11718 + *let faker = new Faker(11) 11719 + * 11720 + *export default function () { 11721 + * console.log(faker.zen.prepositionCompound()) 11722 + *} 11723 + * 11724 + *``` 11725 + * **Output** (formatted as JSON value) 11726 + *```json 11727 + * "apart from" 11728 + * ``` 11729 + */ 11730 + prepositionCompound(): string; 11731 + 11732 + /** 11733 + * Two-word combination preposition, indicating a complex relation. 11734 + * @returns a random preposition double 11735 + * @example 11736 + * ```ts 11737 + *import { Faker } from "k6/x/faker" 11738 + * 11739 + *let faker = new Faker(11) 11740 + * 11741 + *export default function () { 11742 + * console.log(faker.zen.prepositionDouble()) 11743 + *} 11744 + * 11745 + *``` 11746 + * **Output** (formatted as JSON value) 11747 + *```json 11748 + * "outside of" 11749 + * ``` 11750 + */ 11751 + prepositionDouble(): string; 11752 + 11753 + /** 11754 + * Phrase starting with a preposition, showing relation between elements in a sentence.. 11755 + * @returns a random preposition phrase 11756 + * @example 11757 + * ```ts 11758 + *import { Faker } from "k6/x/faker" 11759 + * 11760 + *let faker = new Faker(11) 11761 + * 11762 + *export default function () { 11763 + * console.log(faker.zen.prepositionPhrase()) 11764 + *} 11765 + * 11766 + *``` 11767 + * **Output** (formatted as JSON value) 11768 + *```json 11769 + * "of a fuel" 11770 + * ``` 11771 + */ 11772 + prepositionPhrase(): string; 11773 + 11774 + /** 11775 + * Single-word preposition showing relationships between 2 parts of a sentence. 11776 + * @returns a random preposition simple 11777 + * @example 11778 + * ```ts 11779 + *import { Faker } from "k6/x/faker" 11780 + * 11781 + *let faker = new Faker(11) 11782 + * 11783 + *export default function () { 11784 + * console.log(faker.zen.prepositionSimple()) 11785 + *} 11786 + * 11787 + *``` 11788 + * **Output** (formatted as JSON value) 11789 + *```json 11790 + * "of" 11791 + * ``` 11792 + */ 11793 + prepositionSimple(): string; 11794 + 11795 + /** 11796 + * The amount of money or value assigned to a product, service, or asset in a transaction. 11797 + * @param min - Min 11798 + * @param max - Max 11799 + * @returns a random price 11800 + * @example 11801 + * ```ts 11802 + *import { Faker } from "k6/x/faker" 11803 + * 11804 + *let faker = new Faker(11) 11805 + * 11806 + *export default function () { 11807 + * console.log(faker.zen.price(0,1000)) 11808 + *} 11809 + * 11810 + *``` 11811 + * **Output** (formatted as JSON value) 11812 + *```json 11813 + * 563.3 11814 + * ``` 11815 + */ 11816 + price(min: number, max: number): number; 11817 + 11818 + /** 11819 + * An item created for sale or use. 11820 + * @returns a random product 11821 + * @example 11822 + * ```ts 11823 + *import { Faker } from "k6/x/faker" 11824 + * 11825 + *let faker = new Faker(11) 11826 + * 11827 + *export default function () { 11828 + * console.log(faker.zen.product()) 11829 + *} 11830 + * 11831 + *``` 11832 + * **Output** (formatted as JSON value) 11833 + *```json 11834 + * {"Name":"Quartz Teal Scale","Description":"Bravo mirror hundreds his party nobody. Anything wit she from above Chinese those choir toilet as you of other enormously.","Categories":["mobile phones","food and groceries","furniture"],"Price":82.9,"Features":["durable"],"Color":"green","Material":"bronze","UPC":"084020104876"} 11835 + * ``` 11836 + */ 11837 + product(): Record<string, unknown>; 11838 + 11839 + /** 11840 + * Classification grouping similar products based on shared characteristics or functions. 11841 + * @returns a random product category 11842 + * @example 11843 + * ```ts 11844 + *import { Faker } from "k6/x/faker" 11845 + * 11846 + *let faker = new Faker(11) 11847 + * 11848 + *export default function () { 11849 + * console.log(faker.zen.productCategory()) 11850 + *} 11851 + * 11852 + *``` 11853 + * **Output** (formatted as JSON value) 11854 + *```json 11855 + * "mobile phones" 11856 + * ``` 11857 + */ 11858 + productCategory(): string; 11859 + 11860 + /** 11861 + * Explanation detailing the features and characteristics of a product. 11862 + * @returns a random product description 11863 + * @example 11864 + * ```ts 11865 + *import { Faker } from "k6/x/faker" 11866 + * 11867 + *let faker = new Faker(11) 11868 + * 11869 + *export default function () { 11870 + * console.log(faker.zen.productDescription()) 11871 + *} 11872 + * 11873 + *``` 11874 + * **Output** (formatted as JSON value) 11875 + *```json 11876 + * "Up brace lung anyway then bravo mirror hundreds his party. Person anything wit she from above Chinese those choir toilet as you." 11877 + * ``` 11878 + */ 11879 + productDescription(): string; 11880 + 11881 + /** 11882 + * Specific characteristic of a product that distinguishes it from others products. 11883 + * @returns a random product feature 11884 + * @example 11885 + * ```ts 11886 + *import { Faker } from "k6/x/faker" 11887 + * 11888 + *let faker = new Faker(11) 11889 + * 11890 + *export default function () { 11891 + * console.log(faker.zen.productFeature()) 11892 + *} 11893 + * 11894 + *``` 11895 + * **Output** (formatted as JSON value) 11896 + *```json 11897 + * "touchscreen" 11898 + * ``` 11899 + */ 11900 + productFeature(): string; 11901 + 11902 + /** 11903 + * The substance from which a product is made, influencing its appearance, durability, and properties. 11904 + * @returns a random product material 11905 + * @example 11906 + * ```ts 11907 + *import { Faker } from "k6/x/faker" 11908 + * 11909 + *let faker = new Faker(11) 11910 + * 11911 + *export default function () { 11912 + * console.log(faker.zen.productMaterial()) 11913 + *} 11914 + * 11915 + *``` 11916 + * **Output** (formatted as JSON value) 11917 + *```json 11918 + * "alloy" 11919 + * ``` 11920 + */ 11921 + productMaterial(): string; 11922 + 11923 + /** 11924 + * Distinctive title or label assigned to a product for identification and marketing. 11925 + * @returns a random product name 11926 + * @example 11927 + * ```ts 11928 + *import { Faker } from "k6/x/faker" 11929 + * 11930 + *let faker = new Faker(11) 11931 + * 11932 + *export default function () { 11933 + * console.log(faker.zen.productName()) 11934 + *} 11935 + * 11936 + *``` 11937 + * **Output** (formatted as JSON value) 11938 + *```json 11939 + * "Stream Gold Robot" 11940 + * ``` 11941 + */ 11942 + productName(): string; 11943 + 11944 + /** 11945 + * Standardized barcode used for product identification and tracking in retail and commerce. 11946 + * @returns a random product upc 11947 + * @example 11948 + * ```ts 11949 + *import { Faker } from "k6/x/faker" 11950 + * 11951 + *let faker = new Faker(11) 11952 + * 11953 + *export default function () { 11954 + * console.log(faker.zen.productUpc()) 11955 + *} 11956 + * 11957 + *``` 11958 + * **Output** (formatted as JSON value) 11959 + *```json 11960 + * "092964558555" 11961 + * ``` 11962 + */ 11963 + productUpc(): string; 11964 + 11965 + /** 11966 + * Formal system of instructions used to create software and perform computational tasks. 11967 + * @returns a random programming language 11968 + * @example 11969 + * ```ts 11970 + *import { Faker } from "k6/x/faker" 11971 + * 11972 + *let faker = new Faker(11) 11973 + * 11974 + *export default function () { 11975 + * console.log(faker.zen.programmingLanguage()) 11976 + *} 11977 + * 11978 + *``` 11979 + * **Output** (formatted as JSON value) 11980 + *```json 11981 + * "Ceylon" 11982 + * ``` 11983 + */ 11984 + programmingLanguage(): string; 11985 + 11986 + /** 11987 + * Word used in place of a noun to avoid repetition. 11988 + * @returns a random pronoun 11989 + * @example 11990 + * ```ts 11991 + *import { Faker } from "k6/x/faker" 11992 + * 11993 + *let faker = new Faker(11) 11994 + * 11995 + *export default function () { 11996 + * console.log(faker.zen.pronoun()) 11997 + *} 11998 + * 11999 + *``` 12000 + * **Output** (formatted as JSON value) 12001 + *```json 12002 + * "these" 12003 + * ``` 12004 + */ 12005 + pronoun(): string; 12006 + 12007 + /** 12008 + * Pronoun that points out specific people or things. 12009 + * @returns a random pronoun demonstrative 12010 + * @example 12011 + * ```ts 12012 + *import { Faker } from "k6/x/faker" 12013 + * 12014 + *let faker = new Faker(11) 12015 + * 12016 + *export default function () { 12017 + * console.log(faker.zen.pronounDemonstrative()) 12018 + *} 12019 + * 12020 + *``` 12021 + * **Output** (formatted as JSON value) 12022 + *```json 12023 + * "these" 12024 + * ``` 12025 + */ 12026 + pronounDemonstrative(): string; 12027 + 12028 + /** 12029 + * Pronoun that does not refer to a specific person or thing. 12030 + * @returns a random pronoun indefinite 12031 + * @example 12032 + * ```ts 12033 + *import { Faker } from "k6/x/faker" 12034 + * 12035 + *let faker = new Faker(11) 12036 + * 12037 + *export default function () { 12038 + * console.log(faker.zen.pronounIndefinite()) 12039 + *} 12040 + * 12041 + *``` 12042 + * **Output** (formatted as JSON value) 12043 + *```json 12044 + * "anyone" 12045 + * ``` 12046 + */ 12047 + pronounIndefinite(): string; 12048 + 12049 + /** 12050 + * Pronoun used to ask questions. 12051 + * @returns a random pronoun interrogative 12052 + * @example 12053 + * ```ts 12054 + *import { Faker } from "k6/x/faker" 12055 + * 12056 + *let faker = new Faker(11) 12057 + * 12058 + *export default function () { 12059 + * console.log(faker.zen.pronounInterrogative()) 12060 + *} 12061 + * 12062 + *``` 12063 + * **Output** (formatted as JSON value) 12064 + *```json 12065 + * "who" 12066 + * ``` 12067 + */ 12068 + pronounInterrogative(): string; 12069 + 12070 + /** 12071 + * Pronoun used as the object of a verb or preposition. 12072 + * @returns a random pronoun object 12073 + * @example 12074 + * ```ts 12075 + *import { Faker } from "k6/x/faker" 12076 + * 12077 + *let faker = new Faker(11) 12078 + * 12079 + *export default function () { 12080 + * console.log(faker.zen.pronounObject()) 12081 + *} 12082 + * 12083 + *``` 12084 + * **Output** (formatted as JSON value) 12085 + *```json 12086 + * "you" 12087 + * ``` 12088 + */ 12089 + pronounObject(): string; 12090 + 12091 + /** 12092 + * Pronoun referring to a specific persons or things. 12093 + * @returns a random pronoun personal 12094 + * @example 12095 + * ```ts 12096 + *import { Faker } from "k6/x/faker" 12097 + * 12098 + *let faker = new Faker(11) 12099 + * 12100 + *export default function () { 12101 + * console.log(faker.zen.pronounPersonal()) 12102 + *} 12103 + * 12104 + *``` 12105 + * **Output** (formatted as JSON value) 12106 + *```json 12107 + * "you" 12108 + * ``` 12109 + */ 12110 + pronounPersonal(): string; 12111 + 12112 + /** 12113 + * Pronoun indicating ownership or belonging. 12114 + * @returns a random pronoun possessive 12115 + * @example 12116 + * ```ts 12117 + *import { Faker } from "k6/x/faker" 12118 + * 12119 + *let faker = new Faker(11) 12120 + * 12121 + *export default function () { 12122 + * console.log(faker.zen.pronounPossessive()) 12123 + *} 12124 + * 12125 + *``` 12126 + * **Output** (formatted as JSON value) 12127 + *```json 12128 + * "mine" 12129 + * ``` 12130 + */ 12131 + pronounPossessive(): string; 12132 + 12133 + /** 12134 + * Pronoun referring back to the subject of the sentence. 12135 + * @returns a random pronoun reflective 12136 + * @example 12137 + * ```ts 12138 + *import { Faker } from "k6/x/faker" 12139 + * 12140 + *let faker = new Faker(11) 12141 + * 12142 + *export default function () { 12143 + * console.log(faker.zen.pronounReflective()) 12144 + *} 12145 + * 12146 + *``` 12147 + * **Output** (formatted as JSON value) 12148 + *```json 12149 + * "herself" 12150 + * ``` 12151 + */ 12152 + pronounReflective(): string; 12153 + 12154 + /** 12155 + * Pronoun that introduces a clause, referring back to a noun or pronoun. 12156 + * @returns a random pronoun relative 12157 + * @example 12158 + * ```ts 12159 + *import { Faker } from "k6/x/faker" 12160 + * 12161 + *let faker = new Faker(11) 12162 + * 12163 + *export default function () { 12164 + * console.log(faker.zen.pronounRelative()) 12165 + *} 12166 + * 12167 + *``` 12168 + * **Output** (formatted as JSON value) 12169 + *```json 12170 + * "that" 12171 + * ``` 12172 + */ 12173 + pronounRelative(): string; 12174 + 12175 + /** 12176 + * Adjective derived from a proper noun, often used to describe nationality or origin. 12177 + * @returns a random proper adjective 12178 + * @example 12179 + * ```ts 12180 + *import { Faker } from "k6/x/faker" 12181 + * 12182 + *let faker = new Faker(11) 12183 + * 12184 + *export default function () { 12185 + * console.log(faker.zen.properAdjective()) 12186 + *} 12187 + * 12188 + *``` 12189 + * **Output** (formatted as JSON value) 12190 + *```json 12191 + * "Confucian" 12192 + * ``` 12193 + */ 12194 + properAdjective(): string; 12195 + 12196 + /** 12197 + * Adjective that indicates the quantity or amount of something. 12198 + * @returns a random quantitative adjective 12199 + * @example 12200 + * ```ts 12201 + *import { Faker } from "k6/x/faker" 12202 + * 12203 + *let faker = new Faker(11) 12204 + * 12205 + *export default function () { 12206 + * console.log(faker.zen.quantitativeAdjective()) 12207 + *} 12208 + * 12209 + *``` 12210 + * **Output** (formatted as JSON value) 12211 + *```json 12212 + * "several" 12213 + * ``` 12214 + */ 12215 + quantitativeAdjective(): string; 12216 + 12217 + /** 12218 + * Statement formulated to inquire or seek clarification. 12219 + * @returns a random question 12220 + * @example 12221 + * ```ts 12222 + *import { Faker } from "k6/x/faker" 12223 + * 12224 + *let faker = new Faker(11) 12225 + * 12226 + *export default function () { 12227 + * console.log(faker.zen.question()) 12228 + *} 12229 + * 12230 + *``` 12231 + * **Output** (formatted as JSON value) 12232 + *```json 12233 + * "Forage pinterest direct trade pug skateboard food truck flannel cold-pressed?" 12234 + * ``` 12235 + */ 12236 + question(): string; 12237 + 12238 + /** 12239 + * Direct repetition of someone else's words. 12240 + * @returns a random quote 12241 + * @example 12242 + * ```ts 12243 + *import { Faker } from "k6/x/faker" 12244 + * 12245 + *let faker = new Faker(11) 12246 + * 12247 + *export default function () { 12248 + * console.log(faker.zen.quote()) 12249 + *} 12250 + * 12251 + *``` 12252 + * **Output** (formatted as JSON value) 12253 + *```json 12254 + * "\"Forage pinterest direct trade pug skateboard food truck flannel cold-pressed.\" - Lukas Ledner" 12255 + * ``` 12256 + */ 12257 + quote(): string; 12258 + 12259 + /** 12260 + * Randomly selected value from a slice of int. 12261 + * @param ints - Integers 12262 + * @returns a random random int 12263 + * @example 12264 + * ```ts 12265 + *import { Faker } from "k6/x/faker" 12266 + * 12267 + *let faker = new Faker(11) 12268 + * 12269 + *export default function () { 12270 + * console.log(faker.zen.randomInt([14,8,13])) 12271 + *} 12272 + * 12273 + *``` 12274 + * **Output** (formatted as JSON value) 12275 + *```json 12276 + * 14 12277 + * ``` 12278 + */ 12279 + randomInt(ints: number[]): number; 12280 + 12281 + /** 12282 + * Return a random string from a string array. 12283 + * @param strs - Strings 12284 + * @returns a random random string 12285 + * @example 12286 + * ```ts 12287 + *import { Faker } from "k6/x/faker" 12288 + * 12289 + *let faker = new Faker(11) 12290 + * 12291 + *export default function () { 12292 + * console.log(faker.zen.randomString(["none","how","these","keep","trip","congolese","choir","computer","still","far"])) 12293 + *} 12294 + * 12295 + *``` 12296 + * **Output** (formatted as JSON value) 12297 + *```json 12298 + * "none" 12299 + * ``` 12300 + */ 12301 + randomString(strs: string[]): string[]; 12302 + 12303 + /** 12304 + * Randomly selected value from a slice of uint. 12305 + * @param uints - Unsigned Integers 12306 + * @returns a random random uint 12307 + * @example 12308 + * ```ts 12309 + *import { Faker } from "k6/x/faker" 12310 + * 12311 + *let faker = new Faker(11) 12312 + * 12313 + *export default function () { 12314 + * console.log(faker.zen.randomUint([14,8,13])) 12315 + *} 12316 + * 12317 + *``` 12318 + * **Output** (formatted as JSON value) 12319 + *```json 12320 + * 14 12321 + * ``` 12322 + */ 12323 + randomUint(uints: number[]): number; 12324 + 12325 + /** 12326 + * Color defined by red, green, and blue light values. 12327 + * @returns a random rgb color 12328 + * @example 12329 + * ```ts 12330 + *import { Faker } from "k6/x/faker" 12331 + * 12332 + *let faker = new Faker(11) 12333 + * 12334 + *export default function () { 12335 + * console.log(faker.zen.rgbColor()) 12336 + *} 12337 + * 12338 + *``` 12339 + * **Output** (formatted as JSON value) 12340 + *```json 12341 + * [13,150,143] 12342 + * ``` 12343 + */ 12344 + rgbColor(): number[]; 12345 + 12346 + /** 12347 + * Malfunction occuring during program execution, often causing abrupt termination or unexpected behavior. 12348 + * @returns a random runtime error 12349 + * @example 12350 + * ```ts 12351 + *import { Faker } from "k6/x/faker" 12352 + * 12353 + *let faker = new Faker(11) 12354 + * 12355 + *export default function () { 12356 + * console.log(faker.zen.runtimeError()) 12357 + *} 12358 + * 12359 + *``` 12360 + * **Output** (formatted as JSON value) 12361 + *```json 12362 + * {} 12363 + * ``` 12364 + */ 12365 + runtimeError(): string; 12366 + 12367 + /** 12368 + * The specific identification string sent by the Safari web browser when making requests on the internet. 12369 + * @returns a random safari user agent 12370 + * @example 12371 + * ```ts 12372 + *import { Faker } from "k6/x/faker" 12373 + * 12374 + *let faker = new Faker(11) 12375 + * 12376 + *export default function () { 12377 + * console.log(faker.zen.safariUserAgent()) 12378 + *} 12379 + * 12380 + *``` 12381 + * **Output** (formatted as JSON value) 12382 + *```json 12383 + * "Mozilla/5.0 (iPhone; CPU iPhone OS 7_3_2 like Mac OS X; en-US) AppleWebKit/534.34.8 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6534.34.8" 12384 + * ``` 12385 + */ 12386 + safariUserAgent(): string; 12387 + 12388 + /** 12389 + * Colors displayed consistently on different web browsers and devices. 12390 + * @returns a random safe color 12391 + * @example 12392 + * ```ts 12393 + *import { Faker } from "k6/x/faker" 12394 + * 12395 + *let faker = new Faker(11) 12396 + * 12397 + *export default function () { 12398 + * console.log(faker.zen.safeColor()) 12399 + *} 12400 + * 12401 + *``` 12402 + * **Output** (formatted as JSON value) 12403 + *```json 12404 + * "black" 12405 + * ``` 12406 + */ 12407 + safeColor(): string; 12408 + 12409 + /** 12410 + * An institution for formal education and learning. 12411 + * @returns a random school 12412 + * @example 12413 + * ```ts 12414 + *import { Faker } from "k6/x/faker" 12415 + * 12416 + *let faker = new Faker(11) 12417 + * 12418 + *export default function () { 12419 + * console.log(faker.zen.school()) 12420 + *} 12421 + * 12422 + *``` 12423 + * **Output** (formatted as JSON value) 12424 + *```json 12425 + * "Valley View Private Middle School" 12426 + * ``` 12427 + */ 12428 + school(): string; 12429 + 12430 + /** 12431 + * Unit of time equal to 1/60th of a minute. 12432 + * @returns a random second 12433 + * @example 12434 + * ```ts 12435 + *import { Faker } from "k6/x/faker" 12436 + * 12437 + *let faker = new Faker(11) 12438 + * 12439 + *export default function () { 12440 + * console.log(faker.zen.second()) 12441 + *} 12442 + * 12443 + *``` 12444 + * **Output** (formatted as JSON value) 12445 + *```json 12446 + * 9 12447 + * ``` 12448 + */ 12449 + second(): number; 12450 + 12451 + /** 12452 + * Set of words expressing a statement, question, exclamation, or command. 12453 + * @param wordcount - Word Count 12454 + * @returns a random sentence 12455 + * @example 12456 + * ```ts 12457 + *import { Faker } from "k6/x/faker" 12458 + * 12459 + *let faker = new Faker(11) 12460 + * 12461 + *export default function () { 12462 + * console.log(faker.zen.sentence(5)) 12463 + *} 12464 + * 12465 + *``` 12466 + * **Output** (formatted as JSON value) 12467 + *```json 12468 + * "Quickly up brace lung anyway." 12469 + * ``` 12470 + */ 12471 + sentence(wordcount: number): string; 12472 + 12473 + /** 12474 + * Shuffles an array of ints. 12475 + * @param ints - Integers 12476 + * @returns a random shuffle ints 12477 + * @example 12478 + * ```ts 12479 + *import { Faker } from "k6/x/faker" 12480 + * 12481 + *let faker = new Faker(11) 12482 + * 12483 + *export default function () { 12484 + * console.log(faker.zen.shuffleInts([14,8,13])) 12485 + *} 12486 + * 12487 + *``` 12488 + * **Output** (formatted as JSON value) 12489 + *```json 12490 + * [8,13,14] 12491 + * ``` 12492 + */ 12493 + shuffleInts(ints: number[]): number[]; 12494 + 12495 + /** 12496 + * Shuffle an array of strings. 12497 + * @param strs - Strings 12498 + * @returns a random shuffle strings 12499 + * @example 12500 + * ```ts 12501 + *import { Faker } from "k6/x/faker" 12502 + * 12503 + *let faker = new Faker(11) 12504 + * 12505 + *export default function () { 12506 + * console.log(faker.zen.shuffleStrings(["none","how","these","keep","trip","congolese","choir","computer","still","far"])) 12507 + *} 12508 + * 12509 + *``` 12510 + * **Output** (formatted as JSON value) 12511 + *```json 12512 + * ["these","congolese","far","choir","still","trip","computer","how","keep","none"] 12513 + * ``` 12514 + */ 12515 + shuffleStrings(strs: string[]): string[]; 12516 + 12517 + /** 12518 + * Group of words that expresses a complete thought. 12519 + * @returns a random simple sentence 12520 + * @example 12521 + * ```ts 12522 + *import { Faker } from "k6/x/faker" 12523 + * 12524 + *let faker = new Faker(11) 12525 + * 12526 + *export default function () { 12527 + * console.log(faker.zen.simpleSentence()) 12528 + *} 12529 + * 12530 + *``` 12531 + * **Output** (formatted as JSON value) 12532 + *```json 12533 + * "A brave fuel enormously beautifully stack easy day less badly in a bunch." 12534 + * ``` 12535 + */ 12536 + simpleSentence(): string; 12537 + 12538 + /** 12539 + * Catchphrase or motto used by a company to represent its brand or values. 12540 + * @returns a random slogan 12541 + * @example 12542 + * ```ts 12543 + *import { Faker } from "k6/x/faker" 12544 + * 12545 + *let faker = new Faker(11) 12546 + * 12547 + *export default function () { 12548 + * console.log(faker.zen.slogan()) 12549 + *} 12550 + * 12551 + *``` 12552 + * **Output** (formatted as JSON value) 12553 + *```json 12554 + * "Pride. De-engineered!" 12555 + * ``` 12556 + */ 12557 + slogan(): string; 12558 + 12559 + /** 12560 + * Random snack. 12561 + * @returns a random snack 12562 + * @example 12563 + * ```ts 12564 + *import { Faker } from "k6/x/faker" 12565 + * 12566 + *let faker = new Faker(11) 12567 + * 12568 + *export default function () { 12569 + * console.log(faker.zen.snack()) 12570 + *} 12571 + * 12572 + *``` 12573 + * **Output** (formatted as JSON value) 12574 + *```json 12575 + * "Hoisin marinated wing pieces" 12576 + * ``` 12577 + */ 12578 + snack(): string; 12579 + 12580 + /** 12581 + * Unique nine-digit identifier used for government and financial purposes in the United States. 12582 + * @returns a random ssn 12583 + * @example 12584 + * ```ts 12585 + *import { Faker } from "k6/x/faker" 12586 + * 12587 + *let faker = new Faker(11) 12588 + * 12589 + *export default function () { 12590 + * console.log(faker.zen.ssn()) 12591 + *} 12592 + * 12593 + *``` 12594 + * **Output** (formatted as JSON value) 12595 + *```json 12596 + * "853698829" 12597 + * ``` 12598 + */ 12599 + ssn(): string; 12600 + 12601 + /** 12602 + * Governmental division within a country, often having its own laws and government. 12603 + * @returns a random state 12604 + * @example 12605 + * ```ts 12606 + *import { Faker } from "k6/x/faker" 12607 + * 12608 + *let faker = new Faker(11) 12609 + * 12610 + *export default function () { 12611 + * console.log(faker.zen.state()) 12612 + *} 12613 + * 12614 + *``` 12615 + * **Output** (formatted as JSON value) 12616 + *```json 12617 + * "Massachusetts" 12618 + * ``` 12619 + */ 12620 + state(): string; 12621 + 12622 + /** 12623 + * Shortened 2-letter form of a country's state. 12624 + * @returns a random state abbreviation 12625 + * @example 12626 + * ```ts 12627 + *import { Faker } from "k6/x/faker" 12628 + * 12629 + *let faker = new Faker(11) 12630 + * 12631 + *export default function () { 12632 + * console.log(faker.zen.stateAbbreviation()) 12633 + *} 12634 + * 12635 + *``` 12636 + * **Output** (formatted as JSON value) 12637 + *```json 12638 + * "AA" 12639 + * ``` 12640 + */ 12641 + stateAbbreviation(): string; 12642 + 12643 + /** 12644 + * Public road in a city or town, typically with houses and buildings on each side. 12645 + * @returns a random street 12646 + * @example 12647 + * ```ts 12648 + *import { Faker } from "k6/x/faker" 12649 + * 12650 + *let faker = new Faker(11) 12651 + * 12652 + *export default function () { 12653 + * console.log(faker.zen.street()) 12654 + *} 12655 + * 12656 + *``` 12657 + * **Output** (formatted as JSON value) 12658 + *```json 12659 + * "53883 Villageborough" 12660 + * ``` 12661 + */ 12662 + street(): string; 12663 + 12664 + /** 12665 + * Name given to a specific road or street. 12666 + * @returns a random street name 12667 + * @example 12668 + * ```ts 12669 + *import { Faker } from "k6/x/faker" 12670 + * 12671 + *let faker = new Faker(11) 12672 + * 12673 + *export default function () { 12674 + * console.log(faker.zen.streetName()) 12675 + *} 12676 + * 12677 + *``` 12678 + * **Output** (formatted as JSON value) 12679 + *```json 12680 + * "Fall" 12681 + * ``` 12682 + */ 12683 + streetName(): string; 12684 + 12685 + /** 12686 + * Numerical identifier assigned to a street. 12687 + * @returns a random street number 12688 + * @example 12689 + * ```ts 12690 + *import { Faker } from "k6/x/faker" 12691 + * 12692 + *let faker = new Faker(11) 12693 + * 12694 + *export default function () { 12695 + * console.log(faker.zen.streetNumber()) 12696 + *} 12697 + * 12698 + *``` 12699 + * **Output** (formatted as JSON value) 12700 + *```json 12701 + * "25388" 12702 + * ``` 12703 + */ 12704 + streetNumber(): string; 12705 + 12706 + /** 12707 + * Directional or descriptive term preceding a street name, like 'East' or 'Main'. 12708 + * @returns a random street prefix 12709 + * @example 12710 + * ```ts 12711 + *import { Faker } from "k6/x/faker" 12712 + * 12713 + *let faker = new Faker(11) 12714 + * 12715 + *export default function () { 12716 + * console.log(faker.zen.streetPrefix()) 12717 + *} 12718 + * 12719 + *``` 12720 + * **Output** (formatted as JSON value) 12721 + *```json 12722 + * "West" 12723 + * ``` 12724 + */ 12725 + streetPrefix(): string; 12726 + 12727 + /** 12728 + * Designation at the end of a street name indicating type, like 'Avenue' or 'Street'. 12729 + * @returns a random street suffix 12730 + * @example 12731 + * ```ts 12732 + *import { Faker } from "k6/x/faker" 12733 + * 12734 + *let faker = new Faker(11) 12735 + * 12736 + *export default function () { 12737 + * console.log(faker.zen.streetSuffix()) 12738 + *} 12739 + * 12740 + *``` 12741 + * **Output** (formatted as JSON value) 12742 + *```json 12743 + * "ville" 12744 + * ``` 12745 + */ 12746 + streetSuffix(): string; 12747 + 12748 + /** 12749 + * Randomly split people into teams. 12750 + * @param people - Strings 12751 + * @param teams - Strings 12752 + * @returns a random teams 12753 + * @example 12754 + * ```ts 12755 + *import { Faker } from "k6/x/faker" 12756 + * 12757 + *let faker = new Faker(11) 12758 + * 12759 + *export default function () { 12760 + * console.log(faker.zen.teams(["none","how","these","keep","trip","congolese","choir","computer","still","far"],["unless","army","party","riches","theirs","instead","here","mine","whichever","that"])) 12761 + *} 12762 + * 12763 + *``` 12764 + * **Output** (formatted as JSON value) 12765 + *```json 12766 + * {"instead":["trip"],"whichever":["keep"],"that":["none"],"army":["congolese"],"riches":["choir"],"theirs":["still"],"mine":["how"],"unless":["these"],"party":["far"],"here":["computer"]} 12767 + * ``` 12768 + */ 12769 + teams(people: string[], teams: string[]): Record<string, Array<string>>; 12770 + 12771 + /** 12772 + * Region where the same standard time is used, based on longitudinal divisions of the Earth. 12773 + * @returns a random timezone 12774 + * @example 12775 + * ```ts 12776 + *import { Faker } from "k6/x/faker" 12777 + * 12778 + *let faker = new Faker(11) 12779 + * 12780 + *export default function () { 12781 + * console.log(faker.zen.timezone()) 12782 + *} 12783 + * 12784 + *``` 12785 + * **Output** (formatted as JSON value) 12786 + *```json 12787 + * "Tonga Standard Time" 12788 + * ``` 12789 + */ 12790 + timezone(): string; 12791 + 12792 + /** 12793 + * Abbreviated 3-letter word of a timezone. 12794 + * @returns a random timezone abbreviation 12795 + * @example 12796 + * ```ts 12797 + *import { Faker } from "k6/x/faker" 12798 + * 12799 + *let faker = new Faker(11) 12800 + * 12801 + *export default function () { 12802 + * console.log(faker.zen.timezoneAbbreviation()) 12803 + *} 12804 + * 12805 + *``` 12806 + * **Output** (formatted as JSON value) 12807 + *```json 12808 + * "TST" 12809 + * ``` 12810 + */ 12811 + timezoneAbbreviation(): string; 12812 + 12813 + /** 12814 + * Full name of a timezone. 12815 + * @returns a random timezone full 12816 + * @example 12817 + * ```ts 12818 + *import { Faker } from "k6/x/faker" 12819 + * 12820 + *let faker = new Faker(11) 12821 + * 12822 + *export default function () { 12823 + * console.log(faker.zen.timezoneFull()) 12824 + *} 12825 + * 12826 + *``` 12827 + * **Output** (formatted as JSON value) 12828 + *```json 12829 + * "(UTC+13:00) Nuku'alofa" 12830 + * ``` 12831 + */ 12832 + timezoneFull(): string; 12833 + 12834 + /** 12835 + * The difference in hours from Coordinated Universal Time (UTC) for a specific region. 12836 + * @returns a random timezone offset 12837 + * @example 12838 + * ```ts 12839 + *import { Faker } from "k6/x/faker" 12840 + * 12841 + *let faker = new Faker(11) 12842 + * 12843 + *export default function () { 12844 + * console.log(faker.zen.timezoneOffset()) 12845 + *} 12846 + * 12847 + *``` 12848 + * **Output** (formatted as JSON value) 12849 + *```json 12850 + * 13 12851 + * ``` 12852 + */ 12853 + timezoneOffset(): number; 12854 + 12855 + /** 12856 + * Geographic area sharing the same standard time. 12857 + * @returns a random timezone region 12858 + * @example 12859 + * ```ts 12860 + *import { Faker } from "k6/x/faker" 12861 + * 12862 + *let faker = new Faker(11) 12863 + * 12864 + *export default function () { 12865 + * console.log(faker.zen.timezoneRegion()) 12866 + *} 12867 + * 12868 + *``` 12869 + * **Output** (formatted as JSON value) 12870 + *```json 12871 + * "Asia/Manila" 12872 + * ``` 12873 + */ 12874 + timezoneRegion(): string; 12875 + 12876 + /** 12877 + * Verb that requires a direct object to complete its meaning. 12878 + * @returns a random transitive verb 12879 + * @example 12880 + * ```ts 12881 + *import { Faker } from "k6/x/faker" 12882 + * 12883 + *let faker = new Faker(11) 12884 + * 12885 + *export default function () { 12886 + * console.log(faker.zen.transitiveVerb()) 12887 + *} 12888 + * 12889 + *``` 12890 + * **Output** (formatted as JSON value) 12891 + *```json 12892 + * "bother" 12893 + * ``` 12894 + */ 12895 + transitiveVerb(): string; 12896 + 12897 + /** 12898 + * Unsigned 16-bit integer, capable of representing values from 0 to 65,535. 12899 + * @returns a random uint16 12900 + * @example 12901 + * ```ts 12902 + *import { Faker } from "k6/x/faker" 12903 + * 12904 + *let faker = new Faker(11) 12905 + * 12906 + *export default function () { 12907 + * console.log(faker.zen.uint16()) 12908 + *} 12909 + * 12910 + *``` 12911 + * **Output** (formatted as JSON value) 12912 + *```json 12913 + * 15082 12914 + * ``` 12915 + */ 12916 + uint16(): number; 12917 + 12918 + /** 12919 + * Unsigned 32-bit integer, capable of representing values from 0 to 4,294,967,295. 12920 + * @returns a random uint32 12921 + * @example 12922 + * ```ts 12923 + *import { Faker } from "k6/x/faker" 12924 + * 12925 + *let faker = new Faker(11) 12926 + * 12927 + *export default function () { 12928 + * console.log(faker.zen.uint32()) 12929 + *} 12930 + * 12931 + *``` 12932 + * **Output** (formatted as JSON value) 12933 + *```json 12934 + * 2131652109 12935 + * ``` 12936 + */ 12937 + uint32(): number; 12938 + 12939 + /** 12940 + * Unsigned 64-bit integer, capable of representing values from 0 to 18,446,744,073,709,551,615. 12941 + * @returns a random uint64 12942 + * @example 12943 + * ```ts 12944 + *import { Faker } from "k6/x/faker" 12945 + * 12946 + *let faker = new Faker(11) 12947 + * 12948 + *export default function () { 12949 + * console.log(faker.zen.uint64()) 12950 + *} 12951 + * 12952 + *``` 12953 + * **Output** (formatted as JSON value) 12954 + *```json 12955 + * 5195529898953699000 12956 + * ``` 12957 + */ 12958 + uint64(): number; 12959 + 12960 + /** 12961 + * Unsigned 8-bit integer, capable of representing values from 0 to 255. 12962 + * @returns a random uint8 12963 + * @example 12964 + * ```ts 12965 + *import { Faker } from "k6/x/faker" 12966 + * 12967 + *let faker = new Faker(11) 12968 + * 12969 + *export default function () { 12970 + * console.log(faker.zen.uint8()) 12971 + *} 12972 + * 12973 + *``` 12974 + * **Output** (formatted as JSON value) 12975 + *```json 12976 + * 234 12977 + * ``` 12978 + */ 12979 + uint8(): number; 12980 + 12981 + /** 12982 + * Non-negative integer value between given range. 12983 + * @param min - Min 12984 + * @param max - Max 12985 + * @returns a random uintrange 12986 + * @example 12987 + * ```ts 12988 + *import { Faker } from "k6/x/faker" 12989 + * 12990 + *let faker = new Faker(11) 12991 + * 12992 + *export default function () { 12993 + * console.log(faker.zen.uintRange(0,4294967295)) 12994 + *} 12995 + * 12996 + *``` 12997 + * **Output** (formatted as JSON value) 12998 + *```json 12999 + * 2131652109 13000 + * ``` 13001 + */ 13002 + uintRange(min: number, max: number): number; 13003 + 13004 + /** 13005 + * Web address that specifies the location of a resource on the internet. 13006 + * @returns a random url 13007 + * @example 13008 + * ```ts 13009 + *import { Faker } from "k6/x/faker" 13010 + * 13011 + *let faker = new Faker(11) 13012 + * 13013 + *export default function () { 13014 + * console.log(faker.zen.url()) 13015 + *} 13016 + * 13017 + *``` 13018 + * **Output** (formatted as JSON value) 13019 + *```json 13020 + * "http://www.forwardtransition.biz/enhance/benchmark" 13021 + * ``` 13022 + */ 13023 + url(): string; 13024 + 13025 + /** 13026 + * String sent by a web browser to identify itself when requesting web content. 13027 + * @returns a random user agent 13028 + * @example 13029 + * ```ts 13030 + *import { Faker } from "k6/x/faker" 13031 + * 13032 + *let faker = new Faker(11) 13033 + * 13034 + *export default function () { 13035 + * console.log(faker.zen.userAgent()) 13036 + *} 13037 + * 13038 + *``` 13039 + * **Output** (formatted as JSON value) 13040 + *```json 13041 + * "Mozilla/5.0 (X11; Linux i686) AppleWebKit/5311 (KHTML, like Gecko) Chrome/37.0.834.0 Mobile Safari/5311" 13042 + * ``` 13043 + */ 13044 + userAgent(): string; 13045 + 13046 + /** 13047 + * Unique identifier assigned to a user for accessing an account or system. 13048 + * @returns a random username 13049 + * @example 13050 + * ```ts 13051 + *import { Faker } from "k6/x/faker" 13052 + * 13053 + *let faker = new Faker(11) 13054 + * 13055 + *export default function () { 13056 + * console.log(faker.zen.username()) 13057 + *} 13058 + * 13059 + *``` 13060 + * **Output** (formatted as JSON value) 13061 + *```json 13062 + * "Abshire5538" 13063 + * ``` 13064 + */ 13065 + username(): string; 13066 + 13067 + /** 13068 + * 128-bit identifier used to uniquely identify objects or entities in computer systems. 13069 + * @returns a random uuid 13070 + * @example 13071 + * ```ts 13072 + *import { Faker } from "k6/x/faker" 13073 + * 13074 + *let faker = new Faker(11) 13075 + * 13076 + *export default function () { 13077 + * console.log(faker.zen.uuid()) 13078 + *} 13079 + * 13080 + *``` 13081 + * **Output** (formatted as JSON value) 13082 + *```json 13083 + * "ea6ab1ab-f06c-4990-835d-e628b7e659e1" 13084 + * ``` 13085 + */ 13086 + uuid(): string; 13087 + 13088 + /** 13089 + * Occurs when input data fails to meet required criteria or format specifications. 13090 + * @returns a random validation error 13091 + * @example 13092 + * ```ts 13093 + *import { Faker } from "k6/x/faker" 13094 + * 13095 + *let faker = new Faker(11) 13096 + * 13097 + *export default function () { 13098 + * console.log(faker.zen.validationError()) 13099 + *} 13100 + * 13101 + *``` 13102 + * **Output** (formatted as JSON value) 13103 + *```json 13104 + * {} 13105 + * ``` 13106 + */ 13107 + validationError(): string; 13108 + 13109 + /** 13110 + * Edible plant or part of a plant, often used in savory cooking or salads. 13111 + * @returns a random vegetable 13112 + * @example 13113 + * ```ts 13114 + *import { Faker } from "k6/x/faker" 13115 + * 13116 + *let faker = new Faker(11) 13117 + * 13118 + *export default function () { 13119 + * console.log(faker.zen.vegetable()) 13120 + *} 13121 + * 13122 + *``` 13123 + * **Output** (formatted as JSON value) 13124 + *```json 13125 + * "Broccoli" 13126 + * ``` 13127 + */ 13128 + vegetable(): string; 13129 + 13130 + /** 13131 + * Word expressing an action, event or state. 13132 + * @returns a random verb 13133 + * @example 13134 + * ```ts 13135 + *import { Faker } from "k6/x/faker" 13136 + * 13137 + *let faker = new Faker(11) 13138 + * 13139 + *export default function () { 13140 + * console.log(faker.zen.verb()) 13141 + *} 13142 + * 13143 + *``` 13144 + * **Output** (formatted as JSON value) 13145 + *```json 13146 + * "dig" 13147 + * ``` 13148 + */ 13149 + verb(): string; 13150 + 13151 + /** 13152 + * Phrase that Consists of a verb and its modifiers, expressing an action or state. 13153 + * @returns a random verb phrase 13154 + * @example 13155 + * ```ts 13156 + *import { Faker } from "k6/x/faker" 13157 + * 13158 + *let faker = new Faker(11) 13159 + * 13160 + *export default function () { 13161 + * console.log(faker.zen.verbPhrase()) 13162 + *} 13163 + * 13164 + *``` 13165 + * **Output** (formatted as JSON value) 13166 + *```json 13167 + * "cheerfully cry enormously beautifully with easy day less badly" 13168 + * ``` 13169 + */ 13170 + verbPhrase(): string; 13171 + 13172 + /** 13173 + * Day of the week excluding the weekend. 13174 + * @returns a random weekday 13175 + * @example 13176 + * ```ts 13177 + *import { Faker } from "k6/x/faker" 13178 + * 13179 + *let faker = new Faker(11) 13180 + * 13181 + *export default function () { 13182 + * console.log(faker.zen.weekday()) 13183 + *} 13184 + * 13185 + *``` 13186 + * **Output** (formatted as JSON value) 13187 + *```json 13188 + * "Sunday" 13189 + * ``` 13190 + */ 13191 + weekday(): string; 13192 + 13193 + /** 13194 + * Basic unit of language representing a concept or thing, consisting of letters and having meaning. 13195 + * @returns a random word 13196 + * @example 13197 + * ```ts 13198 + *import { Faker } from "k6/x/faker" 13199 + * 13200 + *let faker = new Faker(11) 13201 + * 13202 + *export default function () { 13203 + * console.log(faker.zen.word()) 13204 + *} 13205 + * 13206 + *``` 13207 + * **Output** (formatted as JSON value) 13208 + *```json 13209 + * "quickly" 13210 + * ``` 13211 + */ 13212 + word(): string; 13213 + 13214 + /** 13215 + * Period of 365 days, the time Earth takes to orbit the Sun. 13216 + * @returns a random year 13217 + * @example 13218 + * ```ts 13219 + *import { Faker } from "k6/x/faker" 13220 + * 13221 + *let faker = new Faker(11) 13222 + * 13223 + *export default function () { 13224 + * console.log(faker.zen.year()) 13225 + *} 13226 + * 13227 + *``` 13228 + * **Output** (formatted as JSON value) 13229 + *```json 13230 + * 1979 13231 + * ``` 13232 + */ 13233 + year(): number; 13234 + 13235 + /** 13236 + * Numerical code for postal address sorting, specific to a geographic area. 13237 + * @returns a random zip 13238 + * @example 13239 + * ```ts 13240 + *import { Faker } from "k6/x/faker" 13241 + * 13242 + *let faker = new Faker(11) 13243 + * 13244 + *export default function () { 13245 + * console.log(faker.zen.zip()) 13246 + *} 13247 + * 13248 + *``` 13249 + * **Output** (formatted as JSON value) 13250 + *```json 13251 + * "25388" 13252 + * ``` 13253 + */ 13254 + zip(): string; 13255 + } 13256 + 13257 + }
+82
utils/agent.ts
··· 1 + // From https://github.com/Aero25x/random-user-agents 2 + 3 + function getRandomElement<T>(arr: T[]): T { 4 + return arr[Math.floor(Math.random() * arr.length)]; 5 + } 6 + 7 + export function generateRandomUserAgent(deviceType?: string, browserType?: string): string { 8 + const devices = ['android', 'ios', 'windows', 'ubuntu']; 9 + const browsers = ['chrome', 'firefox']; 10 + 11 + if (!deviceType) { 12 + deviceType = getRandomElement(devices); 13 + } 14 + 15 + if (!browserType) { 16 + browserType = getRandomElement(browsers); 17 + } 18 + 19 + let browserVersion: string; 20 + if (browserType === 'chrome') { 21 + const majorVersion = Math.floor(Math.random() * (127 - 110) + 110); 22 + const minorVersion = Math.floor(Math.random() * 10); 23 + const buildVersion = Math.floor(Math.random() * (10000 - 1000) + 1000); 24 + const patchVersion = Math.floor(Math.random() * 100); 25 + browserVersion = `${majorVersion}.${minorVersion}.${buildVersion}.${patchVersion}`; 26 + } else { 27 + const firefoxVersions = Array.from({ length: 10 }, (_, i) => 90 + i); 28 + browserVersion = getRandomElement(firefoxVersions).toString(); 29 + } 30 + 31 + if (deviceType === 'android') { 32 + const androidVersions = ['10.0', '11.0', '12.0', '13.0']; 33 + const androidDevices = [ 34 + 'SM-G960F', 'Pixel 5', 'SM-A505F', 'Pixel 4a', 'Pixel 6 Pro', 'SM-N975F', 35 + 'SM-G973F', 'Pixel 3', 'SM-G980F', 'Pixel 5a', 'SM-G998B', 'Pixel 4', 36 + 'SM-G991B', 'SM-G996B', 'SM-F711B', 'SM-F916B', 'SM-G781B', 'SM-N986B', 37 + 'SM-N981B', 'Pixel 2', 'Pixel 2 XL', 'Pixel 3 XL', 'Pixel 4 XL', 38 + 'Pixel 5 XL', 'Pixel 6', 'Pixel 6 XL', 'Pixel 6a', 'Pixel 7', 'Pixel 7 Pro', 39 + 'OnePlus 8', 'OnePlus 8 Pro', 'OnePlus 9', 'OnePlus 9 Pro', 'OnePlus Nord', 'OnePlus Nord 2', 'OnePlus Nord CE', 'OnePlus 10', 'OnePlus 10 Pro', 'OnePlus 10T', 'OnePlus 10T Pro', 40 + 'Xiaomi Mi 9', 'Xiaomi Mi 10', 'Xiaomi Mi 11', 'Xiaomi Redmi Note 8', 'Xiaomi Redmi Note 9', 41 + 'Huawei P30', 'Huawei P40', 'Huawei Mate 30', 'Huawei Mate 40', 'Sony Xperia 1', 42 + 'Sony Xperia 5', 'LG G8', 'LG V50', 'LG V60', 'Nokia 8.3', 'Nokia 9 PureView' 43 + ]; 44 + const androidVersion = getRandomElement(androidVersions); 45 + const androidDevice = getRandomElement(androidDevices); 46 + if (browserType === 'chrome') { 47 + return `Mozilla/5.0 (Linux; Android ${androidVersion}; ${androidDevice}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${browserVersion} Mobile Safari/537.36`; 48 + } else { 49 + return `Mozilla/5.0 (Android ${androidVersion}; Mobile; rv:${browserVersion}.0) Gecko/${browserVersion}.0 Firefox/${browserVersion}.0`; 50 + } 51 + } else if (deviceType === 'ios') { 52 + const iosVersions = ['13.0', '14.0', '15.0', '16.0']; 53 + const iosDevices = [ 54 + 'iPhone X', 'iPhone 11', 'iPhone 12', 'iPhone 13', 'iPad Pro', 'iPad Mini' 55 + ]; 56 + const iosVersion = getRandomElement(iosVersions); 57 + const iosDevice = getRandomElement(iosDevices); 58 + if (browserType === 'chrome') { 59 + return `Mozilla/5.0 (iPhone; CPU iPhone OS ${iosVersion.replace('.', '_')} like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) CriOS/${browserVersion} Mobile/15E148 Safari/604.1`; 60 + } else { 61 + return `Mozilla/5.0 (iPhone; CPU iPhone OS ${iosVersion.replace('.', '_')} like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/${browserVersion}.0 Mobile/15E148 Safari/605.1.15`; 62 + } 63 + } else if (deviceType === 'windows') { 64 + const windowsVersions = ['10.0', '11.0']; 65 + const windowsVersion = getRandomElement(windowsVersions); 66 + if (browserType === 'chrome') { 67 + return `Mozilla/5.0 (Windows NT ${windowsVersion}; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${browserVersion} Safari/537.36`; 68 + } else { 69 + return `Mozilla/5.0 (Windows NT ${windowsVersion}; Win64; x64; rv:${browserVersion}.0) Gecko/${browserVersion}.0 Firefox/${browserVersion}.0`; 70 + } 71 + } else if (deviceType === 'ubuntu') { 72 + const ubuntuVersions = ['20.04', '22.04']; 73 + const ubuntuVersion = getRandomElement(ubuntuVersions); 74 + if (browserType === 'chrome') { 75 + return `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${browserVersion} Safari/537.36`; 76 + } else { 77 + return `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:${browserVersion}.0) Gecko/${browserVersion}.0 Firefox/${browserVersion}.0`; 78 + } 79 + } 80 + 81 + return ''; 82 + }