glob-parent
npmv6.0.2Extract the non-magic parent path from a glob string.
Overview
glob-parent is an npm package that extract the non-magic parent path from a glob string. The latest version is 6.0.2, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need extract the non-magic parent path from a glob string and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (ISC).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of glob-parent.
Dependencies
Runtime (1)
Dev (5)
Used by
Popular packages that depend on glob-parent.
Alternatives to glob-parent
Find the root directory of a Node.js project or npm package
Find a file or directory by walking up parent directories
A tiny (183B to 210B) and fast utility to ascend parent directories
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Get paths for storing things like data, config, cache, etc
Resolve the path of a module like `require.resolve()` but from the current working directory
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Resolve the path of a module like `require.resolve()` but from a given path
Returns true if a string has an extglob.
Get the PATH environment variable key cross-platform
{G,S}et object values using MongoDB-like path notation
Convert Windows backslash paths to slash paths
Frequently installed together
Runtime typescript and ESM support for Node.js
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Utilities for ESLint plugins.
ECMAScript scope analyzer for ESLint
An incremental implementation of MurmurHash3
utility box for ECMAScript language tools
A query library for ECMAScript AST using a CSS selector like query language.
An Esprima-compatible JavaScript parser built on Acorn
Version history
| Version | Published | License |
|---|---|---|
| 6.0.2latest | 4 years ago | ISC |
| 6.0.1 | 5 years ago | ISC |
| 6.0.0 | 5 years ago | ISC |
| 5.1.2 | 5 years ago | ISC |
| 5.1.1 | 6 years ago | ISC |
| 5.1.0 | 6 years ago | ISC |
| 5.0.0 | 7 years ago | ISC |
| 4.0.0 | 7 years ago | ISC |
| 3.1.0 | 9 years ago | ISC |
| 3.0.1 | 9 years ago | ISC |
| 3.0.0 | 10 years ago | ISC |
| 2.0.0 | 10 years ago | ISC |
| 1.3.0 | 10 years ago | ISC |
| 1.2.0 | 11 years ago | ISC |
| 1.1.0 | 11 years ago | ISC |
| 1.0.0 | 11 years ago | ISC |
Maintainers
Frequently asked questions
How do I install glob-parent?
Run `npm install glob-parent` to add glob-parent to your npm project.
What license is glob-parent released under?
glob-parent is distributed under the ISC license.
How popular is glob-parent?
glob-parent has approximately 0 downloads per week and 1 known dependent packages.