Socket
Book a DemoInstallSign in
Socket

google-search-suggestions-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-search-suggestions-api

A lightweight API to fetch Google search suggestions for a given query.

1.0.0
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Google Search Suggestions API

This project provides a simple API to fetch Google search suggestions for a given query. It is designed to be used as an npm package or as a standalone module.

Features

  • Fetches search suggestions from Google.
  • Lightweight and easy to use.
  • Compatible with modern JavaScript (ES Modules).

Prerequisites

  • Node.js: This project was last tested successfully on Node.js version v22.12.0. Please ensure you are using this version or a compatible one.

Installation

To install this package, use npm:

npm install google-search-suggestions-api

Usage

You can use this package in your Node.js project to fetch search suggestions. Below is an example:

import { getSearchSuggestions } from "google-search-suggestions-api";

(async () => {
  const query = "javascript";
  const suggestions = await getSearchSuggestions(query);
  console.log(suggestions);
})();

Output

The getSearchSuggestions function returns an array of search suggestions for the given query.

License

This project is licensed under the ISC License.

Keywords

google

FAQs

Package last updated on 14 Apr 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.