Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those increments. Tested on Windows, MacOS, and Linux.
-
Updated
Sep 4, 2019 - JavaScript
Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those increments. Tested on Windows, MacOS, and Linux.
When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This does that for Node.js applications, with automatic platform detection and support for Linux, MacOs, and Windows conventions.
Virtual file class. Extends Node's `fs.Dirent` with methods to simplify path handling. Like Vinyl, but lightweight.
Add a description, image, and links to the dirent topic page so that developers can more easily learn about it.
To associate your repository with the dirent topic, visit your repo's landing page and select "manage topics."