Generate random content.

  • Parameters

    • paragraphes: number = ...

      Number of paragraphes

    Returns (
        sentenceMin?: number,
        sentenceMax?: number,
    ) => (wordMin?: number, wordMax?: number) => string

    Currying function

      • (
            sentenceMin?: number,
            sentenceMax?: number,
        ): (wordMin?: number, wordMax?: number) => string
      • Parameters

        • sentenceMin: number = 10

          Minimum number of sentences in a paragraph

        • sentenceMax: number = 40

          Maximum number of sentences in a paragraph

        Returns (wordMin?: number, wordMax?: number) => string

        Currying function

          • (wordMin?: number, wordMax?: number): string
          • Parameters

            • wordMin: number = 1

              Minimum number of characters in a sentence

            • wordMax: number = 7

              Maximum number of characters in a sentence

            Returns string

            Content generator