0.0.5 • Published 28 days ago

@bloomtools/getfile v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

@bloomtools/getfile

This tool takes a file as its argument and returns its absolute path.

If the file does not exist, it returns the absolute path of the most recently modified file of the same extension.

✨ Requirements

  1. Node >= 18.x
  2. Git Bash (Windows users)

✨ Usage

npx @bloomtools/getfile index.html
### Looks for an index.html file in the working directory
### If not found looks for the .html file modified most recently

npx @bloomtools/getfile ~/cat.jpg
### Looks for a cat.jpg file in the path provided
### If not found looks for the .jpg file modified most recently
0.0.5

28 days ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

9 months ago

0.0.1

9 months ago