Currently we have client server application (for competitive coding purposes) where client hit compile and run and sends ts code to server where ts code is stored in a file and run locally with testcases on server and output is returned to client with test case pass/fail result. But running ts file is very slow and this is taking so much time.
I am using ts-node in transpileonly mode to compile and run the file locally in server.
eg. npx ts-node -T tsFileName.ts
Our requirement is fastened to compile and run time of ts code.