1.0.6 • Published 2 years ago

deep-value-find v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

deep-value-find

npm i -s deep-value-find
# or
yarn add deep-value-find
import valueFind from "deep-value-find";

var data = {
  example: {
    key: [
      {
        value: 1
      },
      {
        value: "hello world"
      },
      {
        value: [1, 2, 3, 4]
      }
    ]
  }
};

var test = valueFind(data, 'example.key[].value'); // console: [1, "hello world", [1,2,3,4]]
1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago