Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@t0ri/autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@t0ri/autocomplete

Loosely-coupled autocompletion library

  • 1.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Travis (.com) Coveralls github GitHub last commit

@t0ri/autocomplete hero img

Autocompletion Library

This autocompletion library is loosely-coupled from the DOM and other dependencies, making it a lightweight lightning-fast solution to autocomplete. It can be used in Node or in the browser.

View NPM Package here.

View demo here.

Features

  • utilizes an internal trie to process data
  • options to ignoreCasing and return only a certain amount of strings
  • loosely coupled for functionality server-side and in the browser

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Browser Installation

Install the library into your project.

npm install @t0ri/autocomplete --save

Import the library content into a JS file using ES6 import syntax at the top of your file.

import Autocomplete from './node_modules/@t0ri/autocomplete/esm/autocomplete.js'

To Do

  • autocomplete() stops traversal once length of returned array hits this.autocompleteCount
  • preserve casing for return when this.ignoreCasing is true (rewrite method non-destructively)
  • expand documentation

FAQs

Package last updated on 16 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc