1.2.0 • Published 8 years ago

eclib v1.2.0

Weekly downloads
3
License
BSD-2-Clause
Repository
github
Last release
8 years ago

eclib - Bindings for liberasurecode

Circle CI npm version

eclib is a set of NodeJS bindings for liberasurecode and its backends.

Installation

# We rely on node-gyp to build our binaries
npm install -g node-gyp

# Install eclib
npm install eclib --save

# We link to the libraries we installed earlier
# On Linux
LD_LIBRARY_PATH=node_modules/eclib/libs/lib ./your_script
# On OSX
DYLD_LIBRARY_PATH=node_modules/eclib/libs/lib ./your_script
# You may export that environment variable for ease of use.

That's all!

Usage

// ES5
var eclib = require('eclib');

var Eclib = new eclib(opts);
Eclib.init();

See the API documentation for a more detailed explanation.

License

eclib is distributed under the terms of the BSD license.

Contribute

If you want to contribute in any way, please read our guidelines.