list-parser

Parse comma and range-delimited lists

list-parser

Parse comma and range-delimited lists.

var parse = require('list-parser');
 
parse('1,2,3');
// => [1,2,3] 
 
parse('1..5');
// => [1,2,3,4,5] 

License

MIT