mk-pmb

mk-pmb/unwrap-single-prop-js

If your container element holds just a single property, and its key is named as you suspect it may, return just that property's value. Otherwise, return the original container. Useful for `require(…).default` situations.

JavaScript
0
0
No license
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

mk-pmb's profile
mk-pmb
3 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet