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
Round numbers to the nearest increment with an optional direction
Round a number to a specific number of decimal places: 1.234
→ 1.2