parse-numeric-range

Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers

Browse on unpkg