eclib

1.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i eclib

Weekly Downloads

5

Version

1.2.0

License

BSD-2-Clause

Last publish

Collaborators

  • kelseasy