{"id":20529751,"url":"https://github.com/7ph/vue-smart-suggest","last_synced_at":"2025-04-14T05:20:41.419Z","repository":{"id":214868810,"uuid":"736801934","full_name":"7PH/vue-smart-suggest","owner":"7PH","description":"Lightweight (\u003c3KB) vue library offering context-sensitive suggestions in your textareas","archived":false,"fork":false,"pushed_at":"2024-01-12T15:48:49.000Z","size":4949,"stargazers_count":16,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:12:30.712Z","etag":null,"topics":["autocomplete","autosuggest","library","suggestions","textarea-autocomplete","typescript","vue"],"latest_commit_sha":null,"homepage":"https://7ph.github.io/vue-smart-suggest/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7PH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-28T23:19:08.000Z","updated_at":"2025-03-30T02:42:46.000Z","dependencies_parsed_at":"2024-01-08T02:20:52.168Z","dependency_job_id":null,"html_url":"https://github.com/7PH/vue-smart-suggest","commit_stats":null,"previous_names":["7ph/vue-smart-suggest"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fvue-smart-suggest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fvue-smart-suggest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fvue-smart-suggest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fvue-smart-suggest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7PH","download_url":"https://codeload.github.com/7PH/vue-smart-suggest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824983,"owners_count":21167409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","autosuggest","library","suggestions","textarea-autocomplete","typescript","vue"],"created_at":"2024-11-15T23:33:58.710Z","updated_at":"2025-04-14T05:20:41.390Z","avatar_url":"https://github.com/7PH.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./assets/intro.gif\" alt=\"\"\u003e\n\nVue Smart Suggest is a lightweight vue library offering dynamic, context-sensitive suggestions for your text areas. It can be fully customized with custom components and weights less than `3kb` minified and gzipped.\n\nCheck out the [documentation website](https://7ph.github.io/vue-smart-suggest/#/) to try it out 😊\n\n\u003cp align=\"right\"\u003e\n    Like this project? Give a star 🌟\n\u003c/p\u003e\n\n## Getting started\n\n1. Install using a package manager\n\n    ```bash\n    npm i --save vue-smart-suggest\n    # or\n    yarn add vue-smart-suggest\n    ```\n\n2. Import `SmartSuggest` and define suggestion trigger(s)\n\n    ```ts\n    import { SmartSuggest, Trigger } from 'vue-smart-suggest';\n\n    const userMentionTrigger: Trigger = {\n        char: '@',\n        items: [{ value: 'Joe' }, { value: 'Jane' }],\n    };\n    ```\n\n    \\*minimal example, check Trigger type definition to see all options\n\n3. Enhance a text area with `\u003cSmartSuggest /\u003e`\n\n    ```html\n    \u003cSmartSuggest :triggers=\"[userMentionTrigger]\"\u003e\n        \u003ctextarea /\u003e\n    \u003c/SmartSuggest\u003e\n    ```\n\n4. That's it, your textarea will show up suggestions as you type `@`!\n5. Check-out the [customization guide](https://7ph.github.io/vue-smart-suggest/#/customize) or the [API](https://7ph.github.io/vue-smart-suggest/api-docs/) to get the most of this library\n\n## Dependencies\n\n-   This library requires `vue 3.x`.\n-   This library has a single dependency, `textarea-caret` which helps finding the position of the cursor inside a text area.\n\n## Useful links\n\nDocumentation\n\n-   Try out a simple [demo](https://7ph.github.io/vue-smart-suggest/) on the documentation website.\n-   For styling tips, check the [customization guide](https://7ph.github.io/vue-smart-suggest/#/customize).\n-   Check out the [api documentation](https://7ph.github.io/vue-smart-suggest/api-docs/) for reference.\n-   Admire the [\u003e98% coverage report](https://7ph.github.io/vue-smart-suggest/coverage/)\n\n## Contributing\n\nHaving trouble? Found a bug? Want to contribute? Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fvue-smart-suggest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7ph%2Fvue-smart-suggest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fvue-smart-suggest/lists"}