Parse comma delimited string to array
Usage
$ npm install safe-parse-list
const split = // ['1', '2', '3'] // ['1', '2', '3'] // ['1', '2', '3'] // ['1', '2', '3'] // ['1', '22 22', '3'] // Other delimteters or whitespace chars // ['1', '2', '3']
Why is this module "safe"?
Usually this type of thing is done with a Regular Expression. This has some problems. This package implements the loop trim implementation used to solve most of these ReDOS issues.