Skip to content

Commit e30a860

Browse files
authored
Add note about bury. Fixes #1
1 parent 827d622 commit e30a860

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
> Safely get a dot-notated path within a nested object, with ability to return a default if the full key path does not exist or the value is undefined
44
5+
56
### Why?
67

78
Smallest possible implementation: only **128 bytes.**
@@ -10,6 +11,7 @@ You could write this yourself, but then you'd have to write [tests].
1011

1112
Supports ES Modules, CommonJS and globals.
1213

14+
1315
### Installation
1416

1517
`npm install --save dlv`
@@ -58,9 +60,15 @@ delve(undefined, 'a.b.c', 'foo') === 'foo';
5860
delve(obj, undefined, 'foo') === 'foo';
5961
```
6062

63+
64+
### Setter Counterpart
65+
66+
[bury](https://github.com/kalmbach/bury) by [@kalmbach](https://github.com/kalmbach) does the opposite of `dlv` and is implemented in a very similar manner.
67+
68+
6169
### License
6270

63-
MIT
71+
[MIT](https://oss.ninja/mit/developit/)
6472

6573

6674
[preact]: https://github.com/developit/preact

0 commit comments

Comments
 (0)