README
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