Socket
Socket
Sign inDemoInstall

onedionys-input-autocomplete

Package Overview
Dependencies
132
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    onedionys-input-autocomplete

One Dionys (Input Autocomplete) - Functions to provide recommendations or auto-complete user input in forms.


Version published
Weekly downloads
7
decreased by-36.36%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Welcome to One Dionys - Input Autocomplete! 👋

Functions to provide recommendations or auto-complete user input in forms. 💖

💾 Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

🎯 How To Use

Example Syntax
const Autocomplete = require('./src/autocomplete');

// Example usage
const data = ['apple', 'banana', 'orange', 'pineapple', 'grape'];
const autocomplete = new Autocomplete(data);

// Searching for items
const result = autocomplete.search('a');
console.log(result); // Output: ['apple', 'banana', 'orange', 'grape']
Explanation
  • This package provides a simple autocomplete functionality for input fields. It takes an array of data as input and returns matching items based on the query string provided.
Return Value
  • The search method of the Autocomplete class returns an array containing the items that match the query string provided. If no match is found, it returns an empty array.

📆 Release Date

  • v1.0.0 : 08 March 2024
  • v1.0.1 : 11 March 2024
  • v4.0.0 : 11 March 2024
  • v4.0.1 : 14 March 2024
  • v4.0.2 : 18 March 2024
  • v5.0.0 : 31 March 2024

🧑 Author

  • Facebook : Oned Ionys
  • Instagram : @onedionys
  • Twitter : @onedionys
  • LinkedIn : @onedionys

📝 License

  • Copyright © 2024 One Dionys
  • One Dionys - Input Autocomplete is an open source project licensed under the MIT license

☕️ Suppport & Donation

Love One Dionys - Input Autocomplete? Support this project by donating or sharing with others in need.

Made with ❤️ One Dionys

Keywords

FAQs

Last updated on 31 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc