nembel / apps / jsogrep
app name
JS: obj grep
command
/jsogrep
description
Add a grep function to all JavaScript objects.

For use in a JS console. Recursively search for functions/objects/variables; and value of vars. See source link for details.

EXAMPLES:
• someObj.grep('myVar');
• window.grep(/myFunc/i, {depth:2});

2nd function arg is an optional settings object:
• depth: 5 // recursion level
• dom: true // search dom
• keys: true // search obj keys

TIP: window.grep to search globals. May be slow; consider `depth` setting.

RELATED: /js, /jq, /jsopr, /lsjs, /lsjsf

SOURCE: https://github.com/begriffs/objgrep#readme
how to use this app

Option 1: Click the "try it now button" above.

Option 2: Go to nembel.com and type /jsogrep

Option 3: Install this bookmarklet: /jsogrep

Option 4: Install the Nembel toolbar bookmarklet to instantly access hundreds of tools like this on any web page.

about nembel web apps

Nembel web applications are online tools, utilities, and search shortcuts. Each one can be used from the home page, the toolbar, or saved as separate bookmarklets. Our instant online apps can be used without logging in or signing in. No account, no signup, and no registration is required or necessary.

Many can be used directly and instantly on the Nembel home page.

Visit the home page and type keywords to see relevant tools, or browse the list at nembel.com/apps/