Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sherpa-onnx-node

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sherpa-onnx-node - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

non-streaming-tts.js

5

addon.js

@@ -23,2 +23,3 @@ const os = require('os');

// do nothing; try the next option
console.log(error);
;

@@ -29,4 +30,4 @@ }

if (!found) {
let msg =
`Could not find sherpa-onnx. Tried\n\n ${possible_paths.join('\n ')}\n`
let msg = `Could not find sherpa-onnx-node. Tried\n\n ${
possible_paths.join('\n ')}\n`
if (os.platform() == 'darwin' && process.env.DYLD_LIBRARY_PATH &&

@@ -33,0 +34,0 @@ !process.env.DYLD_LIBRARY_PATH.includes(

12

package.json
{
"name": "sherpa-onnx-node",
"version": "1.0.17",
"version": "1.0.18",
"description": "Speech-to-text and text-to-speech using Next-gen Kaldi without internet connection",

@@ -48,8 +48,8 @@ "main": "sherpa-onnx.js",

"optionalDependencies": {
"sherpa-onnx-darwin-arm64": "^1.0.17",
"sherpa-onnx-darwin-x64": "^1.0.17",
"sherpa-onnx-linux-x64": "^1.0.17",
"sherpa-onnx-linux-arm64": "^1.0.17",
"sherpa-onnx-win-x64": "^1.0.17"
"sherpa-onnx-darwin-arm64": "^1.0.18",
"sherpa-onnx-darwin-x64": "^1.0.18",
"sherpa-onnx-linux-x64": "^1.0.18",
"sherpa-onnx-linux-arm64": "^1.0.18",
"sherpa-onnx-win-x64": "^1.0.18"
}
}
const addon = require('./addon.js')
const streaming_asr = require('./streaming-asr.js');
const non_streaming_asr = require('./non-streaming-asr.js');
const non_streaming_tts = require('./non-streaming-tts.js');
const vad = require('./vad.js');

@@ -9,2 +10,3 @@

OfflineRecognizer: non_streaming_asr.OfflineRecognizer,
OfflineTts: non_streaming_tts.OfflineTts,
readWave: addon.readWave,

@@ -11,0 +13,0 @@ writeWave: addon.writeWave,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc