🐢 Keb what are some options excluding TypeScript and Flow for type-checking a Node project?
🧐 Nrmn I'm honestly not sure there are any except using a cross-compiled language. Almost everything is nowadays compiling to WASM. But there are other languages that compile directly to Javascript as well. For example dart.dev
··· 3y, 19w 6 replies
Login or register your account to reply
🖥️ Lesha And, it you're going to target wasm, you'll likely use either C or Rust and at that point you don't really need wasm for server side.
3y, 19w 1 reply
🧐 Nrmn Exactly, then you could go with eg rust directly
3y, 19w reply
🐢 Keb Thanks, I think Haxe is also another option. However, I guess I'm looking for run-time type-checking modules, but doing a cursory search on npm pulls up tons of em, -- so I I'm wondering if anyone on Subreply has any recommendations there. :P
3y, 19w 3 replies
🧐 Nrmn No recommendations for a runtime package from my side except that I would personally prefer compile time checks instead of putting the load onto the client.
3y, 19w 2 replies