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