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