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

google-image-sr

v1.0.0

Published

Simple & beginner friendly google image scraper.

Downloads

2,581

Readme

Options

  • "Include" Only filter out results from the specified domain.
  • "safe" Only get safe results in return.
  • "userAgent" The user agent to use while making calls.

🔗 Prerequisites

  • NodeJS 16 +

❔Installation

$ npm install google-image-sr

Import

import search from "google-image-sr";

Example

import search from "google-image-sr";
(async () => {
  const query = "Anime";
  const response = await search(query);
  console.log(response);
})(); // Anonymous arrow function.

Output

[
  {
    title: 'Strongest Anime Characters ...',
    url: 'https://www.fortressofsolitude.co.za/the-15-most-powerful-anime-characters-of-all-time/',
    image: 'https://www.fortressofsolitude.co.za/wp-content/uploads/2022/08/most-powerful-anime-characters.jpeg'
  },
  {
    title: 'The anime Haikyuu!! would have already ...',
    url: 'https://en.datosjam.net.pe/anime/the-anime-haikyuu-would-have-already-confirmed-a-fifth-season/',
    image: 'https://en.datosjam.net.pe/wp-content/uploads/2022/08/The-anime-Haikyuu-would-have-already-confirmed-a-fifth-season.jpg'
  },
  {
    title: 'Death Note (TV Series 2006–2007) - IMDb',
    url: 'https://www.imdb.com/title/tt0877057/',
    image: 'https://m.media-amazon.com/images/M/MV5BNjRiNmNjMmMtN2U2Yi00ODgxLTk3OTMtMmI1MTI1NjYyZTEzXkEyXkFqcGdeQXVyNjAwNDUxODI@._V1_FMjpg_UX1000_.jpg'
  },
  {
    title: 'Top 10 Anime of 2022 - YouTube',
    url: 'https://www.youtube.com/watch?v\\u003dCk4uC3pI7jk',
    image: 'https://i.ytimg.com/vi/Ck4uC3pI7jk/maxresdefault.jpg'
  },
  {
    title: 'How to draw and color anime hair | Art ...',
    url: 'https://www.clipstudio.net/how-to-draw/archives/161517',
    image: 'https://i.ytimg.com/vi/aAl87Vo4rlI/maxresdefault.jpg'
  },
  {
    title: 'NieR: Automata Ver1.1a TV anime to ...',
    url: 'https://www.gematsu.com/2022/12/nier-automata-ver1-1a-tv-anime-to-begin-airing-january-7-2023-promotion-file-008-trailer',
    image: 'https://www.gematsu.com/wp-content/uploads/2022/12/NieR-Automata-PV_12-25-22.jpg'
  },
  {
    title: 'Best Anime of 2019: Top New Anime ...',
    url: 'https://www.thrillist.com/entertainment/nation/best-anime-2019',
    image: 'https://assets3.thrillist.com/v1/image/2855064/828x1500/flatten;scale;webp=auto;jpeg_quality=60.jpg'
  },
  {
    title: 'Anime girl with bear white / black hood ...',
    url: 'https://puzzlefactory.com/manga-anime-puzzle/248565-anime-girl-with-bear-white-black-hood-jigsaw-puzzle',
    image: 'https://assets.puzzlefactory.com/puzzle/248/565/original.jpg'
  },
  {
    title: 'The best anime on Netflix right now ...',
    url: 'https://ew.com/tv/best-anime-on-netflix/',
    image: 'https://imagesvc.meredithcorp.io/v3/mm/image?url=https://static.onecms.io/wp-content/uploads/sites/6/2020/09/18/Blue-Exorcist.jpg'
  },
  {
    title: 'Jujutsu Kaisen (Anime) | Jujutsu Kaisen ...',
    url: 'https://jujutsu-kaisen.fandom.com/wiki/Jujutsu_Kaisen_(Anime)',
    image: 'https://static.wikia.nocookie.net/jujutsu-kaisen/images/8/88/Anime_Key_Visual_2.png/revision/latest?cb=20201212034001'
  },
  {
    title: '30 Best Anime Movies of All Time ...',
    url: 'https://jw-webmagazine.com/best-anime-movies/',
    image: 'https://jw-webmagazine.com/wp-content/uploads/2020/04/chihiro042-1.jpg'
  },
  {
    title: '10 Best Anime of 2023 - Top Anime to Watch',
    url: 'https://www.cosmopolitan.com/entertainment/tv/g42624799/best-anime-2023/',
    image: 'https://hips.hearstapps.com/hmg-prod/images/best-anime-2023-1-1674595243.png?crop=0.505xw:1.00xh;0.460xw,0&resize=1200:*'
  },
  {
    title: "The Best Anime To Watch If You're An ...",
    url: 'https://www.looper.com/622093/the-best-anime-to-watch-if-youre-an-anime-newbie/',
    image: 'https://www.looper.com/img/gallery/the-best-anime-to-watch-if-youre-an-anime-newbie/intro-1633148302.jpg'
  },
  {
    title: "Naruto' Anime Getting Four New Episodes ...",
    url: 'https://hypebeast.com/2023/3/naruto-anime-four-new-episodes-boruto-anime-ending-part-i-info',
    image: 'https://image-cdn.hypb.st/https://hypebeast.com/image/2023/03/naruto-anime-four-new-episodes-boruto-anime-ending-part-i-info-000.jpg?w=960&cbr=1&q=90&fit=max'
  },
  {
    title: 'Netflix Orders Anime Series Based On ...',
    url: 'https://deadline.com/2023/02/netflix-anime-series-japanese-manga-pluto-voice-cast-1235260159/',
    image: 'https://deadline.com/wp-content/uploads/2023/02/Pluto_S1_Sneak-Peek_Thumb_16X9_Publicity.jpeg'
  },
  {
    title: 'Best Anime Just Added to Crunchyroll ...',
    url: 'https://www.denofgeek.com/tv/best-anime-added-to-crunchyroll/',
    image: 'https://www.denofgeek.com/wp-content/uploads/2022/05/Crunchyroll.jpeg?resize=768,432'
  }]
    ... 55 more items

🔗 Links

License

ISC