GitShow/developit/dlv
developit

dlv

Safe deep property access in 120 bytes. x = dlv(obj, 'a.b.x')

by developit
dlvjavascriptkeyobject
Star on GitHubForkWebsitenpm

JavaScript

1.3k stars38 forks9 contributorsQuiet · 5y agoSince 20161.1.3

Meet the team

See all 9 on GitHub →
developit
developit35 contributions
greenkeeper[bot]Bot
greenkeeper[bot]5 contributions
kalmbach
kalmbach3 contributions
billneff79
billneff792 contributions
tusbar
tusbar1 contribution
k1r0s
k1r0s1 contribution
Cweili
Cweili1 contribution
RReverser
RReverser1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 5 in progress · Last activity 5y ago
See all on GitHub →
gameroman
feat!: update minimum Node.js versionOpenPR

This is a breaking change Node.js <= 20 is also EOL

gameroman · 1mo ago
vanodevium
Feature request: ability to escape dot in the key stringOpenIssue

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

vanodevium · 1y ago
fnordian
Missing copyright noticeOpenIssue

The project is licensed under MIT, but lacks a copyright notice.

fnordian · 1y ago

Recent fixes

View closed PRs →
xxiaoxiong
fix: handle undefined key without throwingMergedPR

Summary Prevents from throwing when is passed as a key in an array of keys. Changes : Added guard to skip / keys in the path array Why Closes #35

xxiaoxiong · 1mo ago
aarondancer
Square bracket syntax supportMergedPR

I realize that this was already attempted in #24, but with a little extra work I was able to support the edge cases mentioned in the thread. I tested these changes against the tests and it's mostly compatible. The tests failing all seem like uncommon edge-cases, so I've opted not to address them. The following tests from fail: This will also address #27 cc @developit @bwendt-mylo

aarondancer · 2mo ago
paxperscientiam
chore(package): update microbundle to version 0.11.0MergedPR

Closes #25

paxperscientiam · 5y ago
Structured data for AI agents

Repository: developit/dlv. Description: Safe deep property access in 120 bytes. x = dlv(obj, 'a.b.x') Stars: 1250, Forks: 38. Primary language: JavaScript. Languages: JavaScript (100%). Homepage: https://npm.im/dlv Topics: dlv, javascript, key, object. Latest release: 1.1.3 (7y ago). Open PRs: 5, open issues: 5. Last activity: 5y ago. Community health: 28%. Top contributors: developit, greenkeeper[bot], kalmbach, billneff79, tusbar, k1r0s, Cweili, RReverser, lukeed.

·@ofershap

Replace github.com with gitshow.dev