<commit_before>A simple node.js lib to authenticate against an LDAP server.

# Usage

    var LdapAuth = require('ldapauth');
    var options = {
        url: 'ldaps://ldap.example.com:663',
        adminDn: '...'
        
        ...
    {
    };
    var auth = new LdapAuth(options);
    ...
    auth.authenticate(username, password, function(err, user) { ... });
    ...
    auth.close(function(err) { ... })

# Install

    npm install ldapauth

# `LdapAuth` Config Options

[Use the source Luke](XXX)<commit_msg>appropriate link to comment in source<commit_after>A simple node.js lib to authenticate against an LDAP server.

# Usage

    var LdapAuth = require('ldapauth');
    var options = {
        url: 'ldaps://ldap.example.com:663',
        adminDn: '...'
        
        ...
    {
    };
    var auth = new LdapAuth(options);
    ...
    auth.authenticate(username, password, function(err, user) { ... });
    ...
    auth.close(function(err) { ... })

# Install

    npm install ldapauth

# `LdapAuth` Config Options

[Use the source Luke](https://github.com/trentm/node-ldapauth/blob/master/lib/ldapauth.js#L25-45)
{'fraction_non_alphanumeric': 0.15057573073516387, 'fraction_numerical': 0.008857395925597875, 'mean_word_length': 2.304093567251462, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1902397', 'n_tokens_mistral': 385, 'n_tokens_neox': 369, 'n_words': 82}