First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 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