Show HN: Classify-filename – Sort filenames into buckets by rules
Category: library
Tags: file-sorting, typescript, utility-library
Score: 5.3/10 (Innovation: 4, Technical: 5, Documentation: 7, Utility: 5)
classify-filename is a lightweight TypeScript library that sorts filenames into buckets based on rules, supporting strings, regex, and custom matchers with priority ordering and natural sort. It solves a common boilerplate problem for file organization tasks in a clean, dependency-free way.
Target audience: backend devs
Repository: https://github.com/ElizabethSobiya/classify-filename · TypeScript · MIT · 3 stars
View on Hacker News