fs-force-delete
Requirements
- Node >= 6.0.0
Usage
var rm = ;
The code above would check for 'foo'
existence,
- If
'foo'
doesn't exist,rm
does nothing - If
'foo'
is a file,rm
would deletes that file - If
'foo'
is a directory,rm
would recurs itself with children of'foo'
and then deletes'foo'