developit / developit/dlv

Feature request: ability to escape dot in the key string

Open
#42 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
37
PR merge metrics
No merged PRs in 30d

Description

```js
const obj = {
"a.b": {
"c": 1
}
}
```

There are cases when object keys already have a dot in the name.
It would be nice to be able to escape the dot so that the split will pass through.

So
```js
dlv(obj, 'a\.b.c') === 1 // true
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.