Fill in a range of numbers or letters, optionally passing an increment or step
to use, or create a regex-compatible range with options.toRegex
remark-lint rule to warn when headings increment with more than 1 level at a time
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 conve