Publish node-addon-api wrapper for sherpa-onnx as npm packages (#829)
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
# Introduction
|
||||
|
||||
Note: You need `Node >= 18`.
|
||||
|
||||
This directory contains nodejs examples for [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx).
|
||||
|
||||
It uses WebAssembly to wrap `sherpa-onnx` for NodeJS and it does not support multiple threads.
|
||||
|
||||
Note: [../nodejs-addon-examples](../nodejs-addon-examples) uses
|
||||
[node-addon-api](https://github.com/nodejs/node-addon-api) to wrap
|
||||
`sherpa-onnx` for NodeJS and it supports multiple threads.
|
||||
|
||||
Before you continue, please first run
|
||||
|
||||
```bash
|
||||
@@ -13,7 +21,6 @@ npm i
|
||||
In the following, we describe how to use [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx)
|
||||
for text-to-speech and speech-to-text.
|
||||
|
||||
Note: You need `Node >= 18`.
|
||||
|
||||
# Text-to-speech
|
||||
|
||||
|
||||
Reference in New Issue
Block a user