1.0.3 • Published 1 year ago

hos-find-file v1.0.3

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

hos-find-file

A module to find a file in a directory.

Installation

To install the package, run: npm install find-file-demo

Usage

To use the package, simply require it in your code and call the findFile() function, passing in the directory and file name as arguments:

const hosFindFile = require("hos-find-file");

const fileDir = "xxx";
const fileName = "index.js";
const result = hosFindFile.hasFileInDirectory(fileDir, fileName);
console.log(result);
const hasFileResult = hosFindFile.hasFile("xxx");
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago