Skip to Content
Mika Scraper 1.1.1 is released πŸŽ‰
🍩 MIKA TYPE ALIASType Alias: RewriteLevel

Type Alias: RewriteLevel

RewriteLevel = "standard" | "enhanced" | "aggressive"

Defined in: src/humanizer/humanizer.ts:6

Overview

The RewriteLevel type alias defines the supported levels of text rewriting functionality available in the Mika Scraper. Each level indicates a different intensity or style of rewriting the text.

Supported Rewrite Levels

  • standard: Performs basic rewriting with minimal alterations to the original text structure and meaning.
  • enhanced: Provides a moderate level of rewriting, improving the text’s fluency and readability while retaining the original message.
  • aggressive: Applies significant changes to the text, possibly altering its meaning or generating new text based on the original context.

Usage Example

To utilize the RewriteLevel type in your TypeScript code, you can define a variable as follows:

const level: RewriteLevel = "enhanced";

Ensure that the value assigned to level is one of the specified string literals to maintain type safety and prevent runtime errors.

Last updated on