1.0.2 • Published 6 years ago

libzcs v1.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

LibZCS JavaScript wrapper

Utility bindings for LibZCS in JavaScript/TypeScript

Current Version: 1.0

Simple JavaScript/TypeScript bindings for LibZCS. Includes a binary (JS/WASM) version of LibZCS that can be used with these bindings (in /bin).

Building

Emscripten is used to build this project.

First, set up Emscripten PATH settings:

source <emscripten_install_dir>/emsdk_env.sh

Once that is done, to build (from this repository's root directory, not /typescript):

mkdir wasmbin
cd wasmbin
emcmake cmake ..
emmake libzcs libzcs_js

WASM version: libzcs.js and libzcs.wasm JS-only version: libzcs_js.js and libzcs_js.js.mem

Include both files (for whichever version you want to use) somewhere in your project.

Building the bindings is just npm run build.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago