How to build dynamic queries with node.js

What is the best way to build dynamic queries using node.js? I read about NEST and, but I didn't understand whether I can use it on node.js.
Currently I'm appending dynamic objects using DSL. Examples will be wellcome.


Have you looked at the elasticsearch-js client library?

Yes of course, but it's not mentioned nothing about 'NEST'.

Does it possible to build queries in object like form (ODM) or only on the regular DSL form?

I am not aware of any higher level library, similar to NEST for .NET, being available for the elasticsearch-js client. Maybe someone else knows better.