Sign in Sign up
npm

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

Latest release
Feb 27, 2015
Releases
3
Known CVEs
0
First release
Feb 27, 2015
License
MIT
View on Npm
Repository

Source

tunnckocore/get-first-from-filepath
Stars
Forks
Open issues

Security score

No OpenSSF Scorecard available for this repository.

Packages from this repo

No other tracked packages from this repository.

Insights

Activity

Total releases
3
Last 12 months
0
Cadence
~daily
Dependencies
2

Releases per month

last 12 months

Release mix

  • major 1
  • patch 1
3 releases
Dependencies

Depends on

1.0.1

Used by

Nothing tracked depends on this yet.

Releases
Version Released
1.0.1 patch
1.0.0 major
0.0.0 initial