eclib
v1.2.0
Published
A set of NodeJS bindings for liberasurecode and its backends
Downloads
9
Readme
eclib - Bindings for liberasurecode
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.