node package manager


OTR4 - Off-the-Record Messaging [native-bindings]

This module exposes a simple evented API which wraps the native libotr installed. Supports only versions v4.0.0 and above of the library.

Tested on Debian/Ubuntu and Mac OS X

Install pre-requisits

npm install -g node-gyp

Additional pre-requisits for debian,ubuntu:

apt-get install make awk g++ nodejs-dev libotr5 libotr5-dev

For Mac OS (you need brew and XCode)

brew install libotr

Install from npm registry:

npm install otr4

If the install fails because compiling failed, check that you have all the pre-requisists installed. After resolving the problem you must reinstall the module:

npm install otr4 --force

API Documentation Quick Tutorial




The Excellent OTR Messaging software:

Great guide for writing C++ node.js extensions:

Very useful set of tools when working with v8/Node: