Search results
106 packages found
Extract the non-magic parent path from a glob string.
get the file directory from import.meta.url
The directory used by npm for globally installed npm modules.
Convert a string to a valid safe filename
A tiny isomorphic ESM alternative to Node's __dirname global.
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
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
make ESM a bit more commonJS
Node.js path.dirname() ponyfill
Convert a string to be able to use as a filename with Japanese characters.
Locate files or folders in the directory where Node was started
Locate files or folders in the directory where Node was started
Use file structure to namespace your code.
- action types
- babel
- babel-plugin
- ddd
- domain driven design
- module
- namespace
- namespacing
- redux
- storybook
- test
- type
- filename
- dirname
Useful additions to inbuilt path module.
- extra
- path
- basename
- delimiter
- dirname
- extname
- format
- isAbsolute
- join
- normalize
- parse
- posix
- relative
- resolve
- View more
Useful additions to inbuilt path module {web}.
- extra
- path
- basename
- delimiter
- dirname
- extname
- format
- isAbsolute
- join
- normalize
- parse
- posix
- relative
- resolve
- View more
Extract the non-magic parent path from a glob string. This version contains a fix for capacitor.
Quickly find a file in your Node directory
Convert strings to valid filenames or filepaths
Return a regular expression to capture a POSIX path dirname.