checkbeforedelete
v1.0.0
Published
The function first check and then delete the file
Downloads
3
Readme
checkbeforedelete
The function first check and then delete the file
Usage/Examples
const { checkbeforedelete } = require("checkbeforedelete");
var thepath = `uploads/profilephoto/${oldProfile}`;
//calling function
checkbeforedelete({ path: thepath });