findpropertyvalue
v1.1.0
Published
this is just a simple package for find the value from array or object
Downloads
4
Readme
Find Property Value
A simple npm package that searches for a property in an array or object and returns its value.
Installation
You can install the package using npm:
Usage
API
findPropertyValue(data, property)
This function takes two parameters:
data
(array or object): The array or object to search in.property
(string): The property to find.
If the property is found in the data, the function returns its value. If the property is not found, it returns undefined
.