const FormData = require("form-data")const form = new FormData();form.append("file", fs.createFileStream("path/to/file"));