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
commit89d8a8adaf282b866d2b1ec8d94edb4c141f8eec (patch)
tree1ecb78b2972be0f5c4683a47311417e4c60c88f2 /src/app.ts
downloadnode-uwufy-89d8a8adaf282b866d2b1ec8d94edb4c141f8eec.tar.xz
node-uwufy-89d8a8adaf282b866d2b1ec8d94edb4c141f8eec.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