aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.ts')
-rw-r--r--src/app.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.ts b/src/app.ts
new file mode 100644
index 0000000..9919eb4
--- /dev/null
+++ b/src/app.ts
@@ -0,0 +1,6 @@
+const uwufy = (input: string): string => {
+ input = input.replace(/(?:l|r)/g, 'w');
+ input = input.replace(/(?:L|R)/g, 'W');
+ return input;
+}
+export = uwufy; \ No newline at end of file