Skip to main content

testSherpaInit

Test method to verify that the sherpa-onnx native library is loaded and functioning correctly.
function testSherpaInit(): Promise<string>

Returns

result
string
A success message indicating the native library is loaded and ready
This function is useful for debugging and verifying that the native module is properly linked and accessible before attempting to use STT or TTS features.

Build docs developers (and LLMs) love