find-up-simple
npmv1.0.1TypeScriptFind a file or directory by walking up parent directories — Zero dependencies
Adopt with care
find-up-simple is usable, with caveats. Last published 557 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 557 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 7.1 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding find-up-simple to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >=18
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the find-up-simple README.
import {findUp} from 'find-up-simple';
console.log(await findUp('unicorn.png'));
//=> '/Users/sindresorhus/unicorn.png'find-up-simple vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| find-up-simplethis page | 0 | 2 | MIT | 1 year ago |
| find-up | 0 | 4 | MIT | 1 day ago |
| pkg-dirdeprecated | 0 | 1 | MIT | 1 day ago |
| escalade | 136.6M | 3 | MIT | 1 day ago |
| make-dir | 0 | 2 | MIT | 1 day ago |
| locate-path | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by find-up-simple v1.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (3)
Used by
Popular packages that depend on find-up-simple.
Relationship graph
Dependencies (left) and dependents (right) of find-up-simple.
Frequently installed together
An AST-based pattern checker for JavaScript.
Next generation testing framework powered by Vite
Missing ECMAScript module utils for Node.js
TypeScript definitions for chai
Node.js utilities and TypeScript definitions for `package.json` and `tsconfig.json`
Create sync/async APIs with usable logic
TypeScript definitions for node
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Release history
1 release in the last two years.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.1latest | 1 year ago | 7.1 KB | MIT |
| 1.0.0 | 2 years ago | 7.0 KB | MIT |
Overview
find-up-simple is an npm package that find a file or directory by walking up parent directories — Zero dependencies. It has 2 known dependents in the graph. The latest version is 1.0.1, 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 — Zero dependencies 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).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use find-up-simple?
find-up-simple is usable, with caveats. Last published 557 days ago.
How do I install find-up-simple?
Run `npm install find-up-simple` to add find-up-simple to your npm project.
What license is find-up-simple released under?
find-up-simple is distributed under the MIT license.
How popular is find-up-simple?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on find-up-simple.
Is find-up-simple still maintained?
The most recent release of find-up-simple (v1.0.1) was published 1 year ago.
Does find-up-simple run install scripts?
No. find-up-simple does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.