sindresorhus / pkg-dir
Find the root directory of a Node.js project or npm package
☆242Updated 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☆163Updated last year
- Read a package.json file☆165Updated last year
- Read the closest package.json file☆267Updated last year
- Find a file or directory by walking up parent directories☆605Updated last month
- Get metadata of a package from the npm registry☆241Updated 9 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 9 months ago
- Extends minimatch.match() with support for multiple patterns☆303Updated last year
- Finds the common standard cache directory☆158Updated 3 weeks ago
- Is the given string an acceptable npm package name?☆300Updated 3 weeks ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Import a module while bypassing the cache☆285Updated 3 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
- Convert a value to an array☆129Updated 3 years ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆336Updated 3 weeks ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- npm fetcher☆369Updated 2 weeks ago
- easily create complex multi-column command-line-interfaces.☆374Updated 3 weeks ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆355Updated 10 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆469Updated last week
- Clean up error stack traces☆340Updated 2 years ago
- Parse the things that can be arguments to `npm install`☆130Updated 3 months ago
- HTTP status utility☆278Updated 2 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- Write a package.json file☆88Updated 9 months ago
- Properly hijack require☆402Updated last month
- Detect the indentation of code☆196Updated last year
- Copy files☆428Updated 9 months ago
- npm's content-addressable cache☆287Updated 3 weeks ago