# Recommended Node.js helper library to build queries

**URL:** <https://discuss.elastic.co/t/recommended-node-js-helper-library-to-build-queries/204563>\
**Category:** Elasticsearch\
**Created:** [October 21, 2019, 11:11pm UTC](https://discuss.elastic.co/t/recommended-node-js-helper-library-to-build-queries/204563 "2019-10-21T23:11:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffknob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ffknob/32/37008_2.png) [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Post date:** [October 21, 2019, 11:11pm UTC](https://discuss.elastic.co/t/recommended-node-js-helper-library-to-build-queries/204563/1 "2019-10-21T23:11:59Z")

</div>

Hello.  
I was wondering if there is one official (or prefered) Node.js library to help build query DSL queries.  
I've used "bodybuilder" in the past, but since I'm starting a new project soon I was wondering if this is the way to go or if I should choose another lib.

As far as I know there are at least these three libs:

Bodybuilder: [https://bodybuilder.js.org/](https://bodybuilder.js.org/)

Elastic-builder: [https://elastic-builder.js.org/](https://elastic-builder.js.org/)

The problem is, I don't think they keep up to date. So, which one do you think I shouçd choose? Do you have any other suggestion? Does Elastic provide an official lib?

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 18, 2019, 11:12pm UTC](https://discuss.elastic.co/t/recommended-node-js-helper-library-to-build-queries/204563/2 "2019-11-18T23:12:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
