node.js remove file

I think you want to use fs.unlink.

More info on fs can be found here.

Leave a Comment