Search results
104 packages found
You can use __dirname and __filename when using ESM
Filepath rename for next.
Regular expression for matching the directory part of a file path.
const __dirname = useDirname(import.meta.url)
A module for using the __dirname with the "module" type for node
[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.
Flatten files to from relative folders. But keep dirname on filename.
Convert a string to a valid safe filename
Use filenames to create folders schema
A node executable to find any filenames recursively with characters that don't belong in URLs
Node.js module that returns the current script dirname. Similar to `__dirname` but also works in ES modules.
Provides same behaviors of `path.dirname` module for all versions fo node.js
boundle router.js files which use react-config-router
boundle router.js files which use react-config-router
Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.
Easily rename files using custom rename functions that are automatically used against any filepaths that match the associated regex or glob patterns.
Convert a string to a valid safe filename on the command-line
Iterate over all parent directories of a given path