node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


Node ldap elasticsearch

Convert ldap query (from ldapjs project) to elastic search query. With few code, you create a ldap server wich ask question to your elastic search index.

Imagine querying from your mail client to your intranet data stored in a classic storage (mysql, mongodb …)

What you can do

  • or, and, equality, substr filters

What you can't do

  • there is a bug with not
  • no authentification for now

What will never work

  • no equivalent for >= and <=

Install and test

npm install .

npm test


There is a simple example in the example/addressbook folder.


The example use elastical, but the query conversion is agnostic.