A minimal, zero-dependency autocomplete implementation for your web projects.
By nature, completo
is unstyled (headless), and it's up to you to style it.
This project is still young and not yet ready for prime time.
Option A: use npm
npm install @destacks/completo
Option B: use degit
Needs npm
locally installed.
npx degit destacks/completo
To run the example, you need to serve a JSON file as pseudo-API
- if installed via
npm
:cd node_modules/@destacks/completo/example/
- if installed via
degit
:cd example/
npm install
npm run json-server
Open the index.html
in your example
folder in a browser (go in your browser of choice and navigate to index.html
in the example
folder and open it).
Some people have some HTML serving functionality built-in in their editor or IDE.
For example if you use Visual Studio Code
, you could use Live Server
to serve the index.html
in the example
folder.