This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

searchscout
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i searchscout

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

618 kB

Total Files

73

Last publish

Collaborators

  • frederic2ec