1.0.6 • Published 7 years ago
my-remove v1.0.6
my-remove
This is a module to delete a file or a directory using real environment command RM & DEL & RMDIR (a Directory is removed recursively)
Install
$ npm install my-remove
or (globally)
$ npm install my-remove -g
Example
var myremove = require("my-remove");
myremove(pathToDirectoryOrFileToRemove,function(err)
{
if(err)
throw err;
console.log("removed");
});