Detalhes do pacote

my-remove

roonie00713ISC1.0.6

This is a module to delete a file or a directory using real environment command RM & DEL & RMDIR

remove, remove file, remove directory, remove files

readme (leia-me)

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");
});