Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find a file or directory by walking up parent directories — Zero dependencies
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Read the closest package.json file
Resolve a path by walking parent directories.
resolve package root and package.json paths , work on node 17 too
Find the closest package.json file
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Walk up the tree to resolve `tsconfig.json` configuration objects.
Find a file by walking up parent directories
Human friendly file system utilities for Node.js
- anolilab
- detect-newline
- dir
- directory
- eol
- empty-dir
- ensure
- ensure-file
- ensure-dir
- ensure-link
- ensure-symlink
- file
- files
- filesystem
- View more
Find the root directory of a `git` repository
<h3 align="center"> @merger203/expert-invention </h3>
- interrupts
- colors
- streams
- operating-system
- _.extend
- argparse
- pretty
- ES5
- WeakSet
- last
- find-up
- date
- dataview
- functions
- View more
Find files or directories by walking up parent directories.
Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.
Return the filename or parent directory path of a file or directory by walking up parent directories.
Find a file or directory by walking up parent directories
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.