node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

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