When it mentioned Node.js I prepared myself to get disappointed that it wasn't written in Erlang but instead I was delighted to find that it was written in Rust :)
This is embeddable (since it uses RocksDB). One might want to take advantage of these kinds of JSON search features in an application -- for desktop or mobile -- without spinning up Postgres in a separate process.
Of course, you could always embed the application in Postgres as an extension...