🔥 Been playing with this, and it has a lot of potential.
Got the Expo Orbit CLI partially running on it with a few patches.
It would be a huge win for Orbit, given that we ship react-native-macos + a pkg'd Node binary for the internal CLI.
Will send some PRs.
Announcing Hermes-node
Hermes can now run as a standalone CLI with Node.js-compatible APIs - no C++ embedding required.
Technically, hermes-node is a Node.js API compatibility layer for Hermes. It ports Node's native bindings (fs, net, http, child_process, etc.) to Node-API and reuses Node's original lib/*.js files, allowing standard Node.js programs to run on Hermes instead of V8. It vendors libuv, c-ares, llhttp, Ada, simdutf, etc to provide the same networking and I/O stack as Node, and runs as a standalone CLI binary.
In this demo:
- REPL with tab completion
- TypeScript HTTP server using http, fs, and path
- Type annotations stripped natively by the parser — no transpiler, not even a built-in one.
This is still a work in progress, though surprisingly functional. More Node modules coming, source will be published soon.