filename2prism
Converts source code filenames to PrismJS language aliases.
Converts source code filenames to PrismJS language aliases.
Return a mapped dest for a src a filepath.
Extension of the node.js path.extname method.
Get the language name of a given filename or path
Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.
Convert extname into regexp
get file's extname
Easily rename files using custom rename functions that are automatically used against any filepaths that match the associated regex or glob patterns.
Regular expression to split a filename.
Regular expression to split a POSIX filename.
Regular expression to split a Windows filename.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
✂️ Remove file extension
Append, prepend, replace or remove basename extensions
Get the file extension and MIME type from a file
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
Parse an url. Made for stattic tool.
Drops all extnames from file path.
Basename without extension
Read data files and extend the data from each onto an object or objects named using the given string or [propstring].