Search results
63 packages found
Get the extension of a given filename or path
Additional functions for JavaScript to build strong applications.
- wrap
- mixin
- try
- defer
- throttle
- queue
- channel
- worker
- parallelism
- multithreading
- goroutine
- asyncIterator
- compare
- capitalize
- View more
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Return true if a file path contains the given path.
File extension regex
Receives the extension or mimeType of a filename or path.
Basic utility methods for transforming and handling file paths.
A file suffix is a substring of basename after the first dot
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.
Basename without extension
Regular expression to capture a Windows filename extension.
Regular expression to capture a filename extension.
Regular expression to capture a POSIX filename extension.
Regular expression to split a Windows filename.
Regular expression to split a POSIX filename.
Extension of the node.js path.extname method.
Regular expression to split a filename.
Return a mapped dest for a src a filepath.
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.
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.