search-objkeys

0.0.4 • Public • Published

-- coding: utf-8, tab-width: 2 --

searchObjKeys

function searchObjKeys(obj, keyWant, maxDepth)
  • obj: The object in which to search for keys
  • keyWant: The name (string) or pattern (regexp) to find in key names.
  • maxDepth: (optional) If a number, limit on how deep to dive. You can use true as a shorthand for Number.POSITIVE_INFINITY. If neither a number nor true, defaultMaxDepth is used.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i search-objkeys

Weekly Downloads

0

Version

0.0.4

License

ISC

Last publish

Collaborators

  • mk-pmb