extra credit Search 85,062 technologies ⌘K Download for Mac

walk-up-path

Given a path string, return a generator that walks up the path, emitting each dirname.

npm install walk-up-path
↑↓ move ↵ open