LuanRT/google-this ? reverse-engineered prompt

Reverse engineered prompt

Build me a small JavaScript library that can search Google and return clean results I can use in code.

I want a simple search() function that gives back organic results with title, description, URL, and any useful extra info like whether something is sponsored, plus a knowledge panel when Google shows one. It should also support image search and reverse image search, since that seems to be part of the project.

Make it easy to use from Node with a straightforward import and a few options like page number, safe search, and extra search parameters. Please include a couple of working examples and basic tests so I can see how it behaves. If you need current details about Google result pages or other docs, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab