my-remove
v1.0.6
Published
This is a module to delete a file or a directory using real environment command RM & DEL & RMDIR
Downloads
9
Maintainers
Readme
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");
});