object-path-parse

0.1.0 • Public • Published

Build Status Coverage Status NPM version NPM downloads

var parse = require("object-path-parse")
 
console.log(parse("a.b.c"))                // ["a","b","c"]
console.log(parse("a.0.c[0]"))             // ["a","0","c","0"]
console.log(parse("a.b.x['wfw.efef']"))    // ["a","b","x","wfw.efef"]

try it in your browser

API

  • parse(String)

    return the path array

/object-path-parse/

    Package Sidebar

    Install

    npm i object-path-parse

    Weekly Downloads

    2

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • zinkey