TarekRaafat/autoComplete.js

Simple autocomplete pure vanilla Javascript library.

JavaScript

4,035

1,018 commits

updated Jun 30, 2026

See the code

README

autoComplete.js ✨

License GitHub package.json version npm 100% Javascript Zero Dependencies Minified Size Yes Maintained npm Open Source Love



autoComplete.js Design



Simple autocomplete pure vanilla Javascript library. 🚀 Live Demo v10

autoComplete.js is a simple, pure vanilla Javascript library progressively designed for speed, high versatility, and seamless integration with a wide range of projects & systems. (Made for a better developer experience)

Features

  • Pure Vanilla Javascript
  • Zero Dependencies
  • Simple & Lightweight
  • Powerful Search Engine with two different modes
  • Diacritics Support
  • Debounce Support
  • Life Cycle Events
  • Useful plugin API
  • WAI-ARIA Compliant
  • Highly Customizable
  • Works on anything (<input>, <textarea> and contentEditable elements)
  • Well Documented

autoComplete.js Code Example

How It Compares

LibrarySize (gzip)DependenciesFrameworkDrop-in
autoComplete.js~3.7 KB0None (vanilla JS)Yes
Downshift~8 KB5React onlyNo
Tom Select~16 KB1NoneYes
Select2~17 KBjQueryjQueryYes
Choices.js~20 KB0NoneYes
Algolia Autocomplete~25 KB5Any (Preact core)Yes
react-select~27 KB9React onlyYes

autoComplete.js is the smallest full-featured option in the category. See the full comparison for details.

Getting Started

Installation:

CDN

JS

<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/autoComplete.min.js"></script>

CSS

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/css/autoComplete.min.css">

Package Manager

  • npm install (Node Package Manager)
npm i @tarekraafat/autocomplete.js
  • Yarn install (Javascript Package Manager)
yarn add @tarekraafat/autocomplete.js

Documentation:

  • For usage & configuration details check out autoComplete.js docs 📔
  • For upcoming releases and planned improvements check out the Roadmap

Used By

IBM Carbon, The Guardian, Snapcraft (Canonical), Weblate, Blockscout, Eclipse Ditto, and 2,400+ more projects across many industries and ecosystems.


Support

Technical questions and support, please post your question on Stack Overflow using the below tag

General questions or new ideas for autoComplete.js please start a discussion on Github using the below link


Author

Tarek Raafat


Also by the Author

ProjectDescription
Eleva.jsUltra-lightweight (~2.5KB) pure vanilla JavaScript framework with signal-based reactivity
Skalex.jsAI-first, zero-dependency JavaScript database with vector search and encryption

License

Released under the Apache 2.0 license.

© 2026 Tarek Raafat

auto-complete
autocomplete
autocomplete-component
autocomplete-functionality
autocomplete-js
autocompletejs
autocomplete-library
autocomplete-search
autocompletion-engine
autosuggestion
customizable
dropdown
fast
hacktoberfest
javascript
lightweight
search
suggestion-engine
suggestions
vanilla-javascript

TarekRaafat/autoComplete.js

Simple autocomplete pure vanilla Javascript library.

JavaScript

4,035

1,018 commits

updated Jun 30, 2026

See the code

README

autoComplete.js ✨

License GitHub package.json version npm 100% Javascript Zero Dependencies Minified Size Yes Maintained npm Open Source Love



autoComplete.js Design



Simple autocomplete pure vanilla Javascript library. 🚀 Live Demo v10

autoComplete.js is a simple, pure vanilla Javascript library progressively designed for speed, high versatility, and seamless integration with a wide range of projects & systems. (Made for a better developer experience)

Features

  • Pure Vanilla Javascript
  • Zero Dependencies
  • Simple & Lightweight
  • Powerful Search Engine with two different modes
  • Diacritics Support
  • Debounce Support
  • Life Cycle Events
  • Useful plugin API
  • WAI-ARIA Compliant
  • Highly Customizable
  • Works on anything (<input>, <textarea> and contentEditable elements)
  • Well Documented

autoComplete.js Code Example

How It Compares

LibrarySize (gzip)DependenciesFrameworkDrop-in
autoComplete.js~3.7 KB0None (vanilla JS)Yes
Downshift~8 KB5React onlyNo
Tom Select~16 KB1NoneYes
Select2~17 KBjQueryjQueryYes
Choices.js~20 KB0NoneYes
Algolia Autocomplete~25 KB5Any (Preact core)Yes
react-select~27 KB9React onlyYes

autoComplete.js is the smallest full-featured option in the category. See the full comparison for details.

Getting Started

Installation:

CDN

JS

<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/autoComplete.min.js"></script>

CSS

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/css/autoComplete.min.css">

Package Manager

  • npm install (Node Package Manager)
npm i @tarekraafat/autocomplete.js
  • Yarn install (Javascript Package Manager)
yarn add @tarekraafat/autocomplete.js

Documentation:

  • For usage & configuration details check out autoComplete.js docs 📔
  • For upcoming releases and planned improvements check out the Roadmap

Used By

IBM Carbon, The Guardian, Snapcraft (Canonical), Weblate, Blockscout, Eclipse Ditto, and 2,400+ more projects across many industries and ecosystems.


Support

Technical questions and support, please post your question on Stack Overflow using the below tag

General questions or new ideas for autoComplete.js please start a discussion on Github using the below link


Author

Tarek Raafat


Also by the Author

ProjectDescription
Eleva.jsUltra-lightweight (~2.5KB) pure vanilla JavaScript framework with signal-based reactivity
Skalex.jsAI-first, zero-dependency JavaScript database with vector search and encryption

License

Released under the Apache 2.0 license.

© 2026 Tarek Raafat

auto-complete
autocomplete
autocomplete-component
autocomplete-functionality
autocomplete-js
autocompletejs
autocomplete-library
autocomplete-search
autocompletion-engine
autosuggestion
customizable
dropdown
fast
hacktoberfest
javascript
lightweight
search
suggestion-engine
suggestions
vanilla-javascript

Project health

Overall

4.3/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

Latest release

10.2.10 · Apr 12, 2026

Releases this year

1

Significant stargazers

Justin Le

494 followers · starred May 2020

Vladimir Krivosheev

408 followers · starred Jun 2021

Eyüp Can Akman

51 followers · starred Feb 2023

Paulina Kalicka

25 followers · starred Jun 2023