glob-parent
Extract the non-magic parent path from a glob string.
Extract the non-magic parent path from a glob string.
The directory used by npm for globally installed npm modules.
Node.js path.dirname() ponyfill
Return true if a file path contains the given path.
Convert a string to a valid safe filename
Returns an object with the (non-glob) base path and the actual pattern.
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Returns an array of NPM directory paths based on the user's platform and environment.
Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.
Use file structure to namespace your code.
UMD __dirname and __filename browser shim
Babel plugin that rewrites __dirname and __filename to static values
Get the absolute path to the global yarn config directory.
Get the absolute path to the yarn global modules directory (globally installed modules).
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
Returns consolidated info about a filesystem path without having to call multiple path.* methods.
A metalsmith plugin that adds file path values to metadata
get the file directory from import.meta.url
Node.js module that returns the current script dirname. Similar to `__dirname` but also works in ES modules.