sindresorhus / pkg-dir
Find the root directory of a Node.js project or npm package
☆240Updated last year
Alternatives and similar repositories for pkg-dir:
Users that are interested in pkg-dir are comparing it to the libraries listed below
- Find the closest package.json file☆162Updated last year
- Read a package.json file☆165Updated last year
- Read the closest package.json file☆266Updated last year
- Get metadata of a package from the npm registry☆240Updated 7 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 7 months ago
- Get a random temporary file or directory path☆427Updated last year
- Find a file or directory by walking up parent directories☆596Updated 8 months ago
- easily create complex multi-column command-line-interfaces.☆373Updated 3 months ago
- Get the latest version of an npm package☆176Updated last year
- Clean up error stack traces☆339Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- npm's content-addressable cache☆285Updated 3 months ago
- Create an error from multiple errors☆245Updated last year
- Get stdin as a string or buffer☆338Updated last year
- Import a module while bypassing the cache☆284Updated last month
- Finds the common standard cache directory☆158Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Check if a path exists☆150Updated 3 years ago
- Extends minimatch.match() with support for multiple patterns☆300Updated last year
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 5 months ago
- normalizes package metadata, typically found in package.json file.☆198Updated 5 months ago
- Is the given string an acceptable npm package name?☆299Updated 5 months ago
- npm fetcher☆364Updated 2 months ago
- Reliably get the terminal window size☆141Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Parse the things that can be arguments to `npm install`☆128Updated last month
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆353Updated 9 months ago