Browse project docs

ldapjs-community Documentation

Install ldapjs-community, migrate ldapjs v2 applications, and use its client, server, and secure connection APIs.

On this page

ldapjs-community preserves the callback- and event-based ldapjs v2 API for applications that need a community-maintained path with minimal code churn.

v2 API only

Do not switch an ldapjs v3 application to this package. The project currently targets ldapjs v2 compatibility.

Link to Start hereStart here

Link to API referencesAPI references

  • Client API — create clients, bind, search, modify, and disconnect.
  • Server API — create LDAP servers and route protocol operations.
  • Distinguished Name API — parse, compare, navigate, and format DNs.
  • Filter API — parse and construct LDAP search filters.
  • Error API — handle client errors and return LDAP result errors from servers.
  • TLS and StartTLS — use LDAPS or upgrade an LDAP connection securely.

Link to Working examplesWorking examples

The examples use environment variables, explicit error handling, and connection cleanup. For LDAP concepts rather than package behavior, use the existing Learn LDAP material.

Link to Source basisSource basis

These pages are based on ldapjs-community@2.4.0, published October 10, 2026, and the project's v2 repository. Check the repository and npm package before relying on version-sensitive details.