Skip to content

SquareFactory/ldapjs-client

Repository files navigation

@csquare/ldapjs-client

GitHub license npm

Promisified version of the ldapjs package with additional typings.

Acknowledgments

This library heavily relies on the ldapjs package. Please see http://ldapjs.org/ for the complete detailed usage.

Installation

Install with npm:

npm install --save @csquare/ldapjs-client

Install with Yarn:

yarn add @csquare/ldapjs-client

Usage

import { createClient } from '@csquare/ldapjs-client';

(async () => {
  const options = {};
  const client = createClient(options);
  await client.bind(/* args */);
})();