Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including otr4-em with all npm packages installed. Try it out:

var otr4Em = require("otr4-em")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

otr4-em v0.2.3

Off-the-Record Messaging Protocol [emscripten libotr4.1.1]

OTR4-em - Off-the-Record Messaging [emscripten]

This module exposes a simple event emitting API which wraps around libotr4.1.0 compiled to javascript using the emscripten compiler.

You can install the module directly from npm registry:

npm install otr4-em

A short tutorial is available.

Latest API documentation can be found here

For version's older than v0.1.0 see documentation here

Example Use:

Related projects:

  • otr talk p2p chat (command line chat app)

License

The module is dual licensed: GPLv2 and LGPL You may choose the license that is more suitable for your application.

built on

Important Note: The package includes an optimised/minified precompiled libotr4.js to simplify npm package installation. You may rebuild libotr4.js from source if required. How-to build libotr4.js

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free