Search results
64 packages found
path.extname implementation adapted to also include multiple dots extensions.
Receives the extension or mimeType of a filename or path.
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.
A file suffix is a substring of basename after the first dot
Basename without extension
Regular expression to capture a filename extension.
Regular expression to capture a Windows filename extension.
Regular expression to capture a POSIX filename extension.
Regular expression to split a Windows filename.
Regular expression to split a POSIX filename.
Trim a file extension from a String.
Filepath rename for next.
Get the file extension and MIME type from a file
Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.
Regular expression to split a filename.
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
gulp plugin to dynamically rewrite dest extensions based on src extensions.