Change the file extension of a path
MIT License
Bot releases are visible (Hide)
Published by sindresorhus 10 months ago
https://github.com/sindresorhus/change-file-extension/compare/v0.1.0...v0.1.1
Published by sindresorhus 12 months ago
🦄
Check if a filepath is a video file
List of compressed file extensions
Replace matching strings and regexes in files
List of archive file extensions
Node's default require extensions as a separate module
Convert a string to a valid safe filename
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
List of text file extensions
Check if a file path is an image
Check if a file path is an archive file
List of Markdown file extensions
Revert the previous `file.path` change
Check if a file path is a binary file
List of binary file extensions
Check if a file path is a text file