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 9 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 8 months ago
- Find a file or directory by walking up parent directories☆603Updated 3 weeks ago
- Import a module lazily☆248Updated 2 years ago
- Extends minimatch.match() with support for multiple patterns☆301Updated last year
- Finds the common standard cache directory☆158Updated this week
- Import a module while bypassing the cache☆284Updated 2 months ago
- Is the given string an acceptable npm package name?☆300Updated this week
- Parse the things that can be arguments to `npm install`☆130Updated 2 months ago
- Convert Windows backslash paths to slash paths☆332Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- easily create complex multi-column command-line-interfaces.☆374Updated 3 weeks ago
- Get the latest version of an npm package☆176Updated last year
- Get a random temporary file or directory path☆427Updated last year
- Check if a path exists☆151Updated 3 years ago
- Clean up error stack traces☆339Updated 2 years ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- HTTP status utility☆277Updated 2 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆346Updated 5 months ago
- Detect the indentation of code☆196Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- Copy files☆428Updated 8 months ago
- Clear a module from the cache☆182Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆200Updated this week
- when you want to fire an event no matter how a process exits.☆191Updated last year