From 89d8a8adaf282b866d2b1ec8d94edb4c141f8eec Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Fri, 17 Apr 2020 12:38:33 -0700 Subject: A New Beginning --- src/app.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/app.ts (limited to 'src') 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 -- cgit v1.2.3