Neurotoxin Powered Marketing

    find-up-cli

    5.0.0 • Public • Published

    find-up-cli

    Find a file by walking up parent directories

    Install

    $ npm install --global find-up-cli
    

    Usage

    $ find-up --help
    
      Usage
        $ find-up <filename>
    
      Options
        --cwd=<directory>  Working directory
    

    Example

    /
    └── Users
        └── sindresorhus
            ├── unicorn.png
            └── foo
                └── bar
                    ├── baz
                    └── faz
    
    $ echo $PWD
    /Users/sindresorhus/foo/bar/faz
    $ find-up unicorn.png
    /Users/sindresorhus/unicorn.png
    

    Related

    Install

    npm i find-up-cli

    DownloadsWeekly Downloads

    250

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    3.43 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus