findpropertyvalue

1.1.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i findpropertyvalue

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

1.82 kB

Total Files

4

Last publish

Collaborators

  • edris-poursadeghi