file_remover

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i file_remover

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.27 kB

Total Files

3

Last publish

Collaborators

  • aneesakbar