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

deep-level-backlog-filters

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-level-backlog-filters

Search through object properties recursively at any level.

  • 2.7.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Logo

Deep Searching Filter

Searching by `{ ... filters... }` deep in a nested array or nested object.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Example

About The Project

This project is simple javascript code for deep searching i.e., when input (array or object) is nested then it search for all the elements that matches the keyword and returns filtered data.

Getting Started

Prerequisites

This is basic js code can be implemented in frontend or backend.

Installation

Install NPM packages

 npm i deep-level-backlog-filters

Usage

1- import 'deep-level-backlog-filters'

import deepSearching from 'deep-level-backlog-filters';

2- Input

AttributeDescription
dataarray in which we have to perform searching
filterDatasearch string example {workItem: 'US-', searchingKeyword: '', unScored: true, epicId:10, teamId: 20, status: 'to-do'}
Replacements
{
workItem: 'externalKey',
owner: 'userId',
status: 'progress',
}
let filteredData = deepSearching({workItem: 'US-'}, nestedArray, replacements);

Example

import deepSearching from 'deep-level-backlog-filters';


filteredData = deepSearching( {
    workItem: 'US-',
    searchingKeyword: '',
    unScored: true,
    epicId:10,
    teamId: 20,
    status: 'to-do'
  }, data, {
    workItem: 'externalKey',
    owner: 'userId',
    status: 'progress'
  });

Keywords

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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