Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multi-ldap

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-ldap

ldapjs client wrapper with support for multiple servers

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

multi-ldap

ldapjs client wrapper with support for multiple servers

Provides the same API as ldapjs, except for the createClient method which takes opts, callback arguments. The callback then returns err, client. Servers will be queried in parallel, with the fastest responding server being chosen.

Refer to the ldapjs client API for all supported options.

Installation

$ npm i --save multi-ldap

Usage

const ldap = require('multi-ldap');
ldap.createClient({
  url: [
    'ldaps://1.2.3.4',
    'ldaps://5.6.7.8',
    'ldaps://9.10.11.12',
    'ldaps://13.14.15.16',
  ]
}, function(err, client) {
  // do something with the connected client
});

© silverwind, distributed under BSD licence

Keywords

FAQs

Package last updated on 03 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc