ldaplookup
v1.0.2
Published
LDAP lookup library for node.js
Downloads
3
Readme
LDAP Lookup
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
- Mattia Peretti - foxbit19
- Tomasz Koziara - tomaszkoziara
License
This project is licensed under the MIT License - see the LICENSE file for details