0.0.2 • Published 8 years ago
dotpath-parser v0.0.2
dotpath-parser
Splits a dotted path string into an Array of keys where string keys represent Object properties while integer keys represent Array indices.
Usage
dotpath('this.is.0.an.1.example');
// => [ 'this', 'is', 0, 'an', 1, 'example' ]