list-parser

Parse comma and range-delimited lists

npm install list-parser
2 downloads in the last week
4 downloads in the last month

list-parser

Parse comma and range-delimited lists.

Examples

var parse = require('list-parser');

parse('1,2,3');
// => [1,2,3]

parse('1..5');
// => [1,2,3,4,5]

License

MIT

npm loves you