# opendj-rest-wrapper

> JavaScript library for OpenDJ REST API to access directory data as JSON resources over HTTP

Latest version **1.0.0** (published 2017-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install opendj-rest-wrapper
pnpm add opendj-rest-wrapper
yarn add opendj-rest-wrapper
bun add opendj-rest-wrapper
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-03-24 |
| First published | 2017-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Irfan Naeem |
| Maintainers | ifi_naeem |
| Keywords | ForgeRock, OpenDJ REST API |

## Links

- npm: https://www.npmjs.com/package/opendj-rest-wrapper
- Repository: https://github.com/NuAxis/opendj-rest-wrapper
- Homepage: https://github.com/NuAxis/opendj-rest-wrapper#readme
- Issues: https://github.com/NuAxis/opendj-rest-wrapper/issues
- npm.io page: https://npm.io/package/opendj-rest-wrapper

## Dependencies (2)

- [request](https://npm.io/package/request.md) 2.79.0
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.0

## Recent versions

- 1.0.0 (latest) — 2017-03-24

## README

# opendj-rest-wrapper
JavaScript library for OpenDJ REST API to access directory data as JSON resources over HTTP

    npm install opendj-rest-wrapper

# Interfaces
```javascript
var client = require('opendj-rest-wrapper');

client.getUser(userName, callback),
client.createUser(data, callback),
client.updateUser(userName, data, callback),
client.deleteUser(userName, callback),
client.changeUserPassword(userName, data, callback),
client.resetUserPassword(userName, data, callback),

```

# Configuration
```Environment variables
# OPENDJ REST API
export OPENDJ_URL_BASE=(URL of the server including port, Must be HTTPS for password management)
export OPENDJ_PATH_USERS=(Path of user management, Default '/users')
export OPENDJ_PATH_PASSWORD=(Path of password management, Default '/users')
export OPENDJ_USERNAME=(Admin username for basic auth)
export OPENDJ_PASSWORD=(Admin user password for basic auth)
export OPENDJ_CACERT=(Certificate if not using well-known CA, Must be specified for password management)

```

# Test

    npm test

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