FileRemover is a Node.js program that removes files from a directory.
Clone the repository and install the dependencies:
git clone
https://github.com/eranees/file_remover.git
OR
npm i file_remover
npm i @aneesakbar/file_remover
To remove files from a directory, run the following function:
node fileremover.js
Call this funciton
fileRemover(directory, fileType)
This is the directory or folder from which you want to clean files.
These are the file types you want to delete from the specified directory.
Examples of file types include:
pdf
jpg
png
Specify the file types you want to delete in the directory.
This project is licensed under the MIT License - see the LICENSE file for details.