Repository URL to install this package:
|
Version:
1.2.0-1346 ▾
|
Removes a file or directory. The directory can have contents. Like rm -rf.
path <String>const fs = require('fs-extra') // remove file fs.removeSync('/tmp/myfile') fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory.