Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
0xvoidmain committed Dec 2, 2016
1 parent ce09c58 commit 2ea67c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ console.log(get(testObject, 'a.b.c[0].ae'), 10);
### DeepObject.get(object, path)

Where `path` is a string like `foo.bar` or `foo.bar[0][1]` or `[0][1].foo['bar']`.

The function will return an VALUE or undefined

### DeepObject.set(object, path, value)

Where `path` is a string like `foo.bar` or `foo.bar[0][1]` or `[0][1].foo['bar']`.

If you want non-existent paths to be initialize

### DeepObject.parse(path)
Where `path` is a string like `foo.bar` or `foo.bar[0][1]` or `[0][1].foo['bar']`.

The function will return an array of path;

Ex:
Expand Down

0 comments on commit 2ea67c5

Please sign in to comment.