7 Program to Delete/Un-link File in NodeJS Atharva Satyendra Agrawal August 12, 2020 Atharva Satyendra Agrawal Program: var fs = require('fs'); fs.unlink('demo.txt',function(){ console.log("File Deleted"); }); Output: Tweet Share Share Share Related Post