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 of mk-pmb/unwrap-single-prop-js

Account's avatar
My favorite eslint rules.
Account's avatar
(2022 maintenance fork) Light ESLint plugin for JSON validating
Account's avatar
Additional ESLint's rules for Node.js
Account's avatar
Helps me invoke eslint with eslint-formatter-pretty.

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