sindresorhus / pkg-dir
Find the root directory of a Node.js project or npm package
☆235Updated last year
Related projects ⓘ
Alternatives and complementary repositories for pkg-dir
- Find the closest package.json file☆159Updated last year
- Read a package.json file☆166Updated last year
- Read the closest package.json file☆258Updated last year
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- Import a module while bypassing the cache☆284Updated 5 months ago
- Extends minimatch.match() with support for multiple patterns☆300Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 3 months ago
- Get a random temporary file or directory path☆424Updated last year
- Get the gzipped size of a string or buffer☆171Updated 2 years ago
- Is the given string an acceptable npm package name?☆299Updated last month
- Finds the common standard cache directory☆151Updated 8 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated 3 weeks ago
- Copy files☆424Updated 3 months ago
- Check if a path exists☆150Updated 2 years ago
- HTTP status utility☆272Updated 2 weeks ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 3 weeks ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆330Updated last month
- Get the latest version of an npm package☆177Updated 8 months ago
- easily create complex multi-column command-line-interfaces.☆371Updated 3 weeks ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- Import a module lazily☆250Updated 2 years ago
- Reliably get the terminal window size☆140Updated last year
- Get stdin as a string or buffer☆337Updated last year
- Move a file - Even works across devices☆198Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Write a package.json file☆89Updated 3 months ago
- npm fetcher☆356Updated last month