Skip to content

joenix/deep-value-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published