1.0.5 • Published 2 years ago

searchscout v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Scout

Fast and easy search engine scrapper powering Meerkt.


  1. Features
  2. How to install
  3. Basic example
  4. Autocomplete example

Features

  • 🚀 Fast and easy to use !
  • ✨ Support for multiples search engines (Google, Bing, DuckDuckGo, Qwant, Yahoo, Wikipedia)
  • ✅ Safety checks and errors handling
  • 🛠 Written in typescript and promise based
  • 🍑 Safe search and adult content filtering support

How to install

>> npm install --save searchscout

>> yarn add searchscout

Basic example

const Scout = require('searchscout');

(async () => {
    // new Scout('query', page (optional), Safesearch (optional), Language (optional))
    const scout = new Scout('node.js documentation', 1, SafeSearch.None, Language["en-US"])

    const results = await scout.search(); // Return an Results types

    console.log(results)
})();

Autocomplete example

const Scout = require('searchscout');

(async () => {
    // new Scout('query')
    const scout = new Scout('node.js documentation')

    const results = await scout.autocomplete() // Return an array of string

    console.log(results)
})();

Support & Pulls request

  • If you have any questions or request, please do so by opening an issue on the github.
  • If you want to contribute or fix issues, please do so by opening a pull request
1.0.5

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago