I have made a simple JS text editor app for iOS; I'd like to use tsserver to get intellisense and transpilation. I can see how to run tsserver via node or via the browser (as part of TypeScript Playground – however, it comes along with the Monaco editor, and I want it headless, but I don't immediately see how to separate them).
One of the difficulties to consider is that it will presumably need file-system access to load any TypeScript libs (I will be loading it with many custom ones) – I'm not sure how to elegantly solve this with a purely JavaScriptCore solution.
Is there a way to set up just tsserver to run on mobile, ideally without getting a webview involved (as it's unnecessary overhead)?