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

yt-converter

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yt-converter - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

0

.eslintrc.json

@@ -0,0 +0,0 @@ {

2

package.json
{
"name": "yt-converter",
"version": "1.3.4",
"version": "1.3.5",
"description": "A youtube video converter for mp3 and mp4 using node-ytdl and ffmpeg",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -0,0 +0,0 @@ # Node YoutubeDL - Easy to use downloader for YouTube videos

@@ -0,0 +0,0 @@ const convertAudio = require("./utils/convertAudio")

@@ -14,3 +14,3 @@ /* eslint-disable no-unused-vars */

const title = await getTitle
const ingfo = await getIngfo
const info = await getIngfo
const thumb = await getThumb

@@ -28,3 +28,3 @@ const thumbnails = thumb.split("?")

}, () => {
console.log(ingfo)
console.log(info)
})

@@ -31,0 +31,0 @@ }

@@ -60,3 +60,3 @@ const ytdl = require("ytdl-core");

const format = info.formatsAudio.find((fm) => fm.audioBitrate === 160 || (itag ? fm.itag === itag : fm.quality === "tiny"))
const title = parserTitles(info.title)
const title = parserTitles(options?.title) || parserTitles(info.title)
const stream = ytdl(url, {

@@ -63,0 +63,0 @@ filter: "audioonly",

@@ -0,0 +0,0 @@ const ytdl = require("ytdl-core");

const fs = require("fs");
module.exports = { fileExist: (pathname) => fs.existsSync(pathname) }

@@ -0,0 +0,0 @@ const ytdl = require("ytdl-core")

@@ -0,0 +0,0 @@ const parserTitles = (title) => {

@@ -0,0 +0,0 @@ /**

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