0.0.5 • Published 1 year ago

@bloomtools/getfile v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago