find-up
npmv8.0.0TypeScriptFind a file or directory by walking up parent directories
Overview
find-up is an npm package that find a file or directory by walking up parent directories. The latest version is 8.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need find a file or directory by walking up parent directories and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of find-up.
Dependencies
Runtime (2)
Dev (5)
Used by
Popular packages that depend on find-up.
Alternatives to find-up
Find the root directory of a Node.js project or npm package
A tiny (183B to 210B) and fast utility to ascend parent directories
Get the first path that exists on disk of multiple paths
Extract the non-magic parent path from a glob string.
Resolve the path of a module like `require.resolve()` but from the current working directory
Resolve the path of a module like `require.resolve()` but from a given path
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Get paths for storing things like data, config, cache, etc
Better streaming static file server with Range and conditional-GET support
Get the PATH environment variable key cross-platform
Returns true if a string has an extglob.
Frequently installed together
Runtime typescript and ESM support for Node.js
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Utilities for ESLint plugins.
ECMAScript scope analyzer for ESLint
An incremental implementation of MurmurHash3
utility box for ECMAScript language tools
A query library for ECMAScript AST using a CSS selector like query language.
An Esprima-compatible JavaScript parser built on Acorn
Version history
| Version | Published | License |
|---|---|---|
| 8.0.0latest | 10 months ago | MIT |
| 7.0.0 | 2 years ago | MIT |
| 6.3.0 | 4 years ago | MIT |
| 6.2.0 | 4 years ago | MIT |
| 6.1.0 | 4 years ago | MIT |
| 6.0.0 | 4 years ago | MIT |
| 5.0.0 | 6 years ago | MIT |
| 4.1.0 | 7 years ago | MIT |
| 4.0.0 | 7 years ago | MIT |
| 3.0.0 | 8 years ago | MIT |
| 2.1.0 | 9 years ago | MIT |
| 2.0.0 | 9 years ago | MIT |
| 1.1.2 | 10 years ago | MIT |
| 1.1.1 | 10 years ago | MIT |
| 1.1.0 | 10 years ago | MIT |
| 1.0.0 | 11 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install find-up?
Run `npm install find-up` to add find-up to your npm project.
What license is find-up released under?
find-up is distributed under the MIT license.
How popular is find-up?
find-up has approximately 0 downloads per week and 1 known dependent packages.