Autocomplete-ts
Advanced React based autocomplete library. Similar to Google's autocomplete.
Demo GIF

Features
- Lightweight
- Supports React
- Dependency-free
- Support for typescript
- Easy Configurable and use
Core Features
- Quick auto suggestion (under 5 ms for a set of 4000 keywords)
- Adding server generated suggestions (NLP based model etc.)
- WAI ARIA support for accessibility (adding more)
- Strict Type checks and declarations for typescript
Quick Start
Installation
Download and install via npm package manager
npm i autocomplete-ts
// import like thisimport AutoComplete from 'autocomplete-ts'; // or like thisconst autoComplete = ;
const countries = 'Australia' 'China' 'Denmark' 'India' 'Russia' 'South Africa' 'USA'; // render method { return <AutoComplete = />}
Add this css to your project:
Contributing
I've just started out with this library and plan to incrementally add tests and other functionality which the community will ask for. I'll be spending the next few weeks solely to this project to achieve that. Hard Core mode on 🔥
Tests would be based on Jest and can be run with npm run test
To build the library run npm run build
Further
I'll be dedicating a website with an indepth docs and code sandboxes to use this library. In the meantine, feel free to raise bugs or request for feature/enhancements. Please follow proper guidelines to do so. Cheers 😁