parse-filepath
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Found 65 results for extname
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Get the file extension and MIME type from a file
Return true if a file path contains the given path.
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.
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.
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.
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
Basic utility methods for transforming and handling file paths.
File extension regex
A metalsmith plugin that adds file path values to metadata
Convert extname into regexp
Regular expression to capture a Windows filename extension.
Returns a filename extension.
Regular expression to capture a POSIX filename extension.
Regular expression to capture a filename extension.
Return a regular expression to capture a filename extension.
Useful additions to inbuilt path module.
Converts source code filenames to PrismJS language aliases.
Return a regular expression to capture a POSIX filename extension.
Return a filename extension.
Create a regex for matching file extensions.
Return a regular expression to capture a Windows filename extension.
Easily rename files using custom rename functions that are automatically used against any filepaths that match the associated regex or glob patterns.
Useful additions to inbuilt path module {web}.
Node-RED nodes for path manipulation using Node.js path module. Includes path-join for combining path segments and path-get for extracting path information.
Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.
Rename files with pathmap. Think of it like `sprintf` for paths.
Extension of the node.js path.extname method.
Returns consolidated info about a filesystem path without having to call multiple path.* methods.
Return a regular expression to split a Windows filename.
Return a regular expression to split a POSIX filename.
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
Read data files and extend the data from each onto an object or objects named using the given string or [propstring].
mimetypes, mimeheads and mimenotes from xdg/shared-mime-info
Append, prepend, replace or remove basename extensions
Return a regular expression to split a filename.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Get the file extension and MIME type from a file
mime type to extension and the reverse map
Give it a list of files, receive an object keyed by file extension
Regular expression to split a filename.
Provides same behaviors of `path.extname` module for all versions fo node.js
Get the language name of a given filename or path
Return a mapped dest for a src a filepath.
✂️ Remove file extension
get file's extname
Conversion tool between extname and language type
Regular expression to split a Windows filename.
Check file extension name
Trim a file extension from a String.
Basename without extension
Regular expression to split a POSIX filename.
Receives the extension or mimeType of a filename or path.
Drops all extnames from file path.
Path utilities
A curried library to check the extension of a file
Filepath rename for next.