@types/jabber
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

Installation

npm install --save @types/jabber

Summary

This package contains type definitions for jabber (https://github.com/dejavu1987/jabber#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jabber.

index.d.ts

declare class Jabber {
    /**
     * @param themeWords Custom words that need to appear in some density
     * @param themeWordDensity appearance of themeword 1 per this number so 5 will make it approx 1 per 5 words
     * @param extraVowels additional vowel chars
     * @param extraConsonants additional consonants
     */
    constructor(
        themeWords?: readonly string[],
        themeWordDensity?: number,
        extraVowels?: string,
        extraConsonants?: string,
    );
    /**
     * Create word of certain length
     */
    createWord(length: number, capitalize?: boolean, avoidThemeWords?: boolean): string;
    /**
     * Create paragraph of certain number of words
     */
    createParagraph(length: number): string;
    /**
     * Create fake full name
     */
    createFullName(salutation?: boolean): string;
    createEmail(customDomain?: string): string;
}

export = Jabber;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by owl-from-hogvarts.

/@types/jabber/

    Package Sidebar

    Install

    npm i @types/jabber

    Weekly Downloads

    1,309

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    4.36 kB

    Total Files

    5

    Last publish

    Collaborators

    • types