init commit

This commit is contained in:
2022-07-28 17:43:13 +02:00
parent c9eec03559
commit 39d9e2cb47
7 changed files with 169 additions and 0 deletions

13
index.js Normal file
View 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..