Skip to content

yuvraj108c/get-google-suggestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM Version NPM Downloads Issues

Get Google Suggestions

Get google suggestions for any query via NodeJS.

Install

npm install get-google-suggestions

Import

import getGoogleSuggestions from 'get-google-suggestions'; // ES module

const getGoogleSuggestions = require('get-google-suggestions'); // commonJS

Usage

const suggestions = await getGoogleSuggestions('nodejs');
console.log(suggestions);
// [
//   'nodejs download',
//   'nodejs tutorials',
//   'nodejs framework',
//   'nodejs interview questions github',
//   'nodejs fetch',
//   'nodejs versions',
//   'nodejs documentation',
//   'nodejs express'
// ]

License

MIT