import { file } from "../assets/file.js"; const dump = (path) => { const target = new file(path); console.log("Input: " + path); console.log("Full path: " + target.full_path); console.log("Name: " + target.name); console.log("Type: " + target.extension); console.log("Path: " + target.path); console.log(""); } dump("name.txt"); dump("./where_is_the/file.tar.gz"); dump("/OwO/UwU/z.c"); dump("test");