parse-filepath
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Found 64 results for extname
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Return true if a file path contains the given path.
Get the file extension and MIME type from a file
path.extname implementation adapted to also include multiple dots extensions.
Change the file extension of a path
remark-lint rule to warn when the file’s extension violates the given style
Get the extension of a given filename or path
A JavaScript extension package for building strong and modern applications.
gulp plugin to dynamically rewrite dest extensions based on src extensions.
just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.
Automatically re-write the destination extension of a filepath based on the source extension. e.g `.coffee` => `.js`. This will only rename the ext, no other path parts are modified.
Tiny path.extname method
Get the file extension and MIME type from a file
A file suffix is a substring of basename after the first dot
A metalsmith plugin that adds file path values to metadata
Easily rename files using custom rename functions that are automatically used against any filepaths that match the associated regex or glob patterns.
File extension regex
Basic utility methods for transforming and handling file paths.
Converts source code filenames to PrismJS language aliases.
Regular expression to capture a Windows filename extension.
Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.
Regular expression to capture a filename extension.
Regular expression to capture a POSIX filename extension.
Returns a filename extension.
Convert extname into regexp
Return a regular expression to capture a POSIX filename extension.
Create a regex for matching file extensions.
Return a filename extension.
Return a regular expression to capture a Windows filename extension.
Return a regular expression to capture a filename extension.
Useful additions to inbuilt path module.
mimetypes, mimeheads and mimenotes from xdg/shared-mime-info
Returns consolidated info about a filesystem path without having to call multiple path.* methods.
Useful additions to inbuilt path module {web}.
Extension of the node.js path.extname method.
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
Return a mapped dest for a src a filepath.
Rename files with pathmap. Think of it like `sprintf` for paths.
mime type to extension and the reverse map
Return a regular expression to split a POSIX filename.
Return a regular expression to split a filename.
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
Return a regular expression to split a Windows filename.
Read data files and extend the data from each onto an object or objects named using the given string or [propstring].
Append, prepend, replace or remove basename extensions
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Provides same behaviors of `path.extname` module for all versions fo node.js
Basename without extension
Regular expression to split a filename.
Regular expression to split a POSIX filename.
Get the file extension and MIME type from a file
Regular expression to split a Windows filename.
Path utilities
get file's extname
Give it a list of files, receive an object keyed by file extension
Conversion tool between extname and language type
Receives the extension or mimeType of a filename or path.
Check file extension name
✂️ Remove file extension
Get the language name of a given filename or path
Trim a file extension from a String.
Drops all extnames from file path.
A curried library to check the extension of a file
Filepath rename for next.