Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:2.1:nodehandler [2019/01/15 15:55]
127.0.0.1 external edit
documentation:2.1:nodehandler [2019/08/31 09:30] (current)
xguimard
Line 1: Line 1:
 ====== Node.js handler ====== ====== Node.js handler ======
  
-Since version 2.0, a beta Node.js handler is available on [[https://​github.com/​LemonLDAPNG/​node-lemonldap-ng-handler|GitHub]] and [[https://​www.npmjs.com/​package/​node-lemonldap-ng-handler|NPMJS]].+Since version 2.0, a beta Node.js handler is available on [[https://​github.com/​LemonLDAPNG/​node-lemonldap-ng-handler|GitHub]] and [[https://​www.npmjs.com/​package/​lemonldap-ng-handler|NPMJS]].
  
 Up-to-date documentation is available on GitHub. Up-to-date documentation is available on GitHub.
Line 22: Line 22:
  
 <file javascript server.js>​ <file javascript server.js>​
-var handler = require('​node-lemonldap-ng-handler'​);​+var handler = require('​lemonldap-ng-handler'​);​
  
 handler.init({ handler.init({
Line 76: Line 76:
 var express = require('​express'​);​ var express = require('​express'​);​
 var app = express(); var app = express();
-var handler = require('​node-lemonldap-ng-handler'​);​+var handler = require('​lemonldap-ng-handler'​);​
  
 // initialize handler (optional args) // initialize handler (optional args)