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.
[email protected] low health (49/100) — consider alternatives
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/strip-filename-incrementFirst published · 2017-07-02T06:29:02.413Z
Last updated · 2019-09-04T05:35:05.330Z