ElasticSearch and jest client queries

hello
i want to execute this query: curl 'http :// localhost :9200/? pretty '
with jest client but i don't how to do it i didn't find anything in searchbox-io/Jest github.

Can anyone help !! thanks