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

m3u8-to-mp4-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m3u8-to-mp4-cli - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

.tmp/0.ts

15

index.js
#!/usr/bin/env node
const converter = require("node-m3u8-to-mp4");
const ProgressBar = require("progress");

@@ -12,2 +13,4 @@ const url = process.argv[2];

let progressBar;
converter(

@@ -22,5 +25,11 @@ `${url}.m3u8`,

case "downloading":
console.log(
"downloading process:" + ((index / total) * 100).toFixed(2) + "%"
);
if(!progressBar) {
progressBar = new ProgressBar('downloading [:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
total: total,
width: 20
});
}
progressBar.tick();
break;

@@ -27,0 +36,0 @@ case "combining":

{
"name": "m3u8-to-mp4-cli",
"version": "1.1.0",
"version": "1.1.1",
"description": "m3u8 hosted file to mp4",

@@ -18,3 +18,4 @@ "main": "index.js",

"dependencies": {
"node-m3u8-to-mp4": "^2.0.2"
"node-m3u8-to-mp4": "^2.0.2",
"progress": "^2.0.3"
},

@@ -21,0 +22,0 @@ "devDependencies": {

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