mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Moving to node_modules folder to make easier to upgrade
trying to move from Bootstrap 3 to Bootstrap 5
This commit is contained in:
parent
047e363a16
commit
d4d042e041
8460 changed files with 1355889 additions and 547977 deletions
12
node_modules/mpd-parser/bin/parse.js
generated
vendored
Normal file
12
node_modules/mpd-parser/bin/parse.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env node
|
||||
/* eslint-disable no-console */
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const {parse} = require('../dist/mpd-parser.cjs.js');
|
||||
|
||||
const file = path.resolve(process.cwd(), process.argv[2]);
|
||||
const result = parse(fs.readFileSync(file, 'utf8'), {
|
||||
manifestUri: ''
|
||||
});
|
||||
|
||||
console.log(JSON.stringify(result, null, 2));
|
Loading…
Add table
Add a link
Reference in a new issue