get-first-from-filepath
Get the very first directory name from file path `./foo/bar/baz` -> `foo` or `../a/b/c` -> `../a`. Useful when you just want first real directory from given file path
Activity
- Latest release
- 11y ago
- Total releases
- 3
- Cadence
- ~daily
- Last 12 months
- 0
Details
- License
- MIT
- First release
- Feb 27, 2015
Releases
| Version | Released | |
|---|---|---|
1.0.1
patch
| ||
1.0.0
major
| ||
0.0.0
initial
|