sherpa-onnx-node-addon-api
    Preparing search index...

    sherpa-onnx-node-addon-api

    Introduction

    This folder contains node-addon-api wrapper for sherpa-onnx.

    Caution: This folder is for developer only.

    git clone https://github.com/k2-fsa/sherpa-onnx
    cd sherpa-onnx
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=./install -DBUILD_SHARED_LIBS=ON ..
    make -j install
    export PKG_CONFIG_PATH=$PWD/install:$PKG_CONFIG_PATH
    cd ../scripts/node-addon-api/
    npm i
    ./node_modules/.bin/cmake-js compile --log-level verbose

    # see test/test_asr_streaming_transducer.js
    # for usages

    Please see doc at https://k2-fsa.github.io/sherpa/onnx/javascript-api/index.html.

    API doc can be found at https://k2-fsa.github.io/sherpa/onnx/javascript-api/html/index.html