1.0.1 • Published 1 year ago

@aneesakbar/file_remover v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

File Remover

FileRemover is a Node.js program that removes files from a directory.

Installation

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

Usage

To remove files from a directory, run the following function:

node fileremover.js

OR

Call this funciton

fileRemover(directory, fileType)

Directory/Folder

This is the directory or folder from which you want to clean files.

fileType

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Buy me a coffee

1.0.1

1 year ago