Search results
63 packages found
path.extname implementation adapted to also include multiple dots extensions.
remark-lint rule to warn when the file’s extension violates the given style
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
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
mime type to extension and the reverse map
Return a regular expression to capture a filename extension.
Return a regular expression to capture a Windows filename extension.
Return a regular expression to capture a POSIX filename extension.
Return a filename extension.
Get the file extension and MIME type from a file
Return a regular expression to split a POSIX filename.
Return a regular expression to split a Windows filename.
Return a regular expression to split a filename.
A metalsmith plugin that adds file path values to metadata
Change the file extension of a path
mimetypes, mimeheads and mimenotes from xdg/shared-mime-info
Give it a list of files, receive an object keyed by file extension
Rename files with pathmap. Think of it like `sprintf` for paths.