# seneca-ldap-store

> Seneca LDAP Store

Latest version **0.0.1** (published 2014-02-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install seneca-ldap-store
pnpm add seneca-ldap-store
yarn add seneca-ldap-store
bun add seneca-ldap-store
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-02-12 |
| First published | 2014-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alan Bradley |
| Maintainers | gangleri |
| Keywords | Seneca, LDAP |

## Links

- npm: https://www.npmjs.com/package/seneca-ldap-store
- Repository: https://github.com/gangleri/seneca-ldap-store
- Issues: https://github.com/gangleri/seneca-ldap-store/issues
- npm.io page: https://npm.io/package/seneca-ldap-store

## Dependencies (1)

- [ldapjs](https://npm.io/package/ldapjs.md) ~0.7.0

## Recent versions

- 0.0.1 (latest) — 2014-02-12

## README

# seneca-ldap-store

### Seneca node.js data-storage plugin for LDAP

This is a plugin for the [Seneca framework](http://senecajs.org/). It provides a storage engine
that uses LDAP.

The Seneca framework provides an [ActiveRecord-style data storage API](http://senecajs.org/data-entities.html). 
Each supported database has a plugin, such as this one, that
provides the underlying Seneca plugin actions required for data
persistence.

### Support
If you're using this module, feel free to contact me on twitter if you
have an questions [@gangleri_](http://twitter.com/gangleri_)

Current Version: [![NPM version](https://badge.fury.io/js/seneca-ldap-store.png)](http://badge.fury.io/js/seneca-ldap-store) 

[![build status](https://secure.travis-ci.org/gangleri/seneca-ldap-store.png)](http://travis-ci.org/gangleri/seneca-ldap-store)
[![Dependency Status](https://david-dm.org/gangleri/seneca-ldap-store.png)](https://david-dm.org/gangleri/seneca-ldap-store)
[![DevDependency Status](https://david-dm.org/gangleri/seneca-ldap-store/dev-status.png)](https://david-dm.org/gangleri/seneca-ldap-store#info=devDependencies&view=table)

### Quick example
```JavaScript
var seneca = require('seneca')()
seneca.use('ldap-store', {
  url: 'ldap://127.0.0.1:1389',
  password: 'secret',
  dn: 'cn=root'
})

seneca.ready(function(){
  var user = seneca.make$('dev')
  user.dn  = 'cn=foo, ou=users, o=example'
  user.objectClass= 'unixUser'
  user.save$(function(err, user){
    console.log( "user.id = " + user.id  )
  })
})
```


### Install
```sh
npm install seneca-ldap-store
```

### Test
```sh
npm test
```

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