npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

filter_data_venky

v1.0.3

Published

var add=require("filter_data_venky")

Downloads

3

Readme

var add=require("filter_data_venky")

var prm1= [ { "id": 1, "title": "iPhone 9", "description": "An apple mobile which is nothing like apple", "price": 549, "discountPercentage": 12.96, "rating": 4.69, "stock": 94, "brand": "Apple", "category": "smartphones", "thumbnail": "https://cdn.dummyjson.com/product-images/1/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/1/1.jpg", "https://cdn.dummyjson.com/product-images/1/2.jpg", "https://cdn.dummyjson.com/product-images/1/3.jpg", "https://cdn.dummyjson.com/product-images/1/4.jpg", "https://cdn.dummyjson.com/product-images/1/thumbnail.jpg" ] }, { "id": 2, "title": "iPhone X", "description": "SIM-Free, Model A19211 6.5-inch Super Retina HD display with OLED technology A12 Bionic chip with ...", "price": 899, "discountPercentage": 17.94, "rating": 4.44, "stock": 34, "brand": "Apple", "category": "smartphones", "thumbnail": "https://cdn.dummyjson.com/product-images/2/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/2/1.jpg", "https://cdn.dummyjson.com/product-images/2/2.jpg", "https://cdn.dummyjson.com/product-images/2/3.jpg", "https://cdn.dummyjson.com/product-images/2/thumbnail.jpg" ] }, { "id": 3, "title": "Samsung Universe 9", "description": "Samsung's new variant which goes beyond Galaxy to the Universe", "price": 1249, "discountPercentage": 15.46, "rating": 4.09, "stock": 36, "brand": "Samsung", "category": "smartphones", "thumbnail": "https://cdn.dummyjson.com/product-images/3/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/3/1.jpg" ] }, { "id": 4, "title": "OPPOF19", "description": "OPPO F19 is officially announced on April 2021.", "price": 280, "discountPercentage": 17.91, "rating": 4.3, "stock": 123, "brand": "OPPO", "category": "smartphones", "thumbnail": "https://cdn.dummyjson.com/product-images/4/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/4/1.jpg", "https://cdn.dummyjson.com/product-images/4/2.jpg", "https://cdn.dummyjson.com/product-images/4/3.jpg", "https://cdn.dummyjson.com/product-images/4/4.jpg", "https://cdn.dummyjson.com/product-images/4/thumbnail.jpg" ] }, { "id": 5, "title": "Huawei P30", "description": "Huawei’s re-badged P30 Pro New Edition was officially unveiled yesterday in Germany and now the device has made its way to the UK.", "price": 499, "discountPercentage": 10.58, "rating": 4.09, "stock": 32, "brand": "Huawei", "category": "smartphones", "thumbnail": "https://cdn.dummyjson.com/product-images/5/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/5/1.jpg", "https://cdn.dummyjson.com/product-images/5/2.jpg", "https://cdn.dummyjson.com/product-images/5/3.jpg" ] }, { "id": 6, "title": "MacBook Pro", "description": "MacBook Pro 2021 with mini-LED display may launch between September, November", "price": 1749, "discountPercentage": 11.02, "rating": 4.57, "stock": 83, "brand": "Apple", "category": "laptops", "thumbnail": "https://cdn.dummyjson.com/product-images/6/thumbnail.png", "images": [ "https://cdn.dummyjson.com/product-images/6/1.png", "https://cdn.dummyjson.com/product-images/6/2.jpg", "https://cdn.dummyjson.com/product-images/6/3.png", "https://cdn.dummyjson.com/product-images/6/4.jpg" ] }, { "id": 7, "title": "Samsung Galaxy Book", "description": "Samsung Galaxy Book S (2020) Laptop With Intel Lakefield Chip, 8GB of RAM Launched", "price": 1499, "discountPercentage": 4.15, "rating": 4.25, "stock": 50, "brand": "Samsung", "category": "laptops", "thumbnail": "https://cdn.dummyjson.com/product-images/7/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/7/1.jpg", "https://cdn.dummyjson.com/product-images/7/2.jpg", "https://cdn.dummyjson.com/product-images/7/3.jpg", "https://cdn.dummyjson.com/product-images/7/thumbnail.jpg" ] }, { "id": 8, "title": "Microsoft Surface Laptop 4", "description": "Style and speed. Stand out on HD video calls backed by Studio Mics. Capture ideas on the vibrant touchscreen.", "price": 1499, "discountPercentage": 10.23, "rating": 4.43, "stock": 68, "brand": "Microsoft Surface", "category": "laptops", "thumbnail": "https://cdn.dummyjson.com/product-images/8/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/8/1.jpg", "https://cdn.dummyjson.com/product-images/8/2.jpg", "https://cdn.dummyjson.com/product-images/8/3.jpg", "https://cdn.dummyjson.com/product-images/8/4.jpg", "https://cdn.dummyjson.com/product-images/8/thumbnail.jpg" ] }, { "id": 9, "title": "Infinix INBOOK", "description": "Infinix Inbook X1 Ci3 10th 8GB 256GB 14 Win10 Grey – 1 Year Warranty", "price": 1099, "discountPercentage": 11.83, "rating": 4.54, "stock": 96, "brand": "Infinix", "category": "laptops", "thumbnail": "https://cdn.dummyjson.com/product-images/9/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/9/1.jpg", "https://cdn.dummyjson.com/product-images/9/2.png", "https://cdn.dummyjson.com/product-images/9/3.png", "https://cdn.dummyjson.com/product-images/9/4.jpg", "https://cdn.dummyjson.com/product-images/9/thumbnail.jpg" ] }, { "id": 10, "title": "HP Pavilion 15-DK1056WM", "description": "HP Pavilion 15-DK1056WM Gaming Laptop 10th Gen Core i5, 8GB, 256GB SSD, GTX 1650 4GB, Windows 10", "price": 1099, "discountPercentage": 6.18, "rating": 4.43, "stock": 89, "brand": "HP Pavilion", "category": "laptops", "thumbnail": "https://cdn.dummyjson.com/product-images/10/thumbnail.jpeg", "images": [ "https://cdn.dummyjson.com/product-images/10/1.jpg", "https://cdn.dummyjson.com/product-images/10/2.jpg", "https://cdn.dummyjson.com/product-images/10/3.jpg", "https://cdn.dummyjson.com/product-images/10/thumbnail.jpeg" ] }, { "id": 11, "title": "perfume Oil", "description": "Mega Discount, Impression of Acqua Di Gio by GiorgioArmani concentrated attar perfume Oil", "price": 13, "discountPercentage": 8.4, "rating": 4.26, "stock": 65, "brand": "Impression of Acqua Di Gio", "category": "fragrances", "thumbnail": "https://cdn.dummyjson.com/product-images/11/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/11/1.jpg", "https://cdn.dummyjson.com/product-images/11/2.jpg", "https://cdn.dummyjson.com/product-images/11/3.jpg", "https://cdn.dummyjson.com/product-images/11/thumbnail.jpg" ] }, { "id": 12, "title": "Brown Perfume", "description": "Royal_Mirage Sport Brown Perfume for Men & Women - 120ml", "price": 40, "discountPercentage": 15.66, "rating": 4, "stock": 52, "brand": "Royal_Mirage", "category": "fragrances", "thumbnail": "https://cdn.dummyjson.com/product-images/12/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/12/1.jpg", "https://cdn.dummyjson.com/product-images/12/2.jpg", "https://cdn.dummyjson.com/product-images/12/3.png", "https://cdn.dummyjson.com/product-images/12/4.jpg", "https://cdn.dummyjson.com/product-images/12/thumbnail.jpg" ] }, { "id": 13, "title": "Fog Scent Xpressio Perfume", "description": "Product details of Best Fog Scent Xpressio Perfume 100ml For Men cool long lasting perfumes for Men", "price": 13, "discountPercentage": 8.14, "rating": 4.59, "stock": 61, "brand": "Fog Scent Xpressio", "category": "fragrances", "thumbnail": "https://cdn.dummyjson.com/product-images/13/thumbnail.webp", "images": [ "https://cdn.dummyjson.com/product-images/13/1.jpg", "https://cdn.dummyjson.com/product-images/13/2.png", "https://cdn.dummyjson.com/product-images/13/3.jpg", "https://cdn.dummyjson.com/product-images/13/4.jpg", "https://cdn.dummyjson.com/product-images/13/thumbnail.webp" ] }, { "id": 14, "title": "Non-Alcoholic Concentrated Perfume Oil", "description": "Original Al Munakh® by Mahal Al Musk | Our Impression of Climate | 6ml Non-Alcoholic Concentrated Perfume Oil", "price": 120, "discountPercentage": 15.6, "rating": 4.21, "stock": 114, "brand": "Al Munakh", "category": "fragrances", "thumbnail": "https://cdn.dummyjson.com/product-images/14/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/14/1.jpg", "https://cdn.dummyjson.com/product-images/14/2.jpg", "https://cdn.dummyjson.com/product-images/14/3.jpg", "https://cdn.dummyjson.com/product-images/14/thumbnail.jpg" ] }, { "id": 15, "title": "Eau De Perfume Spray", "description": "Genuine Al-Rehab spray perfume from UAE/Saudi Arabia/Yemen High Quality", "price": 30, "discountPercentage": 10.99, "rating": 4.7, "stock": 105, "brand": "Lord - Al-Rehab", "category": "fragrances", "thumbnail": "https://cdn.dummyjson.com/product-images/15/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/15/1.jpg", "https://cdn.dummyjson.com/product-images/15/2.jpg", "https://cdn.dummyjson.com/product-images/15/3.jpg", "https://cdn.dummyjson.com/product-images/15/4.jpg", "https://cdn.dummyjson.com/product-images/15/thumbnail.jpg" ] }, { "id": 16, "title": "Hyaluronic Acid Serum", "description": "L'Oréal Paris introduces Hyaluron Expert Replumping Serum formulated with 1.5% Hyaluronic Acid", "price": 19, "discountPercentage": 13.31, "rating": 4.83, "stock": 110, "brand": "L'Oreal Paris", "category": "skincare", "thumbnail": "https://cdn.dummyjson.com/product-images/16/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/16/1.png", "https://cdn.dummyjson.com/product-images/16/2.webp", "https://cdn.dummyjson.com/product-images/16/3.jpg", "https://cdn.dummyjson.com/product-images/16/4.jpg", "https://cdn.dummyjson.com/product-images/16/thumbnail.jpg" ] }, { "id": 17, "title": "Tree Oil 30ml", "description": "Tea tree oil contains a number of compounds, including terpinen-4-ol, that have been shown to kill certain bacteria,", "price": 12, "discountPercentage": 4.09, "rating": 4.52, "stock": 78, "brand": "Hemani Tea", "category": "skincare", "thumbnail": "https://cdn.dummyjson.com/product-images/17/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/17/1.jpg", "https://cdn.dummyjson.com/product-images/17/2.jpg", "https://cdn.dummyjson.com/product-images/17/3.jpg", "https://cdn.dummyjson.com/product-images/17/thumbnail.jpg" ] }, { "id": 18, "title": "Oil Free Moisturizer 100ml", "description": "Dermive Oil Free Moisturizer with SPF 20 is specifically formulated with ceramides, hyaluronic acid & sunscreen.", "price": 40, "discountPercentage": 13.1, "rating": 4.56, "stock": 88, "brand": "Dermive", "category": "skincare", "thumbnail": "https://cdn.dummyjson.com/product-images/18/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/18/1.jpg", "https://cdn.dummyjson.com/product-images/18/2.jpg", "https://cdn.dummyjson.com/product-images/18/3.jpg", "https://cdn.dummyjson.com/product-images/18/4.jpg", "https://cdn.dummyjson.com/product-images/18/thumbnail.jpg" ] }, { "id": 19, "title": "Skin Beauty Serum.", "description": "Product prm4: rorec collagen hyaluronic acid white face serum riceNet weight: 15 m", "price": 46, "discountPercentage": 10.68, "rating": 4.42, "stock": 54, "brand": "ROREC White Rice", "category": "skincare", "thumbnail": "https://cdn.dummyjson.com/product-images/19/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/19/1.jpg", "https://cdn.dummyjson.com/product-images/19/2.jpg", "https://cdn.dummyjson.com/product-images/19/3.png", "https://cdn.dummyjson.com/product-images/19/thumbnail.jpg" ] }, { "id": 20, "title": "Freckle Treatment Cream- 15gm", "description": "Fair & Clear is Pakistan's only pure Freckle cream which helpsfade Freckles, Darkspots and pigments. Mercury level is 0%, so there are no side effects.", "price": 70, "discountPercentage": 16.99, "rating": 4.06, "stock": 140, "brand": "Fair & Clear", "category": "skincare", "thumbnail": "https://cdn.dummyjson.com/product-images/20/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/20/1.jpg", "https://cdn.dummyjson.com/product-images/20/2.jpg", "https://cdn.dummyjson.com/product-images/20/3.jpg", "https://cdn.dummyjson.com/product-images/20/4.jpg", "https://cdn.dummyjson.com/product-images/20/thumbnail.jpg" ] }, { "id": 21, "title": "- Daal Masoor 500 grams", "description": "Fine quality Branded Product Keep in a cool and dry place", "price": 20, "discountPercentage": 4.81, "rating": 4.44, "stock": 133, "brand": "Saaf & Khaas", "category": "groceries", "thumbnail": "https://cdn.dummyjson.com/product-images/21/thumbnail.png", "images": [ "https://cdn.dummyjson.com/product-images/21/1.png", "https://cdn.dummyjson.com/product-images/21/2.jpg", "https://cdn.dummyjson.com/product-images/21/3.jpg" ] }, { "id": 22, "title": "Elbow Macaroni - 400 gm", "description": "Product details of Bake Parlor Big Elbow Macaroni - 400 gm", "price": 14, "discountPercentage": 15.58, "rating": 4.57, "stock": 146, "brand": "Bake Parlor Big", "category": "groceries", "thumbnail": "https://cdn.dummyjson.com/product-images/22/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/22/1.jpg", "https://cdn.dummyjson.com/product-images/22/2.jpg", "https://cdn.dummyjson.com/product-images/22/3.jpg" ] }, { "id": 23, "title": "Orange Essence Food Flavou", "description": "Specifications of Orange Essence Food Flavour For Cakes and Baking Food Item", "price": 14, "discountPercentage": 8.04, "rating": 4.85, "stock": 26, "brand": "Baking Food Items", "category": "groceries", "thumbnail": "https://cdn.dummyjson.com/product-images/23/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/23/1.jpg", "https://cdn.dummyjson.com/product-images/23/2.jpg", "https://cdn.dummyjson.com/product-images/23/3.jpg", "https://cdn.dummyjson.com/product-images/23/4.jpg", "https://cdn.dummyjson.com/product-images/23/thumbnail.jpg" ] }, { "id": 24, "title": "cereals muesli fruit nuts", "description": "original fauji cereal muesli 250gm box pack original fauji cereals muesli fruit nuts flakes breakfast cereal break fast faujicereals cerels cerel foji fouji", "price": 46, "discountPercentage": 16.8, "rating": 4.94, "stock": 113, "brand": "fauji", "category": "groceries", "thumbnail": "https://cdn.dummyjson.com/product-images/24/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/24/1.jpg", "https://cdn.dummyjson.com/product-images/24/2.jpg", "https://cdn.dummyjson.com/product-images/24/3.jpg", "https://cdn.dummyjson.com/product-images/24/4.jpg", "https://cdn.dummyjson.com/product-images/24/thumbnail.jpg" ] }, { "id": 25, "title": "Gulab Powder 50 Gram", "description": "Dry Rose Flower Powder Gulab Powder 50 Gram • Treats Wounds", "price": 70, "discountPercentage": 13.58, "rating": 4.87, "stock": 47, "brand": "Dry Rose", "category": "groceries", "thumbnail": "https://cdn.dummyjson.com/product-images/25/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/25/1.png", "https://cdn.dummyjson.com/product-images/25/2.jpg", "https://cdn.dummyjson.com/product-images/25/3.png", "https://cdn.dummyjson.com/product-images/25/4.jpg", "https://cdn.dummyjson.com/product-images/25/thumbnail.jpg" ] }, { "id": 26, "title": "Plant Hanger For Home", "description": "Boho Decor Plant Hanger For Home Wall Decoration Macrame Wall Hanging Shelf", "price": 41, "discountPercentage": 17.86, "rating": 4.08, "stock": 131, "brand": "Boho Decor", "category": "home-decoration", "thumbnail": "https://cdn.dummyjson.com/product-images/26/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/26/1.jpg", "https://cdn.dummyjson.com/product-images/26/2.jpg", "https://cdn.dummyjson.com/product-images/26/3.jpg", "https://cdn.dummyjson.com/product-images/26/4.jpg", "https://cdn.dummyjson.com/product-images/26/5.jpg", "https://cdn.dummyjson.com/product-images/26/thumbnail.jpg" ] }, { "id": 27, "title": "Flying Wooden Bird", "description": "Package Include 6 Birds with Adhesive Tape Shape: 3D Shaped Wooden Birds Material: Wooden MDF, Laminated 3.5mm", "price": 51, "discountPercentage": 15.58, "rating": 4.41, "stock": 17, "brand": "Flying Wooden", "category": "home-decoration", "thumbnail": "https://cdn.dummyjson.com/product-images/27/thumbnail.webp", "images": [ "https://cdn.dummyjson.com/product-images/27/1.jpg", "https://cdn.dummyjson.com/product-images/27/2.jpg", "https://cdn.dummyjson.com/product-images/27/3.jpg", "https://cdn.dummyjson.com/product-images/27/4.jpg", "https://cdn.dummyjson.com/product-images/27/thumbnail.webp" ] }, { "id": 28, "title": "3D Embellishment Art Lamp", "description": "3D led lamp sticker Wall sticker 3d wall art light on/off button cell operated (included)", "price": 20, "discountPercentage": 16.49, "rating": 4.82, "stock": 54, "brand": "LED Lights", "category": "home-decoration", "thumbnail": "https://cdn.dummyjson.com/product-images/28/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/28/1.jpg", "https://cdn.dummyjson.com/product-images/28/2.jpg", "https://cdn.dummyjson.com/product-images/28/3.png", "https://cdn.dummyjson.com/product-images/28/4.jpg", "https://cdn.dummyjson.com/product-images/28/thumbnail.jpg" ] }, { "id": 29, "title": "Handcraft Chinese style", "description": "Handcraft Chinese style art luxury palace hotel villa mansion home decor ceramic vase with brass fruit plate", "price": 60, "discountPercentage": 15.34, "rating": 4.44, "stock": 7, "brand": "luxury palace", "category": "home-decoration", "thumbnail": "https://cdn.dummyjson.com/product-images/29/thumbnail.webp", "images": [ "https://cdn.dummyjson.com/product-images/29/1.jpg", "https://cdn.dummyjson.com/product-images/29/2.jpg", "https://cdn.dummyjson.com/product-images/29/3.webp", "https://cdn.dummyjson.com/product-images/29/4.webp", "https://cdn.dummyjson.com/product-images/29/thumbnail.webp" ] }, { "id": 30, "title": "Key Holder", "description": "Attractive DesignMetallic materialFour key hooksReliable & DurablePremium Quality", "price": 30, "discountPercentage": 2.92, "rating": 4.92, "stock": 54, "brand": "Golden", "category": "home-decoration", "thumbnail": "https://cdn.dummyjson.com/product-images/30/thumbnail.jpg", "images": [ "https://cdn.dummyjson.com/product-images/30/1.jpg", "https://cdn.dummyjson.com/product-images/30/2.jpg", "https://cdn.dummyjson.com/product-images/30/3.jpg", "https://cdn.dummyjson.filter_data_venkycom/product-images/30/thumbnail.jpg" ] } ] var placeholder1='iphone' var placeholder2='Apple' var prm3=placeholder2 var prm2=placeholder1 var prm4='brand' var prm5='title'

console.log(add.FilterTwo(prm1,prm2,prm3,prm4,prm5));

console.log(add.FilterOne(prm1,prm2,prm5));

console.log(add.FilterAnyOne(prm1,prm2,prm4,prm5));