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
- Get metadata of a package from the npm registry☆240Updated 8 months ago
- Read the closest package.json file☆266Updated last year
- Read a package.json file☆165Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 7 months ago
- Find a file or directory by walking up parent directories☆598Updated 8 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 5 months ago
- Extends minimatch.match() with support for multiple patterns☆301Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Finds the common standard cache directory☆158Updated last year
- Is the given string an acceptable npm package name?☆299Updated 5 months ago
- Get the latest version of an npm package☆176Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Clean up error stack traces☆339Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Import a module while bypassing the cache☆284Updated last month
- Copy files☆428Updated 7 months ago
- npm fetcher☆365Updated 3 months ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Get a random temporary file or directory path☆427Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Import a module lazily☆248Updated 2 years ago
- npm's content-addressable cache☆285Updated 3 months ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Show a message to your users to upgrade Node instead of a stacktrace☆241Updated last year
- Get callsites from the V8 stack trace API☆263Updated 8 months ago
- Get stdin as a string or buffer☆338Updated last year
- Write a package.json file☆88Updated 7 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆354Updated 9 months ago