Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/uwuifier/index.ts>default

This repository contains the Uwuifier package! It's written in Deno with TypeScript and compiled into JavaScript for NPM, makes use of Jest for testing the code and is deployed on NPM and https://deno.land.
Latest
class default
import { default } from "https://deno.land/x/uwuifier@v4.2.2/index.ts";

Constructors

new
default(unnamed 0?)

Creates an instance of the Uwuifier class with customizable modifiers for words, spaces, and exclamations.

Properties

private
_exclamationsModifier: number
private
_spacesModifier: SpacesModifier
private
_wordsModifier: number
actions: string[]
exclamations: string[]
exclamationsModifier: number

Gets the current exclamations modifier value.

faces: string[]
spacesModifier: SpacesModifier

Gets the current spaces modifier values.

uwuMap:
| RegExp | string[]
| RegExp | string[]
| RegExp | string[]
| RegExp | string[]
| RegExp | string[]
| RegExp | string[]
[]
wordsModifier: number

Gets the current word modifier value.

Methods

uwuifyExclamations(sentence: string): string

Transforms exclamations in a sentence by replacing them with random exclamation patterns.

uwuifySentence(sentence: string): string

Transforms a sentence by applying all uwuify transformations: words, spaces, and exclamations.

uwuifySpaces(sentence: string): string

Transforms the spaces in a sentence by inserting random faces, actions, or stutters.

uwuifyWords(sentence: string): string

Transforms words in a sentence by applying the Uwuifier's word map transformations.