aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-17 12:38:33 -0700
committer8cy <[email protected]>2020-04-17 12:38:33 -0700
commit4bff1c9c6245a6081e7e54acc5518c6da86b6fb6 (patch)
tree1ecb78b2972be0f5c4683a47311417e4c60c88f2 /src/app.ts
downloadnode-uwufy-4bff1c9c6245a6081e7e54acc5518c6da86b6fb6.tar.xz
node-uwufy-4bff1c9c6245a6081e7e54acc5518c6da86b6fb6.zip
A New Beginning
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