Numerous Philanthropic Misanthropes

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

    1.1.0 • Public • Published

    sugiero

    Get search suggestions from a partial search term.

    Installation

    Using npm:

    npm i sugiero

    Using yarn:

    yarn add sugiero

    Usage

    Using CommonJS

    const { getSuggestions } = require('sugiero');

    Using imports

    import { getSuggestions } from 'sugiero';

    Then

    const suggestions = await getSuggestions('hotels');
    
    // suggestions will be an array of {term, type} objects

    Documentation

    See DOCS

    Install

    npm i sugiero

    DownloadsWeekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • alrico88