JSPM

file_remover

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q21239F
  • License ISC

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

Package Exports

  • file_remover
  • file_remover/fileremover.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (file_remover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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