🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

whisper-node-addon

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whisper-node-addon

a .node addon for whisper

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
12
200%
Maintainers
1
Weekly downloads
 
Created
Source

⚠️ Development Status Warning

This library whisper-node-addon is currently in early experimental phase. APIs may change breakingly and production use is not recommended!

For stable & production-ready solutions, please use the mature library: ChetanXpro/nodejs-whisper 👈 or whisper.cpp

whisper-node-addon 🌐🔉

npm version License: MIT

Automatic whisper.cpp bindings for Node.js & Electron across all platforms.

简体中文

✨ Features

📦 Installation

npm i whisper-node-addon

🚀 Usage

import { transcribe } from 'whisper-node-addon/dist'
const modelPath = path.resolve('./resources/models/ggml-base.bin')

// Transcribe audio
try {
    const result = await transcribe({
        language: 'zh',
        model: modelPath,
        fname_inp: tempFilePath,
        translate: false
    })
    return result.reduce((pre, cur) => pre + (cur[2] || ''), '')
} catch (err) {
    console.error('Error:', err)
    return ''
}

🛠 Build from Source (Optional)

# Build binaries for all platforms
npm run build

📂 File Structure

🤝 Contributing

📜 TODO

⚖️ License

MIT © 2025 starNGC2237

Keywords

node

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts