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

nodejs-whisper

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-whisper - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

1

dist/types.d.ts

@@ -7,2 +7,3 @@ export interface WhisperOptions {

translateToEnglish?: boolean;
language?: string;
timestamps_length?: number;

@@ -9,0 +10,0 @@ wordTimestamps?: boolean;

3

dist/WhisperHelper.js

@@ -11,2 +11,3 @@ "use strict";

const constructCommand = (filePath, args) => {
var _a, _b;
let errors = [];

@@ -27,3 +28,3 @@ if (!args.modelName) {

const modelName = constants_1.MODEL_OBJECT[args.modelName];
let command = `./main ${constructOptionsFlags(args)} -l auto -m ./models/${modelName} -f ${filePath}`;
let command = `./main ${constructOptionsFlags(args)} -l ${((_a = args.whisperOptions) === null || _a === void 0 ? void 0 : _a.language) ? (_b = args.whisperOptions) === null || _b === void 0 ? void 0 : _b.language : "auto"} -m ./models/${modelName} -f ${filePath}`;
return command;

@@ -30,0 +31,0 @@ };

{
"name": "nodejs-whisper",
"version": "0.1.16",
"version": "0.1.17",
"description": "Node bindings for OpenAI's Whisper. Optimized for CPU.",

@@ -23,3 +23,4 @@ "main": "dist/index.js",

"build": "tsc && chmod +x dist/downloadModel.js",
"format": "prettier --write src/**/*.ts"
"format": "prettier --write src/**/*.ts",
"publish":"npm run build; npm publish"
},

@@ -26,0 +27,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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