Displaying 1 to 8 from 8 results

del - Delete files and directories

  •    Javascript

Similar to rimraf, but with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.Support this project and improve your JavaScript skills with this great ES6 course by Wes Bos. Try his free JavaScript 30 course for a taste of what to expect. You might also like his React and Sublime course.




eliminate - Delete files and directories without all the bullshit

  •    Javascript

Deletes the directory or file. If the filepath is a non-empty directory, everything in it will be deleted recursively. The file or directory path to delete.

commandir - :open_file_folder: Effortless mkdir and rmdir for Node.js

  •    Javascript

The argument is either a single path given as a string or an array of such strings. On success, the promise resolves to an array of strings which holds the paths of all directories that were created. If no directories were created, resolves to an empty array.

find-remove - recursively finds files by filter options from a start directory onwards and deletes these

  •    Javascript

recursively finds files by filter options from a start directory onwards and deletes those who meet conditions you can define. useful if you want to clean up a directory in your node.js app. why the heck do we have this maxLevel option? because of performance. if you care about deep subfolders, apply that option to get a speed boost.