Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

object-grep

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-grep - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

11

package.json
{
"name": "object-grep",
"version": "1.1.1",
"version": "1.1.2",
"description": "A javascript tool for searching text in keys and content inspired by linux grep",

@@ -20,7 +20,6 @@ "main": "./dist/index.js",

"grep",
"grep-js",
"object-grep",
"find-in-object",
"search-in-object",
"search-by-object"
"search in object",
"find in object",
"javascript",
"node.js"
],

@@ -27,0 +26,0 @@ "author": "Ruslan Krokhin <ulitcos@gmail.com>",

@@ -1,8 +0,22 @@

# object-grep
A javascript tool for searching text in keys and content inspired by linux grep
# [object-grep](https://ulitcos.github.io/object-grep/)
A javascript tool for searching inside objects inspired by linux grep
## install
```
## installation
```bash
npm i object-grep
```
or
```bash
yarn add object-grep
```
## arguments
**targetObject**: [`object` | `array` | `function` | `string`] - a target object where all keys and property contents will be recursively checked for matching searchExpr
**searchExpr**: [`string` | `regexp`] - expression for checking for compliance
**depth limit**?: [`number`] - the number of levels to check. objectGrep works synchronously, which can cause the browser to freeze if the object being checked is very large. The default value is 100
## usage

@@ -53,1 +67,5 @@

## chrome extension
You can also install a [browser extension](https://github.com/ulitcos/object-grep-chrome-extension) and use object-grep on any site without any extra effort

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc