Show HN: Classify-filename – Sort filenames into buckets by rules (github.com)
Small zero-dependency npm package I just published. Takes a list of filenames and a list of rules, gives back named buckets - first match
wins, natural sort within each bucket, optional explain map for debugging. Wrote it because I couldn't find one on npm.
Feedbacks welcome.
2 comments
[ 2.0 ms ] story [ 16.7 ms ] thread