ldaplookup
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

LDAP Lookup

Build Status

LDAP lookup library for node.js

Installing

npm i --save ldaplookup

Usage

// load the library
const ldaplookup = require('ldaplookup');

// lookup ldap servers
const addresses = await ldaplookup('your.ldapdomain');

// print the first ip address found
console.log(`First ldap server found: ${addresses[0]}`);

Types

You can also use the library through provided definition types.

// load the library
import * as ldaplookup from 'ldaplookup';

// lookup ldap servers
const addresses: string[] = await ldaplookup('your.ldapdomain');

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Readme

Keywords

none

Package Sidebar

Install

npm i ldaplookup

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

7.6 kB

Total Files

9

Last publish

Collaborators

  • foxbit19