JSPM

dot-prop-wild

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q38509F
  • License MIT

Get value from object or array using dot path and wildcard

Package Exports

  • dot-prop-wild
  • dot-prop-wild/dist/browser/cjs/index.js
  • dot-prop-wild/dist/browser/es/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dot-prop-wild) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Dot-prop-wild

Get value from object or array using dot path and wildcard.

Installation

npm install dot-prop-wild
# or
yarn add dot-prop-wild

Usage

import get from 'dot-prop-wild'

const data = [null, 1, [{ name: 'Sam' }]]

get(data, '*.*.name')

License

MIT