Get value from object or array using dot path and wildcard
npm install dot-prop-wildGet value from object or array using dot path and wildcard.
``bash`
npm install dot-prop-wildor
yarn add dot-prop-wild
This library is written using ES6, in order to use it in your project it is advised to transpile it to your environment. The easiest way to do this is by using Babel with @babel/preset-env.
`js
import get from 'dot-prop-wild'
const data = [null, 1, [{ name: 'Sam' }]]
get(data, '..name')
``
MIT