# w-ldap

> A LDAP tool for windows.

Latest version **1.0.29** (published 2026-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install w-ldap
pnpm add w-ldap
yarn add w-ldap
bun add w-ldap
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 1.0.29 |
| Published | 2026-09-13 |
| First published | 2020-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | yuda-lyu |
| Maintainers | semisphere |
| Keywords | package, tool, LDAP, windows, nodejs |

## Links

- npm: https://www.npmjs.com/package/w-ldap
- Repository: https://github.com/yuda-lyu/w-ldap
- Homepage: https://github.com/yuda-lyu/w-ldap#readme
- Issues: https://github.com/yuda-lyu/w-ldap/issues
- npm.io page: https://npm.io/package/w-ldap

## Dependencies (1)

- [wsemi](https://npm.io/package/wsemi.md) ^1.8.92

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.29 (latest) — 2026-09-13
- 1.0.28 — 2026-09-05
- 1.0.27 — 2026-09-02
- 1.0.26 — 2026-09-01
- 1.0.25 — 2026-08-26
- 1.0.24 — 2026-08-21
- 1.0.23 — 2026-08-19
- 1.0.22 — 2026-08-18
- 1.0.21 — 2026-08-18
- 1.0.20 — 2026-08-18
- 1.0.19 — 2026-08-18
- 1.0.18 — 2026-08-08
- 1.0.17 — 2026-08-07
- 1.0.16 — 2026-07-23
- 1.0.15 — 2026-07-22
- … 15 more at https://npm.io/package/w-ldap/versions

## README

# w-ldap
A LDAP tool for windows.

![language](https://img.shields.io/badge/language-JavaScript-orange.svg) 
[![npm version](http://img.shields.io/npm/v/w-ldap.svg?style=flat)](https://npmjs.org/package/w-ldap) 
[![license](https://img.shields.io/npm/l/w-ldap.svg?style=flat)](https://npmjs.org/package/w-ldap) 
[![npm download](https://img.shields.io/npm/dt/w-ldap.svg)](https://npmjs.org/package/w-ldap) 
[![npm download](https://img.shields.io/npm/dm/w-ldap.svg)](https://npmjs.org/package/w-ldap) 
[![jsdelivr download](https://img.shields.io/jsdelivr/npm/hm/w-ldap.svg)](https://www.jsdelivr.com/package/npm/w-ldap)

## Documentation
To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-ldap/global.html).

## Core
> `w-ldap` is based on the `Microsoft .Net Framework`, and only run in `Windows`.

## Installation

### Using npm(ES6 module):
```alias
npm i w-ldap
```

#### Example:
> **Link:** [[dev source code](https://github.com/yuda-lyu/w-ldap/blob/master/g.mjs)]
```alias
import WLdap from 'w-ldap'

async function test() {
    let inp
    let r
    let account = '{account}'
    let password = '{password}'
    let ldappath = 'LDAP://{PATH}'

    inp = {
        mode: 'logIn',
        account,
        password,
        ldappath,
    }
    r = await WLdap(inp)
    console.log('logIn', r)
    w.fsWriteText('logIn.txt', w.o2j(r, true))

    inp = {
        mode: 'listUsers',
        account,
        password,
        ldappath,
    }
    r = await WLdap(inp)
    w.fsWriteText('listUsers.txt', w.o2j(r, true))

}
test()
    .catch((err) => {
        console.log('catch', err)
    })

// => logIn {
//     //LDAP user information
// }
// see logIn.txt and listUsers.txt for details
```

---
_Source: https://npm.io/package/w-ldap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
