49 packages found
Replaces a file extension with another one.
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- View more
Return a regular expression to split a Windows filename.
Return a regular expression to capture the last part of a POSIX path.
Return a regular expression to capture the last part of a Windows path.
Return a regular expression to split a POSIX filename.
Return a regular expression to split a filename.
Return a regular expression to capture the last part of a path.
Regular expression for matching file names, with or without extension.
remark-lint rule to warn when file names contain consecutive dashes
remark-lint rule to warn when file name start with an article
Replace the basename of a path
Sanitize a file name for cross-platform validity.
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
Get the basename of a JSON filepath without the file extension.
set a new base name (part of name before extension) to a file
Rename files with pathmap. Think of it like `sprintf` for paths.
Because sometimes you want to use twemoji but without all the library bloat
Unsanitize a file name, the inverse of the "sanitize-basename" library.
A command-line utility to get the basename of the current package