Skip to content
 
 

Repository files navigation

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.

About

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages