Search results
105 packages found
Extract the non-magic parent path from a glob string.
Eslint Rules for ensure directory names and file names to be coincident.
[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.
Return true if a file path contains the given path.
Returns an array of NPM directory paths based on the user's platform and environment.
Get dirname of the callsite's module
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
Basic utility methods for transforming and handling file paths.
Recursively read a directory, blazing fast.
Extract the non-magic parent path from a glob string.
It's __dirname but for pkg'd windows applications
Returns a directory name.
Get the absolute path to the yarn global modules directory (globally installed modules).
- bin
- binaries
- binary
- conf
- config
- directories
- directory
- dirname
- global
- installed
- links
- module
- modules
- node
- View more
Get the absolute path to the global yarn config directory.
- bin
- binaries
- binary
- conf
- config
- directories
- directory
- dirname
- global
- installed
- links
- module
- modules
- node
- View more
Returns an object with the (non-glob) base path and the actual pattern.
Regular expression to capture a POSIX path dirname.
Regular expression to capture a path dirname.
Regular expression to capture a Windows path dirname.
Regular expression to split a POSIX filename.