init commit
This commit is contained in:
13
index.js
Normal file
13
index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const video = require("./functions/video");
|
||||
|
||||
// File is used for for testing
|
||||
async function performTest(){
|
||||
video.getVideoInfo("./uploads/test.mp4").then(video => {
|
||||
console.log("Video Size:", video.size, "- duration:", video.durationInSeconds);
|
||||
});
|
||||
}
|
||||
|
||||
performTest();
|
||||
// TODO: do the nightmare of class directions..
|
||||
Reference in New Issue
Block a user