split-symbol-object
At the symbols of any split the path string
Installation
npm install split-symbol-object
API
; /** * @param * @param * @param * @param */
Usage
For example split html tags
; tagName: 'div' id: 'foo' className: 'class1 class2' tagName: 'span' tagName: 'p' className: 'bar'
For example split contacts
); name: 'Woody' age: '5' name: 'Buzz' age: '3'
To ignore the first key
;// ignored 'div' and 'span' id: 'foo' className: 'class1 class2' className: 'bar'
Like 'String.prototype.split()'
; 'div#foo:cla1:cla2' 'span' 'p:bar'
Development
## build
npm run build
## test
npm test
License
MIT