Search results
109 packages found
Extract the non-magic parent path from a glob string.
The directory used by npm for globally installed npm modules.
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- absolute
- basename
- dir
- directory
- dirname
- ext
- extension
- extname
- file
- filename
- filepath
- is-absolute
- name
- object
- View more
Convert a string to a valid safe filename
Node.js path.dirname() ponyfill
get the file directory from import.meta.url
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- __dirname
- __filename
- commonjs
- deno
- deno-edition
- deno-entry
- denoland
- directory
- dirname
- ecmascript
- es2022
- es5
- esm
- export-default
- View more
A module to bring back `__dirname` and `__filename` within 2 lines of code.
Return true if a file path contains the given path.
Extract the non-magic parent path from a glob string. This version contains a fix for capacitor.
Useful additions to inbuilt path module {web}.
- extra
- path
- basename
- delimiter
- dirname
- extname
- format
- isAbsolute
- join
- normalize
- parse
- posix
- relative
- resolve
- View more
Useful additions to inbuilt path module.
- extra
- path
- basename
- delimiter
- dirname
- extname
- format
- isAbsolute
- join
- normalize
- parse
- posix
- relative
- resolve
- View more
Return a regular expression to capture a path dirname.
Return a regular expression to split a Windows filename.
Return a regular expression to split a filename.
get import.meta.url for commonJS
dirname for module (import/export)
const __dirname = useDirname(import.meta.url)
Path Modifier is a package utilizing and simplifying the functionalities of Node's built in path module.
A JavaScript extension package for building strong and modern applications.
- wrap
- mixin
- try
- defer
- throttle
- debounce
- queue
- channel
- worker
- parallel
- parallelism
- multithreading
- goroutine
- asyncIterator
- View more