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
- Getting Started — install the package and verify a connection.
- Installation — direct dependencies, npm overrides, Yarn resolutions, and pnpm overrides.
- Migration from ldapjs — decide whether the fork fits and test the replacement.
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.