Haxe is a programming language. When compiled, it outputs other languages (e.g. JS). So the Haxe compiler is also known as a transpiler.
Haxe as a language itself does not have a concept of “client-side” or “server-side”. Just like Java. You can write both client code and server code in Java. So does Haxe.